Re: Logging queries using sequential scans

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Logging queries using sequential scans
Дата
Msg-id CAFj8pRAqC+pSBKjWr1z4xgTjYg-E-wcmiFUUnMurPqbuv2ic9g@mail.gmail.com
обсуждение исходный текст
Ответ на Logging queries using sequential scans  (Ivan Voras <ivoras@gmail.com>)
Список pgsql-performance
Hi

2016-08-10 13:13 GMT+02:00 Ivan Voras <ivoras@gmail.com>:
Hello,

Is it possible to log queries using sequential scans? Or possibly every query in a way which allows grepping for those with sequential scans?



you can log execution plan with auto_explain extension

 https://www.postgresql.org/docs/current/static/auto-explain.html

Then you can grep the queries with seq scan

Regards

Pavel

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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Logging queries using sequential scans
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: what's the slowest part in the SQL