Re: Slow Query- Bad Row Estimate - Mailing list pgsql-performance

From Ozer, Pam
Subject Re: Slow Query- Bad Row Estimate
Date
Msg-id 216FFB77CBFAEE4B8EE4DF0A939FF1D101835A@mail-001.corp.automotive.com
Whole thread Raw
In response to Re: Slow Query- Bad Row Estimate  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Slow Query- Bad Row Estimate  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Yes.  The default statistics target was at 1000.  So that would be what the column was using correct?

-----Original Message-----
From: Josh Berkus [mailto:josh@agliodbs.com] 
Sent: Friday, October 29, 2010 2:55 PM
To: Ozer, Pam
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Slow Query- Bad Row Estimate

On 10/29/10 2:47 PM, Ozer, Pam wrote:
> I had just analyzed the dealergroupgeochache table. Wow.  Thank you. That did the trick. Can you give me an
explanationof the default_stats work?  I don't think I completely understand what it means when you set it to 500
insteadof 1000?
 

You're already at 1000?


-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Slow Query- Bad Row Estimate
Next
From: Tom Lane
Date:
Subject: Re: Slow Query- Bad Row Estimate