Re: Bug in 9.6 tuplesort batch memory growth logic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in 9.6 tuplesort batch memory growth logic
Дата
Msg-id 24873.1473180108@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in 9.6 tuplesort batch memory growth logic  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Bug in 9.6 tuplesort batch memory growth logic  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> On Tue, Sep 6, 2016 at 6:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It doesn't seem to me that this limit has anything to do with anything,
>> and the comment claiming only that it's "noncritical" isn't helping.

> You've not understood the problem at all. The only thing that's
> critical is that the calculation not fail at all, through a later
> availMem that is < 0 (i.e. a LACKMEM() condition).

I see.  The comment could do with a bit of rewriting, perhaps.
        regards, tom lane



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Fun fact about autovacuum and orphan temp tables
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Vacuum: allow usage of more than 1GB of work mem