Re: When does CLUSTER occur? - Mailing list pgsql-general

From Shaun Thomas
Subject Re: When does CLUSTER occur?
Date
Msg-id 50B7A967.2000904@optionshouse.com
Whole thread Raw
In response to Re: When does CLUSTER occur?  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: When does CLUSTER occur?  (Mike Christensen <mike@kitchenpc.com>)
List pgsql-general
On 11/29/2012 12:20 PM, Jeff Janes wrote:

> It would maintain an imperfect clustering, but still much better than
> current behavior.

I thought about that, too. The "imperfect clustering" made me erase
everything I'd written. If the clustering is imperfect, it's not really
clustering. It would mean less random reads to restart the seek chain
though, so it would be a perceptible gain. But it's still not real
clustering until the order is maintained indefinitely.

So far as I know, that simply can't be done with MVCC. Especially on an
insert-only table that's clustered on a column unrelated to insert order.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-444-8534
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: When does CLUSTER occur?
Next
From: Mike Christensen
Date:
Subject: Re: When does CLUSTER occur?