Re: performance of IN (subquery)

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: performance of IN (subquery)
Дата
Msg-id 412F9881.1060404@bigfoot.com
обсуждение исходный текст
Ответ на Re: performance of IN (subquery)  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark wrote:

> Ideally I would want a guarantee that every query would *always* result in the
> same plan. Once I've tested them and approved the plans I want to know that
> only those approved plans will ever run, and I want to be present and be able
> to verify new plans before they go into production.

What you are saying is "never run an ANALYZE" or if you do it you have to re-test
all your plans. "*always*" the same plan is a non sense because the plan depends on the
data distribution, do you test your plans for each given histogram slice ?

> I doubt I'm going to convince anyone today...

For sure not me.


Regards
Gaetano Mendola






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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Deadlocks caused by referential integrity checks
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum start-script