Re: *very* inefficient choice made by the planner (regarding IN(...))

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: *very* inefficient choice made by the planner (regarding IN(...))
Дата
Msg-id 24880.1086880775@sss.pgh.pa.us
обсуждение исходный текст
Ответ на *very* inefficient choice made by the planner (regarding IN(...))  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Ответы Re: *very* inefficient choice made by the planner (regarding IN(...))  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Список pgsql-performance
Frank van Vugt <ftm.van.vugt@foxi.nl> writes:
> What could I do to make it easier to choose a better plan?

Increase sort_mem.  You want it to pick a "hashed subplan", but
it's not doing so because 64000 rows won't fit in the default
sort_mem.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: *very* inefficient choice made by the planner (regarding
Следующее
От: Frank van Vugt
Дата:
Сообщение: Re: *very* inefficient choice made by the planner (regarding IN(...))