Re: anti-join chosen even when slower than old plan

Поиск
Список
Период
Сортировка
От bricklen
Тема Re: anti-join chosen even when slower than old plan
Дата
Msg-id AANLkTimLhP0Ja_gETnSoW9uuQGS0ETGFZMztpxeaAhkh@mail.gmail.com
обсуждение исходный текст
Ответ на Re: anti-join chosen even when slower than old plan  ("Marc Mamin" <M.Mamin@intershop.de>)
Список pgsql-performance
On Sat, Nov 13, 2010 at 1:32 AM, Marc Mamin <M.Mamin@intershop.de> wrote:
> Hello,
>
> Just a short though:
>
> Is it imaginable to compare the prognoses of the plans with the actual
> results
> and somehow log the worst cases ?
>
> a) to help the DBA locate bad statistics and queries
> b) as additional information source for the planner
>
> This could possibly affect parameters of your formula on the fly.
>
> best regards,
>
> Marc Mamin

The contrib module auto_explain might help out here if you wanted to
roll your own solution for plan comparison.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: temporary tables, indexes, and query plans
Следующее
От: Jon Nelson
Дата:
Сообщение: Re: temporary tables, indexes, and query plans