pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Karl Wright <kwright@metacarta.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance query about large tables, lots of concurrent access
Date: Tue, 19 Jun 2007 11:48:31 -0400
Message-ID: <29698.1182268111@sss.pgh.pa.us> (raw)
In-Reply-To: <4677F617.5000105@metacarta.com>
References: <4676DD57.7070304@metacarta.com>
	<14291.1182221811@sss.pgh.pa.us>
	<4677B831.8060704@metacarta.com>
	<27690.1182263794@sss.pgh.pa.us>
	<4677ECA9.3000402@metacarta.com>
	<28036.1182264975@sss.pgh.pa.us>
	<4677F617.5000105@metacarta.com>

Karl Wright <kwright@metacarta.com> writes:
> I did an ANALYZE on that table and repeated the explain, and got this:
> ...
> ... even more wildly wrong.

Hmm.  You might need to increase the statistics target for your larger
tables.  It's probably not a big deal for queries like this one, but I'm
worried that you may be getting bad plans for complicated joins.

			regards, tom lane



view thread (56+ messages)  latest in thread

Message-ID: <29698.1182268111@sss.pgh.pa.us>
Permalink:  ../29698.1182268111@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29698.1182268111@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, kwright@metacarta.com
  Subject: Re: Performance query about large tables, lots of concurrent access
  In-Reply-To: <29698.1182268111@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