Re: Analyze and vacuum, they are sort of mandatory.... - Mailing list pgsql-hackers

From Mark Woodward
Subject Re: Analyze and vacuum, they are sort of mandatory....
Date
Msg-id 18470.24.91.171.78.1139756743.squirrel@mail.mohawksoft.com
Whole thread Raw
In response to Re: Analyze and vacuum, they are sort of mandatory....  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Mark Woodward wrote:
>> My question was based on an observation that ANALYZE and VACUUM are
>> nessisary, both for different reasons. The system or tools must be
>> able to detect substantial changes in the database and at least run
>> analyze if failing to do so would cause PostgreSQL to fail badly.
>
> Yes, that is what autovacuum does.  It detects changes in the database
> and runs analyze if failing to do so would cause PostgreSQL to behave
> badly.  I don't know why it's not turned on by default.  You could
> argue about that.  But I don't know what else you are looking for.

If that is the answer, then I agree with you, it should be on by default.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Analyze and vacuum, they are sort of mandatory....
Next
From: "Mark Woodward"
Date:
Subject: Re: SpeedComparison