Re: pg_stat_statements: calls under-estimation propagation

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pg_stat_statements: calls under-estimation propagation
Дата
Msg-id CAM3SWZTB_Puh+ir_3t4L9Vz61qkhp=G9SpAgGBtsyYkPA0pP8Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_stat_statements: calls under-estimation propagation  (pilum.70@uni-muenster.de)
Ответы Re: pg_stat_statements: calls under-estimation propagation  (pilum.70@uni-muenster.de)
Список pgsql-hackers
On Thu, Oct 10, 2013 at 3:11 AM,  <pilum.70@uni-muenster.de> wrote:
> But the drawback of this approach is impossibility to use
> explain analyze without further substitutions.

You can fairly easily disable the swapping of constants with '?'
symbols, so that the query text stored would match the full originally
executed query. Why would you want to, though? There could be many
actual plans whose costs are aggregated as one query. Seeing one of
them is not necessarily useful at all, and could be misleading.


-- 
Peter Geoghegan



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

Предыдущее
От: Sameer Thakur
Дата:
Сообщение: Re: pg_stat_statements: calls under-estimation propagation
Следующее
От: Robert Haas
Дата:
Сообщение: Re: CommitFest progress