pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: strange estimate for number of rows
Date: Thu, 13 Nov 2003 16:52:51 -0500
Message-ID: <20031113215251.GL25546@libertyrms.info> (raw)
In-Reply-To: <20031113213703.GJ25546@libertyrms.info>
References: <20031113181415.GB25546@libertyrms.info>
	<5882.1068749786@sss.pgh.pa.us>
	<3FB3DD1E.2000509@libertyrms.info>
	<11160.1068754748@sss.pgh.pa.us>
	<20031113213703.GJ25546@libertyrms.info>

On Thu, Nov 13, 2003 at 04:37:03PM -0500, Andrew Sullivan wrote:
> Actually, this one's on an internal box, and I think 1.5 is too low
> -- it's really just a pair of mirrored SCSI disks on a PCI controller
> in this case.  That does the trick, though, so maybe I'm just being
> too conservantive.

I spoke too soon.  I'd left enable_seqscan=off set.  It doesn't
actually prefer an indexscan until I set the random_page_cost to .5. 
I think that's a little unrealistic ;-)

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (6+ messages)

Message-ID: <20031113215251.GL25546@libertyrms.info>
Permalink:  ../20031113215251.GL25546@libertyrms.info/
Also on:    postgresql.org/message-id/20031113215251.GL25546@libertyrms.info

 · 

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: andrew@libertyrms.info
  Subject: Re: strange estimate for number of rows
  In-Reply-To: <20031113215251.GL25546@libertyrms.info>

* 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