Re: Logging seq scans

From: Richard Huxton <dev(at)archonet(dot)com>
To: Guido Neitzer <guido(dot)neitzer(at)pharmaline(dot)de>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Logging seq scans
Date: 2006-03-07 14:09:06
Message-ID: 440D9402.8020209@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Guido Neitzer wrote:
> Hi.
>
> Is there a way to set up logging in a way that I can see queries which
> trigger seq scans? Or to log queries "taking longer than xx ms"?

The second is straightforward. See the "log_min_duration_statement"
setting in the "logging" section of the manuals.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Downs 2006-03-07 14:38:04 per-statement, after, what's new?
Previous Message Andrei 2006-03-07 13:58:32 real - integer type cast in prepared statements