Re: Monitoring Postgres - Get the SQL queries which are sent to postgres

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Monitoring Postgres - Get the SQL queries which are sent to postgres
Дата
Msg-id b42b73150610250711p1b54b042rcefd8904444c91c8@mail.gmail.com
обсуждение исходный текст
Ответ на Monitoring Postgres - Get the SQL queries which are sent to postgres  (Nico Grubert <nicogrubert@gmail.com>)
Список pgsql-general
On 10/25/06, Nico Grubert <nicogrubert@gmail.com> wrote:
> Dear list members,
>
> I have a web application running that is connected to my postgres
> database. This web application builds dynamically SQL queries and
> queries the postgres database. I would like to see these SQL queries.
> How can I do this? Is there a way to monitor the SQL queries which are
> sent to my postgres database?

see logging features in postgresql.conf.  I suggest redirecting stderr
to pg_log and playing with rotation features.

merlin

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: password cookie
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Monitoring Postgres - Get the SQL queries which are sent to postgres