Re: Trace for postgreSQL

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Trace for postgreSQL
Дата
Msg-id 20040217133527.GF6363@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Trace for postgreSQL  (beyaNet Consultancy <beyanet@ntlworld.com>)
Список pgsql-sql
On Tue, Feb 10, 2004 at 12:04:42PM +0000, beyaNet Consultancy wrote:
> Hi,
> can anyone tell me whether there is a trace facility (application) 
> available for postgreSQL version 7.4.1 which will enable me to see all 
> incoming requests being made to the database (ala SQL Server)?

Sure.  Alter your configuration to echo queries, and then watch your
log file.  Alternatively, you can enable the command string
statistics function, and then you get the queries in near to real
time in pg_stat_activity.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The plural of anecdote is not data.    --Roger Brinner


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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: Tip: a function for creating a remote view using dblink
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Unique Constraint with foreign Key