pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ozer, Pam <pozer@automotive.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow Query- Bad Row Estimate
Date: Fri, 29 Oct 2010 18:03:25 -0400
Message-ID: <10074.1288389805@sss.pgh.pa.us> (raw)
In-Reply-To: <216FFB77CBFAEE4B8EE4DF0A939FF1D101835A@mail-001.corp.automotive.com>
References: <216FFB77CBFAEE4B8EE4DF0A939FF1D1018354@mail-001.corp.automotive.com>
	<4CCB3811.80900@agliodbs.com>
	<216FFB77CBFAEE4B8EE4DF0A939FF1D1018359@mail-001.corp.automotive.com>
	<4CCB42A9.2090008@agliodbs.com>
	<216FFB77CBFAEE4B8EE4DF0A939FF1D101835A@mail-001.corp.automotive.com>

"Ozer, Pam" <pozer@automotive.com> writes:
> Yes.  The default statistics target was at 1000.  So that would be what the column was using correct?

But you evidently didn't have stats.  Perhaps you have autovacuum turned
off?  What PG version is this anyway?

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <10074.1288389805@sss.pgh.pa.us>
Permalink:  ../10074.1288389805@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10074.1288389805@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, pozer@automotive.com, josh@agliodbs.com
  Subject: Re: Slow Query- Bad Row Estimate
  In-Reply-To: <10074.1288389805@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