Re: Wierd Explain - Mailing list pgsql-general

From Doug McNaught
Subject Re: Wierd Explain
Date
Msg-id m31yb48xdn.fsf@varsoon.wireboard.com
Whole thread Raw
In response to Re: Wierd Explain  (Varun Kacholia <varunk@cse.iitb.ac.in>)
List pgsql-general
Thomas Beutin <tyrone@laokoon.IN-Berlin.DE> writes:

> Hi,
>
> On Tue, Jun 18, 2002 at 12:33:26PM +0530, Varun Kacholia wrote:
> > hi ,
> >   Many ppl have suggested me vaccum analyze .
> >   But the manuals say me that it is reqd after "major update/deletion".
> >   I have just 'created' the tables and done fresh insertions.
> >   is it still required?
> AFAIK is not.

The 'analyze' part is needed since otherwise there will not be
accurate statistics about the table data, which can lead to bad choice
of query plans.

In 7.1.3 you can't do 'analyze' on its own, so you need to do 'vacuum
analyze'.

-Doug

pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: number of registers of a table
Next
From: Stephane Bortzmeyer
Date:
Subject: Cannot run pgreplicator over SSH [EUreg #12]