Re: Correct the documentation for work_mem

Поиск
Список
Период
Сортировка
От Imseih (AWS), Sami
Тема Re: Correct the documentation for work_mem
Дата
Msg-id 8A8E60F6-D4A7-499D-8E4A-3D5C0F1743E1@amazon.com
обсуждение исходный текст
Ответ на Re: Correct the documentation for work_mem  (Gurjeet Singh <gurjeet@singh.im>)
Ответы Re: Correct the documentation for work_mem  ("Imseih (AWS), Sami" <simseih@amazon.com>)
Список pgsql-hackers
> > especially since the next sentence uses "concurrently" to describe the
> > other case.  I think we need a more thorough rewording, perhaps like
> >
> > -       Note that for a complex query, several sort or hash operations might be
> > -       running in parallel; each operation will generally be allowed
> > +       Note that a complex query may include several sort or hash
> > +       operations; each such operation will generally be allowed

> This wording doesn't seem to bring out the fact that there could be
> more than one work_mem consumer running (in-progress) at the same
> time. 

Do you mean, more than one work_mem consumer running at the same
time for a given query? If so, that is precisely the point we need to convey
in the docs.

i.e. if I have 2 sorts in a query that can use up to 4MB each, at some point
in the query execution, I can have 8MB of memory allocated.


Regards,

Sami Imseih
Amazon Web Services (AWS)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Order changes in PG16 since ICU introduction
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Move un-parenthesized syntax docs to "compatibility" for few SQL commands