Re: fate of CLUSTER command ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fate of CLUSTER command ?
Дата
Msg-id 200208050317.g753H3f02537@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fate of CLUSTER command ?  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: fate of CLUSTER command ?
Список 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: HASH: Out of overflow pages. Out of luck
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FUNC_MAX_ARGS benchmarks