Re: clustering without locking - Mailing list pgsql-general

From Tom Lane
Subject Re: clustering without locking
Date
Msg-id 6029.1209739867@sss.pgh.pa.us
Whole thread Raw
In response to Re: clustering without locking  (Scott Ribe <scott_ribe@killerbytes.com>)
Responses Re: clustering without locking  (Scott Ribe <scott_ribe@killerbytes.com>)
List pgsql-general
Scott Ribe <scott_ribe@killerbytes.com> writes:
>> Huh? If I'm understanding you correctly you'll end up with rows in
>> order, but with a really big hole in the middle of the table. I'm not
>> sure if that qualifies as "clusters".

> That's why he said vacuum when done.

Huh?  A plain vacuum wouldn't fix that; a vacuum full would close up the
hole, but (a) it'd not preserve the row ordering, and (b) it'd take an
exclusive lock.

            regards, tom lane

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Autovacuum
Next
From: Andrew Sullivan
Date:
Subject: Re: Swap Space and vm.oom_kill_allocating_task