pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Normal case or bad query plan?
Date: Tue, 12 Oct 2004 16:40:54 +0200
Message-ID: <20041012144054.GA8166@uio.no> (raw)
In-Reply-To: <41536BE0000113F4@ims3d.cp.tin.it>
References: <Pine.BSO.4.56.0410111610350.32091@leary.csoft.net>
	<41536BE0000113F4@ims3d.cp.tin.it>

On Tue, Oct 12, 2004 at 04:29:36PM +0200, Gabriele Bartolini wrote:
> FYI I set it to 1000 (the maximum) and I reduced the query's estimated time
> by the 90% (from 40000ms to 4000ms) although much slower than the index
> scan (200ms).

Note that the estimated times are _not_ in ms. They are in multiples of a
disk fetch (?). Thus, you can't compare estimated and real times like that.

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



view thread (9+ messages)  latest in thread

Message-ID: <20041012144054.GA8166@uio.no>
Permalink:  ../20041012144054.GA8166@uio.no/
Also on:    postgresql.org/message-id/20041012144054.GA8166@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
  Subject: Re: Normal case or bad query plan?
  In-Reply-To: <20041012144054.GA8166@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