Re: Any better plan for this query?..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Any better plan for this query?..
Дата
Msg-id 1323.1242055438@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Any better plan for this query?..  (Dimitri <dimitrik.fr@gmail.com>)
Ответы Re: Any better plan for this query?..  (Dimitri <dimitrik.fr@gmail.com>)
Re: Any better plan for this query?..  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-performance
Dimitri <dimitrik.fr@gmail.com> writes:
> Anyone may explain me why analyze target may have so huge negative
> secondary effect?..

If these are simple queries, maybe what you're looking at is the
increase in planning time caused by having to process 10x as much
statistical data.  Cranking statistics_target to the max just because
you can is not necessarily a good strategy.

            regards, tom lane

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

Предыдущее
От: Dimitri
Дата:
Сообщение: Re: Any better plan for this query?..
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: PostgreSQL with PostGIS on embedded hardware