pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-performance@postgresql.org
Subject: Re: Use my (date) index, darn it!
Date: Mon, 05 Jan 2004 15:27:43 -0500
Message-ID: <m3vfnqdtts.fsf@wolfe.cbbrowne.com> (raw)
References: <m3ekuefinx.fsf@wolfe.cbbrowne.com>
	<BC1F140C.71330%siracusa@mindspring.com>

In the last exciting episode, siracusa@mindspring.com (John Siracusa) wrote:
> What column(s) should I increase?  Do I have to do anything after increasing
> the statistics, or do I just wait for the stats collector to do its thing?

You have to ANALYZE the table again, to force in new statistics.

And if the index in question is on _just_ the date column, then it is
probably only that date column where the "SET STATISTICS" needs to be
increased.
-- 
let name="cbbrowne" and tld="cbbrowne.com" in name ^ "@" ^ tld;;
http://www.ntlug.org/~cbbrowne/sap.html
Faith  is the  quality that  enables you  to eat  blackberry jam  on a
picnic without looking to see whether the seeds move. -- DeMara Cabrera



view thread (7+ messages)

Message-ID: <m3vfnqdtts.fsf@wolfe.cbbrowne.com>
Permalink:  ../m3vfnqdtts.fsf@wolfe.cbbrowne.com/
Also on:    postgresql.org/message-id/m3vfnqdtts.fsf@wolfe.cbbrowne.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: Use my (date) index, darn it!
  In-Reply-To: <m3vfnqdtts.fsf@wolfe.cbbrowne.com>
  References: <m3ekuefinx.fsf@wolfe.cbbrowne.com> <BC1F140C.71330%siracusa@mindspring.com> <m3vfnqdtts.fsf@wolfe.cbbrowne.com>

* 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