Re: Admission Control

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Admission Control
Дата
Msg-id 20100626155929.GC4512@svana.org
обсуждение исходный текст
Ответ на Re: Admission Control  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Admission Control  (Robert Haas <robertmhaas@gmail.com>)
Re: Admission Control  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Sat, Jun 26, 2010 at 11:37:16AM -0400, Robert Haas wrote:
> On Sat, Jun 26, 2010 at 11:03 AM, Martijn van Oosterhout
> > (It doesn't help in situations where you can't accurately predict
> > memory usage, like hash tables.)
>
> Not sure what you mean by this part.  We already predict how much
> memory a hash table will use.

By this I mean where the memory usage of the HashAggregate depends on
how many groups there are, and it's sometimes very difficult to predict
that beforehand. Though maybe that got fixed.

Another issue is cached plans. Say there is increased memory pressure,
at what point do you start replanning existing plans?

While this does have the advantage of being relatively simple to
implement, I think it would be a bitch to tune...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
>                                       - Charles de Gaulle

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Admission Control
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Admission Control