pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimi Paun <dimi@lattica.com>
To: pgsql-performance@postgresql.org
Subject: What is postmaster doing?
Date: Wed, 20 Oct 2010 14:44:15 -0400
Message-ID: <1287600255.18151.58.camel@dimi.lattica.com> (raw)

Folks,

I am running into a problem with the postmaster: from time to time, it
runs for a long time. E.g., from top:

23425 postgres  20   0 22008  10m  10m R 99.9  0.5  21:45.87 postmaster

I'd like to figure out what it is doing. How can I figure out what
statement causes the problem? 

is there a way I can log all SQL statements to a file, together with the
time it took to execute them?

-- 
Dimi Paun <dimi@lattica.com>
Lattica, Inc.




view thread (13+ messages)  latest in thread

Message-ID: <1287600255.18151.58.camel@dimi.lattica.com>
Permalink:  ../1287600255.18151.58.camel@dimi.lattica.com/
Also on:    postgresql.org/message-id/1287600255.18151.58.camel@dimi.lattica.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dimi@lattica.com
  Subject: Re: What is postmaster doing?
  In-Reply-To: <1287600255.18151.58.camel@dimi.lattica.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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