Re: primary/secondary index, difference - Mailing list pgsql-general

From Thalis A. Kalfigopoulos
Subject Re: primary/secondary index, difference
Date
Msg-id Pine.LNX.4.21.0106181107000.19889-100000@aluminum.cs.pitt.edu
Whole thread Raw
In response to Re: primary/secondary index, difference  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: primary/secondary index, difference  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
I was under the impression that primary index is the same as clustered index i.e. the order in the index matches the
physicalorder the records are stored on disk thus making it better when doing sequential accesses.  
I assume that this is exactly the use of the CLUSTER command, to actually make a primary index. T/F?

TIA,
thalis


On Sun, 17 Jun 2001, Peter Eisentraut wrote:

> zilch@home.se writes:
>
> > What is the difference between a primary and a secondary index?
>
> None, neither exists.  All indexes are just indexes.
>
> --
> Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


pgsql-general by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: Can you tell me the time?
Next
From: Tom Lane
Date:
Subject: Re: 7.1.2 query now uses hash-join instead of nested loop