Re: clustered indexes?

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: clustered indexes?
Date: 2002-06-22 08:57:23
Message-ID: Pine.NEB.4.43.0206221754280.1091-100000@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 19 Jun 2002, Varun Kacholia wrote:

> Are clusttered indexes available in PostgreSQL?

No. However, you can achieve a similar effect to clustered indexes by
using the CLUSTER command. (Be careful about your indexes, etc.)

The disadvantage here is that new data doesn't go to the "right
place" in the physical layout of the table. But you can always
re-CLUSTER again.

BTW, clustered indexes would be a *really* cool feature to have in
postgres. I recently saw a query go from 70 seconds down to .6 seconds
when I clustered the table on the particular column I was selecting a
value from.

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Curt Sampson 2002-06-22 09:10:55 Re: large database on postgres
Previous Message Christopher Kings-Lynne 2002-06-22 07:48:23 Re: [GENERAL] Idea for the statistics collector