Deferring some AtStart* allocations?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Deferring some AtStart* allocations?
Дата
Msg-id 20140629231536.GG26930@awork2.anarazel.de
обсуждение исходный текст
Ответы Re: Deferring some AtStart* allocations?
Список pgsql-hackers
Hi,

In workloads with mostly simple statements, memory allocations are the
primary bottleneck. Some of the allocations are unlikely to be avoidable
without major work, but others seem superflous in many scenarios.

Why aren't we delaying allocations in e.g. AtStart_Inval(),
AfterTriggerBeginXact() to when the data structures are acutally used?
In most transactions neither will be?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: idle_in_transaction_timeout
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: bad estimation together with large work_mem generates terrible slow hash joins