| От | Guillaume Lelarge |
|---|---|
| Тема | Re: logging options... |
| Дата | |
| Msg-id | 48BD8C05.1040008@lelarge.info обсуждение исходный текст |
| Ответ на | logging options... (Jessica Richard <rjessil@yahoo.com>) |
| Список | pgsql-performance |
Jessica Richard a écrit : > for a short test purpose, I would like to see what queries are running > and how long each of them takes.....by reconfiguring postgres.conf on > the server level. > > log_statement = 'all' is giving me the query statements.. but I don't > know where I can turn "timing" on just like what I can run from the > command line "\timing'....to measure how long each of the queries takes > to finish... > Either you configure log_statement to all, ddl or mod and log_duration to on, either you configure log_min_duration_statement to 0. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера