Re: find query beening executed

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Julius Tuskenis <julius(at)nsoft(dot)lt>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: find query beening executed
Date: 2009-10-22 08:50:26
Message-ID: dcc563d10910220150h24ecc982ye4ca144f82c43486@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Oct 22, 2009 at 2:38 AM, Julius Tuskenis <julius(at)nsoft(dot)lt> wrote:
> Thank you. I'll ask to log long lasting queries, but still - isn't there a
> way to see on what postgres works in real time?

I don't know.

You can adjust it per database btw, so if you have permissions on the
db itself, a simple

alter database smarlowe set log_min_duration_statement=1000;

Pretty sure you have to be a superuser to set that. But no need to
even reload your db.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jaume Sabater 2009-10-22 08:50:47 Re: find query beening executed
Previous Message Julius Tuskenis 2009-10-22 08:38:18 Re: find query beening executed