Re: Incremental clustering?

From: John Siracusa <siracusa(at)mindspring(dot)com>
To: Postgres Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Incremental clustering?
Date: 2004-01-05 18:54:16
Message-ID: BC1F1D08.71363%siracusa@mindspring.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 1/4/04 6:24 PM, Christopher Browne wrote:
> The cluster operation potentially has to reorder all the tuples, and
> the fact that the table is already _partially_ organized only
> diminishes the potential. If the new data, generally added "at the
> end," has values that are fairly uniformly distributed across the
> index, then the operation really will have to reorder all of the
> tuples...

What about the special case of a table that is clustered on a column and all
subsequent inserts will add rows with ever-increasing values of that column?
This would be the case for creation dates or even a column created from a
sequence. Basically, after clustering, it would be nice if you could tell
the system to "only add to the end" and to "add in clustered order."

Programming for special cases is annoying, but sometimes it really helps.

-John

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Ontko 2004-01-05 19:18:30 Re: Incremental clustering?
Previous Message Bronzetti, Juan Carlos 2004-01-05 18:29:16 Ref: Configuration Start up in SO RedHat