Re: PostgreSQL 8.4.8 bringing my website down every evening

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.4.8 bringing my website down every evening
Date: 2011-05-26 16:23:34
Message-ID: BANLkTikHg8dJ+T7KS=nqOD4S0BctJtLdOg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 26, 2011 at 10:02 AM, Alexander Farber
<alexander(dot)farber(at)gmail(dot)com> wrote:
> I've switched duration and SQL 'all' logging on,
> but I have hard time to identify which SQL statement
> has had which duration.

You need to log more stuff. Look at the log_line_prefix setting, and
add things like pid, username, database name, etc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2011-05-26 16:27:31 Re: PostgreSQL 8.4.8 bringing my website down every evening
Previous Message Per-Olov Esgard 2011-05-26 16:17:56 Re: Is there any problem with pg_notify and memory consumption?