Re: increasing collapse_limits?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: increasing collapse_limits?
Дата
Msg-id C1156ACD-C74A-4F04-B011-AD374221B14D@gmail.com
обсуждение исходный текст
Ответ на Re: increasing collapse_limits?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: increasing collapse_limits?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Apr 30, 2011, at 7:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> Actually we had to solve a issue with slow SELECT. The problem was in
>> low value of JOIN_COLLAPSE_LIMITS. Can we increase a default of this
>> value. I checked some complex query, and planner needed about 200ms
>> for JOIN_COLLAPSE_LIMIT = 16. So some around 12 can be well.
>
> I'd like to see a rather larger survey of cases before changing that.
> Also, amount of memory consumed is at least as large a concern here
> as runtime.

I seem to remember that I was the last one to suggest raising these limits and someone demonstrated rather convincingly
thatfor certain classes of queries that would cause really big problems. 

...Robert

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: CLUSTER vs toast vacuuming: there's still a problem
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: PostgreSQL Core Team