From: Josh Berkus <josh@agliodbs.com>
To: Neil Conway <neilc@samurai.com>
Cc: Jeremiah Jahn <jeremiah@cs.earlham.edu>
Cc: postgres performance <pgsql-performance@postgresql.org>
Subject: Re: cross table indexes or something?
Date: Tue, 2 Dec 2003 15:04:28 -0800
Message-ID: <200312021504.28020.josh@agliodbs.com> (raw)
In-Reply-To: <87llpu288o.fsf@mailbox.samurai.com>
References: <1069877651.22346.13.camel@bluejay.goodinassociates.com>
<200312021127.52839.josh@agliodbs.com>
<87llpu288o.fsf@mailbox.samurai.com>
Neil,
> > 1) to keep it working, you will probably need to run ANALZYE more
> > often than you have been;
>
> I'm not sure why this would be the case -- can you elaborate?
For the more granular stats to be useful, they have to be accurate; otherwise
you'll go back to a nestloop as soon as the query planner encounters a value
that it doens't think is in the table at all.
>
> > 4) Currently, pg_dump does *not* back up statistics settings.
>
> Yes, it does.
Oh, good. Was this a 7.4 improvement? I missed that in the changelogs ....
--
-Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, neilc@samurai.com, jeremiah@cs.earlham.edu
Subject: Re: cross table indexes or something?
In-Reply-To: <200312021504.28020.josh@agliodbs.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