Re: One-Shot Plans

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: One-Shot Plans
Дата
Msg-id BANLkTiniuV6+KS6RPS+STAn1vLOnG-m-cA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: One-Shot Plans  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: One-Shot Plans
Список pgsql-hackers
On Tue, Jun 14, 2011 at 7:28 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Simon Riggs wrote:
>> Currently, the planner and executor are mostly independent of each
>> other: the planner doesn't really know when the plan will be executed,
>> and the executor doesn't know how recently the plan was made.
>>
>> We can work out the various paths through the traffic cop to see when
>> a plan will be a "one-shot" - planned and then executed immediately,
>> then discarded.
>
> I was also hoping someday allow plans that are to be immediately
> executed to probe the buffer cache to determine how expensive index
> scans would be.

Yes, it opens up many optimizations, both for cache sensitivity and
dynamic data access.

But those are later ideas based on the existence of this first step.

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


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: use less space in xl_xact_commit patch
Следующее
От: Radosław Smogura
Дата:
Сообщение: Crash dumps