Re: cluster index on a table - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: cluster index on a table
Date
Msg-id 4A5F3605020000250002884C@gw.wicourts.gov
Whole thread Raw
In response to Re: cluster index on a table  (Scott Carey <scott@richrelevance.com>)
List pgsql-performance
Scott Carey <scott@richrelevance.com> wrote:
> I could be wrong, but I think MSSQL only keeps the data specified in
> the index in the index, and the remaining columns in the data.

Unless it has changed recently, an MS SQL Server clustered index is
the same as the Sybase implementation: all data for the tuple is
stored in the leaf page of the clustered index.  There is no separate
heap.  The indid in sysindexes is part of the clue -- a table has
either one 0 entry for the heap (if there is no clustered index) or
one 1 entry for the clustered index.  "Normal" indexes have indid of 2
through 254, and indid 255 is reserved for out-of-line storage of text
and image data.

-Kevin

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Incr/Decr Integer
Next
From: Scott Carey
Date:
Subject: Re: cluster index on a table