Re: proposal for smaller indexes on index-ordered tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal for smaller indexes on index-ordered tables
Дата
Msg-id 7020.1214344479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal for smaller indexes on index-ordered tables  ("Jeffrey Baker" <jwbaker@gmail.com>)
Ответы Re: proposal for smaller indexes on index-ordered tables
Список pgsql-hackers
"Jeffrey Baker" <jwbaker@gmail.com> writes:
> For this query, work_mem is 100MB and maintenance_work_mem is 1GB, on a
> system with 8GB of memory.  Notably I just installed a new storage subsystem
> and upgraded to 8.3.1 less than a week ago, so my experience with this
> instance is somewhat limited.  Creating the table in this case takes half an
> hour and then indexing it requires almost an hour.

These numbers seem to me to be pretty strong evidence that
maintenance_work_mem = 1GB is a mistake.  Try it at 100MB and then some
intermediate values.

Now, *why* it is a mistake is interesting to speculate about, but
let's confirm the theory first.
        regards, tom lane


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

Предыдущее
От: "Jeffrey Baker"
Дата:
Сообщение: Re: proposal for smaller indexes on index-ordered tables
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: proposal for smaller indexes on index-ordered tables