pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <pg@rbt.ca>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: ken <southerland@samsixedd.com>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Index oddity
Date: Wed, 09 Jun 2004 22:17:57 -0400
Message-ID: <1086833876.2539.156.camel@jester> (raw)
In-Reply-To: <40C7BD2A.70604@familyhealth.com.au>
References: <1086809460.32077.246.camel@pesky>
	<1086811930.2539.90.camel@jester>
	<1086814209.32077.252.camel@pesky>
	<1086814597.2539.92.camel@jester>
	<1086814928.32077.259.camel@pesky>
	<1086816543.2539.98.camel@jester>
	<1086822662.32077.278.camel@pesky>
	<40C7BD2A.70604@familyhealth.com.au>

On Wed, 2004-06-09 at 21:45, Christopher Kings-Lynne wrote:
> > If I take away the diagonalSize condition in my query I find that there
> > are 225 rows that satisfy the other conditions.  155 of these have a

> Maybe you should drop your random_page_cost to something less than 4, 
> eg. 3 or even 2...

The big problem is a very poor estimate (off by a couple orders of
magnitude). I was hoping someone with more knowledge in fixing those
would jump in.





view thread (12+ messages)  latest in thread

Message-ID: <1086833876.2539.156.camel@jester>
Permalink:  ../1086833876.2539.156.camel@jester/
Also on:    postgresql.org/message-id/1086833876.2539.156.camel@jester

 · 

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: pg@rbt.ca, chriskl@familyhealth.com.au, southerland@samsixedd.com
  Subject: Re: Index oddity
  In-Reply-To: <1086833876.2539.156.camel@jester>

* 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