Re: What are the benefits of using a clustered index? - Mailing list pgsql-general

From Simon Riggs
Subject Re: What are the benefits of using a clustered index?
Date
Msg-id 1237564131.3953.433.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: What are the benefits of using a clustered index?  (Scott Ribe <scott_ribe@killerbytes.com>)
Responses Re: What are the benefits of using a clustered index?
Re: What are the benefits of using a clustered index?
List pgsql-general
On Fri, 2009-03-20 at 09:33 -0600, Scott Ribe wrote:
> > Hopefully we regard it as a missing feature rather than as a separate
> > definition. We could cluster the index, we just don't, yet.
>
> Wouldn't this require keeping around multiple versions of index pages for
> MVCC?

No, it wouldn't require that.

Just think one index tuple points to more than one heap row. We would
still need to check visibility on the rows returned to ensure MVCC.

Less index pointers, smaller index.

The trick is: How? But that's a secondary issue to getting it on the
TODO list, which is all I'm suggesting at present.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?
Next
From: Scott Ribe
Date:
Subject: Re: What are the benefits of using a clustered index?