Re: How to list what queries are running in postgres?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to list what queries are running in postgres?
Дата
Msg-id 3246.1088566642@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to list what queries are running in postgres?  (Gaetano Mendola <mendola@bigfoot.com>)
Ответы Re: How to list what queries are running in postgres?  (Gaetano Mendola <mendola@bigfoot.com>)
Re: How to list what queries are running in postgres?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
Gaetano Mendola <mendola@bigfoot.com> writes:
> P.A.M. van Dam wrote:
>> I'm looking for a command or method to find out what queries are
>> currently being serviced by the database.

> select * from pg_stat_activity;

... having first remembered to turn on stats_command_string; and
thou shalt also be superuser.

[ anybody else remember Monty Python's scriptures concerning the
Holy Hand Grenade? ]

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Stopping vacuum
Следующее
От: Tom Lane
Дата:
Сообщение: Re: grant execute on many functions