Re: Feature suggestion : FAST CLUSTER

Поиск
Список
Период
Сортировка
От PFC
Тема Re: Feature suggestion : FAST CLUSTER
Дата
Msg-id op.tsz0z6n2cigqcu@apollo13
обсуждение исходный текст
Ответ на Re: Feature suggestion : FAST CLUSTER  ("Alexander Staubo" <alex@purefiction.net>)
Список pgsql-performance

> How does it know what to cluster by? Does it gather statistics about
> query patterns on which it can decide an optimal clustering, or does
> it merely follow a clustering previously set up by the user?

    Nothing fancy, InnoDB ALWAYS clusters on the primary key, whatever it is.
So, if you can hack your stuff into having a primary key that clusters
nicely, good for you. If not, well...
    So, I used (topic_id, post_id) as the PK, even though it isn't the real
PK (this should be post_id)...

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

Предыдущее
От: "Alexander Staubo"
Дата:
Сообщение: Re: Feature suggestion : FAST CLUSTER
Следующее
От: Chris
Дата:
Сообщение: Re: Postgres Benchmark Results