Re: explain (verbose off, normalized) vs query planid

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: explain (verbose off, normalized) vs query planid
Дата
Msg-id CA+TgmoYzUjf=L39eBU0gzJgsW4VbWJEwHmjNEw5Pmp4GHO15aQ@mail.gmail.com
обсуждение исходный текст
Ответ на explain (verbose off, normalized) vs query planid  (legrand legrand <legrand_legrand@hotmail.com>)
Ответы Re: explain (verbose off, normalized) vs query planid  (legrand legrand <legrand_legrand@hotmail.com>)
Список pgsql-hackers
On Sat, May 12, 2018 at 6:07 PM, legrand legrand
<legrand_legrand@hotmail.com> wrote:
> It seems natural (to me) to calculate a hash value based on the normalized
> plan text
> generated by
>
> explain (costs off, normalized)
> or maybe
> explain (costs off, verbose, normalized)

I would think it would be preferable to do it based on the node tree,
like pg_stat_statements does for query fingerprinting.  But I guess it
might depend on what you want to do with it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Garick Hamlin
Дата:
Сообщение: Re: Allow COPY's 'text' format to output a header
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Allow COPY's 'text' format to output a header