Re: bad estimates

From: Ken Geis <kgeis(at)speakeasy(dot)org>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: bad estimates
Date: 2003-08-29 08:17:25
Message-ID: 3F4F0C15.6040802@speakeasy.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Ken Geis wrote:
> When run on 7.3.3, forcing an index scan by setting
> enable_seqscan=false, the query took 55 minutes to run. The index is
> about 660M in size, and the table is 1G. As I mentioned before, with
> table scans enabled, it bombs, running out of temporary space.

Man, I should wait a while before I send mails, because I keep having
more to say!

Some good news here. Doing the same as above on 7.4beta2 took 29
minutes. Now, the 7.3.3 was on reiser and 7.4 on ext2, so take that as
you will. 7.4's index selectivity estimate seems much better; 7.3.3's
anticipated rows was ten times the actual; 7.4's is one half of the actual.

Ken

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-08-29 08:18:24 Re: Hardware recommendations to scale to silly load
Previous Message Christopher Kings-Lynne 2003-08-29 08:15:05 Re: bad estimates