Re: cross table indexes or something?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Jeremiah Jahn <jeremiah(at)cs(dot)earlham(dot)edu>, postgres performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: cross table indexes or something?
Date: 2003-12-02 23:04:28
Message-ID: 200312021504.28020.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Neil Conway 2003-12-02 23:37:17 Re: cross table indexes or something?
Previous Message Greg Stark 2003-12-02 22:43:34 Re: A question on the query planner