Common slow query reasons - help with a special log
От | Daniel Cristian Cruz |
---|---|
Тема | Common slow query reasons - help with a special log |
Дата | |
Msg-id | CACffM9E1d9bR=xdWYoAPF2Y2NMpfE4gpRQf6vjV3QXQ5SSSLbw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Common slow query reasons - help with a special log
Re: Common slow query reasons - help with a special log |
Список | pgsql-performance |
Hi all,
I'm trying to figure out some common slow queries running on the server, by analyzing the slow queries log.
I found debug_print_parse, debug_print_rewritten, debug_print_plan, which are too much verbose and logs all queries.
I was thinking in something like a simple explain analyze just for queries logged with log_min_duration_statement with the query too.
Is there a way to configure PostgreSQL to get this kind of information, maybe I'm missing something? Is it too hard to hack into sources and do it by hand? I never touched PostgreSQL sources.
Daniel Cristian Cruz
クルズ クリスチアン ダニエル
I'm thinking to write a paper that needs this information for my postgraduate course. The focus of my work will be the log data, not PostgreSQL itself. If I succeed, maybe it can be a tool to help all of us.
Thank you,
-- Daniel Cristian Cruz
クルズ クリスチアン ダニエル
В списке pgsql-performance по дате отправления: