pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: smiley2211 <smiley2211@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query is taking 5 HOURS to Complete on 8.1 version
Date: Tue, 03 Jul 2007 21:28:48 +0100
Message-ID: <468AB180.9090503@archonet.com> (raw)
In-Reply-To: <11419885.post@talk.nabble.com>
References: <11416966.post@talk.nabble.com>
	<11419885.post@talk.nabble.com>

smiley2211 wrote:
> TOP shows CPU at 100% while executed the EXPLAIN ANALYZE...what does this
> mean?
> 
> 17519 postgres  25   0 3470m  43m  39m R  100  0.3  28:50.53 postmaster 

It means it's busy. Probably sorting/eliminating duplicates (see my 
answer posted just before this one).

Keep an eye on "vmstat" too and see if there's much disk activity.

-- 
   Richard Huxton
   Archonet Ltd



view thread (11+ messages)  latest in thread

Message-ID: <468AB180.9090503@archonet.com>
Permalink:  ../468AB180.9090503@archonet.com/
Also on:    postgresql.org/message-id/468AB180.9090503@archonet.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: dev@archonet.com, smiley2211@yahoo.com
  Subject: Re: Query is taking 5 HOURS to Complete on 8.1 version
  In-Reply-To: <468AB180.9090503@archonet.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