pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Logging query durations into another table in PostgreSQL
2+ messages / 2 participants
[nested] [flat]

* Logging query durations into another table in PostgreSQL 7.4
@ 2003-11-01 07:37 Rajesh Kumar Mallah <mallah@trade-india.com>
  2003-10-31 01:56 ` Re: Logging query durations into another table in PostgreSQL Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Rajesh Kumar Mallah @ 2003-11-01 07:37 UTC (permalink / raw)
  To: pgsql-admin


Hi,

Is it possible to log the statements and durations of executed
queries into a special table for later analysis. Or capturing the
logfile and parsing it the only way? In the case of latter is it
possible to use syslog to pipe the lines through a program
can anyone please share the config if he has done it before


Regds
Mallah.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Logging query durations into another table in PostgreSQL
  2003-11-01 07:37 Logging query durations into another table in PostgreSQL 7.4 Rajesh Kumar Mallah <mallah@trade-india.com>
@ 2003-10-31 01:56 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2003-10-31 01:56 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah@trade-india.com>; +Cc: pgsql-admin

Rajesh Kumar Mallah wrote:
> 
> Hi,
> 
> Is it possible to log the statements and durations of executed
> queries into a special table for later analysis. Or capturing the

No table option.

> logfile and parsing it the only way? In the case of latter is it
> possible to use syslog to pipe the lines through a program
> can anyone please share the config if he has done it before

Sure, you can use syslog.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-11-01 07:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-01 07:37 Logging query durations into another table in PostgreSQL 7.4 Rajesh Kumar Mallah <mallah@trade-india.com>
2003-10-31 01:56 ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox