Re: [HACKERS] One I've never seen before: - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] One I've never seen before:
Date
Msg-id 199902071233.HAA08920@candle.pha.pa.us
Whole thread Raw
In response to One I've never seen before:  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] One I've never seen before:
List pgsql-hackers
> 
> ERROR:  RestrictionClauseSelectivity: bad value 163645.593750
> 
> The query is:
> 
> SELECT p.first_name, p.last_name, t.title, t.rundate, t.app_version,
> p.email 
>   FROM sw_password p, tools t 
>  WHERE p.userid = t.userid 
>    AND t.category = 'tools' 
>  ORDER by t.title;
> 
> Something wrong with that taht I'm not seeing? :(  

Rerun vacuum analyze.  Somehow, bad selectivity/disbursion values are
getting into the system tables.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] equal: don't know whether nodes of type 600 are equal
Next
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Problems with >2GB tables on Linux 2.0