PostgreSQL uses huge amount of memory

Поиск
Список
Период
Сортировка
От Mauricio Martini
Тема PostgreSQL uses huge amount of memory
Дата
Msg-id MW5PR10MB57391E28809250993B92BB0782B49@MW5PR10MB5739.namprd10.prod.outlook.com
обсуждение исходный текст
Ответы Re: PostgreSQL uses huge amount of memory
Список pgsql-admin

When executing a query containing WITH and more than a thousand UNION ALL, PostgreSQL version 14 or higher uses all server memory until it enters recovery mode. In tests with version 11, this behavior does not occur. shouldn't he respect the work_mem?
*I know I should refactor, but what caught my attention was the fact that a query uses the entire resource without restriction, which does not occur in version 11.4, I did a test in version 15, which also occurs.
Has anything related to memory usage in this sense been changed?


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

Предыдущее
От: Abhishek Singh
Дата:
Сообщение: Re: Replication between two different versions
Следующее
От: Neimar Sierota
Дата:
Сообщение: Re: PostgreSQL uses huge amount of memory