Postgres SQL Monitor tool

Поиск
Список
Период
Сортировка
От Theo Galanakis
Тема Postgres SQL Monitor tool
Дата
Msg-id 82E30406384FFB44AFD1012BAB230B55037D05CE@shiva.au.lpint.net
обсуждение исходный текст
Ответы Re: Postgres SQL Monitor tool  (Lutz Steinborn <l.steinborn@4c-ag.de>)
Список pgsql-admin

Is there a log file, or a method of logging all the SQL statements a postgres server processes. I can look at pg_stat_activity which tells me each postgres process and the current query running, however I wanted to see a log file, similar to SQL Servers Profiler, where I can capture all the SQL being run. I guess I could write some external process to poll the pg_stat_activity and collect current processors and SQL commands being run.

Theo

______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: PostgreSQL performence test tool
Следующее
От: Lutz Steinborn
Дата:
Сообщение: Re: Postgres SQL Monitor tool