Re: Query out of memory

Поиск
Список
Период
Сортировка
От aditya desai
Тема Re: Query out of memory
Дата
Msg-id CAN0SRDEFCMLu6Ue_zR0=okw2GZjCOoWXvdqE0d-idGb8DasWVg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query out of memory  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-performance
Thanks Michael. I will check this further.

On Tue, Oct 19, 2021 at 7:09 PM Michael Lewis <mlewis@entrata.com> wrote:
Check explain plan, change work mem to 100MBs and then check explain plan again. If it changed, then try explain analyze.

Work mem is limit is used per node in the plan, so especially with partitioned tables, that limit is way too high.

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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: Query out of memory
Следующее
От: Mithran Kulasekaran
Дата:
Сообщение: Postgres views cannot use both union and join/where