Re: Any way to see what queries are currently running?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Any way to see what queries are currently running?
Дата
Msg-id 23551.1124166917@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Any way to see what queries are currently running?  (adey <adey11@gmail.com>)
Ответы Re: Any way to see what queries are currently running?  (Chris Hoover <revoohc@gmail.com>)
Список pgsql-admin
adey <adey11@gmail.com> writes:
> You could try the following query after enabling the
> stats_command_string parameter in the postgresql.conf file:-

The pg_stat_activity mechanism *does* have a limit on the query
string length it can display, and if memory serves that limit was
not large in 7.3.* --- I'm thinking 256 bytes.

However, the postmaster log doesn't have any hard limit that I'm
aware of, so it seems like Chris' original approach should work.

            regards, tom lane

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

Предыдущее
От: adey
Дата:
Сообщение: Re: Any way to see what queries are currently running?
Следующее
От: "wisan watcharinporn"
Дата:
Сообщение: table inherit