Re: tuplesort memory usage: grow_memtuples

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: tuplesort memory usage: grow_memtuples
Дата
Msg-id CAEYLb_VHZAm4MB4QjEwGuq9QnmhnGe+4bMN976GZmBTVovS64g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tuplesort memory usage: grow_memtuples  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: tuplesort memory usage: grow_memtuples
Re: tuplesort memory usage: grow_memtuples
Re: tuplesort memory usage: grow_memtuples
Список pgsql-hackers
On 16 October 2012 14:24, Simon Riggs <simon@2ndquadrant.com> wrote:
> If you describe in detail that it is a heuristic and why that is
> proposed over other approaches that should be sufficient for future
> generations to read and understand.

I've done so, in the attached revision. Things have been simplified
somewhat too.

The same basic strategy for sizing the tuplesort memtuples array in
also exists in tuplestore. I wonder if we should repeat this there? I
suppose that that could follow later.

The patch will now been marked "ready for committer". Does this need
doc changes, in light of what is arguably a behavioural difference?
You only mentioned release notes.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: embedded list
Следующее
От: Greg Stark
Дата:
Сообщение: Re: tuplesort memory usage: grow_memtuples