pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Abu Mushayeed <abumushayeed@yahoo.com>
Subject: Re: Performance Query
Date: Fri, 2 Mar 2007 16:52:22 -0800
Message-ID: <200703021652.22785.josh@agliodbs.com> (raw)
In-Reply-To: <906038.13110.qm@web57107.mail.re3.yahoo.com>
References: <906038.13110.qm@web57107.mail.re3.yahoo.com>

Abu,

>   I really do not know how to find out what the query is waiting on,
> unlike oracle db provides some of the information through its dynamic
> performance views.

Yeah, we don't have that yet.

>   Please help in understanding how I can find out what the system is
> waiting for or why is it taking the query so long.

First guess would be I/O bound.  The planner, at least, thinks you're 
inserting 2 million records.  What kind of disk support do you have?


-- 
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco



view thread (3+ messages)  latest in thread

Message-ID: <200703021652.22785.josh@agliodbs.com>
Permalink:  ../200703021652.22785.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200703021652.22785.josh@agliodbs.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: josh@agliodbs.com, abumushayeed@yahoo.com
  Subject: Re: Performance Query
  In-Reply-To: <200703021652.22785.josh@agliodbs.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