Re: how to figure out how long a query takes in the pg log file...

Поиск
Список
Период
Сортировка
От Shoaib Mir
Тема Re: how to figure out how long a query takes in the pg log file...
Дата
Msg-id bf54be870903101630u28d7b5b5oce4f97f532aa648f@mail.gmail.com
обсуждение исходный текст
Ответ на how to figure out how long a query takes in the pg log file...  (Jessica Richard <rjessil@yahoo.com>)
Список pgsql-admin
On Wed, Mar 11, 2009 at 10:24 AM, Jessica Richard <rjessil@yahoo.com> wrote:
I need to identify the slowest queries by analyzing the postgre log file.


I will recommend using log_min_duration for that purpose from postgresql.conf file. Another good project I have used for such purpose in the past is pgFouine --> http://pgfouine.projects.postgresql.org

--
Shoaib Mir
http://shoaibmir.wordpress.com/

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

Предыдущее
От: Jessica Richard
Дата:
Сообщение: how to figure out how long a query takes in the pg log file...
Следующее
От: "Tena Sakai"
Дата:
Сообщение: any way to convert date via libpq?