From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: fate of CLUSTER command ? |
Date: | 2002-08-05 03:17:03 |
Message-ID: | 200208050317.g753H3f02537@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Christopher Kings-Lynne wrote:
> > Clustering on one index doesn't decrease the performance of the other
> > indexes. Also, only >=7.3 will preserve all indexes during cluster.
>
> Sure it must? Since you are rearranging all on-disk rows to match a
> particular index (say user_id, username) then it will slow down other
> indexes (eg one just on username).
It will slow down other index scans only if there was some clustering on
those indexes before you ran the CLUSTER command.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-05 03:56:25 | Re: FUNC_MAX_ARGS benchmarks |
Previous Message | Tom Lane | 2002-08-05 03:13:14 | Re: HASH: Out of overflow pages. Out of luck |