Re: Performance of CLUSTER

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Performance of CLUSTER
Дата
Msg-id 1339458837.12042.9.camel@sussancws0025
обсуждение исходный текст
Ответ на Re: Performance of CLUSTER  (Shaun Thomas <sthomas@optionshouse.com>)
Список pgsql-performance
On Mon, 2012-06-11 at 08:42 -0500, Shaun Thomas wrote:
> On 06/10/2012 03:20 AM, Mark Thornton wrote:
>
> > 4. 3980922 rows, 1167MB, 276s
> > 5. 31843368 rows, 9709MB, ~ 10 hours
>
> Just judging based on the difference between these two, it would appear
> to be from a lot of temp space thrashing. An order of magnitude more
> rows shouldn't take over 100x longer to cluster, even with GIST. What's
> your maintenance_work_mem setting?

GiST can have a large impact depending on all kinds of factors,
including data distribution.

9.2 contains some important improvements in GiST build times for cases
where the index doesn't fit in memory. Mark, can you please try your
experiments on the 9.2beta and tell us whether that helps you?

Regards,
    Jeff Davis


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: pg_dump and thousands of schemas
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pg_dump and thousands of schemas