pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Nasby <jnasby@pervasive.com>
Cc: Shaun Thomas <sthomas@leapfrogonline.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Confirmation of bad query plan generated by 7.4
Date: Wed, 14 Jun 2006 22:36:55 -0400
Message-ID: <16554.1150339015@sss.pgh.pa.us> (raw)
In-Reply-To: <A22FA1C5-1815-4B31-BB81-061CB6B8FF1D@pervasive.com>
References: <9119.1150222168@sss.pgh.pa.us>
	<448EDFC4.8F27.00A9.0@leapfrogonline.com>
	<20060613211347.GB34196@pervasive.com>
	<10918.1150236282@sss.pgh.pa.us>
	<20060613223950.GK34196@pervasive.com>
	<18667.1150249849@sss.pgh.pa.us>
	<A22FA1C5-1815-4B31-BB81-061CB6B8FF1D@pervasive.com>

Jim Nasby <jnasby@pervasive.com> writes:
> On Jun 13, 2006, at 8:50 PM, Tom Lane wrote:
>> Hmm ... worksforme.  Could you provide a complete test case?

> decibel=# create table date_test(d date not null, i int not null);
> [etc]

Not sure what you are driving at.  The estimates are clearly not
defaults (the default estimate would be 1/3rd of the table, or
about 100mil rows).  Are you expecting them to be the same?  If so why?
The comparison values are slightly different after all.

			regards, tom lane



view thread (19+ messages)  latest in thread

Message-ID: <16554.1150339015@sss.pgh.pa.us>
Permalink:  ../16554.1150339015@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16554.1150339015@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jnasby@pervasive.com, sthomas@leapfrogonline.com
  Subject: Re: Confirmation of bad query plan generated by 7.4
  In-Reply-To: <16554.1150339015@sss.pgh.pa.us>

* 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