Re[2]: Weird indices - Mailing list pgsql-general

From Jean-Christophe Boggio
Subject Re[2]: Weird indices
Date
Msg-id 39202692.20010218152900@thefreecat.org
Whole thread Raw
In response to Re: Weird indices  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-general
Stephan,

Ref : Saturday, February 17, 2001 1:50:32 AM


SS> Do you have a value that is not null that is very common?
SS> It's estimating that there will be 10113 rows that match
SS> nomsession='xxx' which makes a seq scan a much less bad plan.

At first, I thought that couldn't be the case but we happen to have
100000 records where nomsession=''

Just updated them so that their value is null and everything runs
fine. Thanks for your help !

--
Jean-Christophe Boggio
cat@thefreecat.org
Independant Consultant and Developer
Delphi, Linux, Perl, PostgreSQL



pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: troublesome inputs
Next
From: Paul M Foster
Date:
Subject: Dbf to Pg converter