pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Gauri Kanekar <meetgaurikanekar@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance Problem
Date: Tue, 5 Jun 2007 15:16:45 +0200
Message-ID: <20070605131645.GA6051@uio.no> (raw)
In-Reply-To: <7e4ba9550706050253o5d7048c3vbe755eb7fc85d298@mail.gmail.com>
References: <7e4ba9550706050226u7c2aa291he77dbfbeb90ce815@mail.gmail.com>
	<7e4ba9550706050253o5d7048c3vbe755eb7fc85d298@mail.gmail.com>

On Tue, Jun 05, 2007 at 03:23:35PM +0530, Gauri Kanekar wrote:
> Befor doing vaccum full on the database this query use to take less
> than 4min. But now after doing vacumming  reindexing the tables it is
> taking 73mins.

Did you analyze the table recently? Some of the selectivity estimates seem
quite a bit off -- you could try raising the statistics target.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (4+ messages)  latest in thread

Message-ID: <20070605131645.GA6051@uio.no>
Permalink:  ../20070605131645.GA6051@uio.no/
Also on:    postgresql.org/message-id/20070605131645.GA6051@uio.no

 · 

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: sgunderson@bigfoot.com, meetgaurikanekar@gmail.com
  Subject: Re: Performance Problem
  In-Reply-To: <20070605131645.GA6051@uio.no>

* 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