Autovacuum and Autoanalyze - Mailing list pgsql-hackers

From Simon Riggs
Subject Autovacuum and Autoanalyze
Date
Msg-id 1221471987.3913.1244.camel@ebony.2ndQuadrant
Whole thread Raw
Responses Re: Autovacuum and Autoanalyze  ("Robert Haas" <robertmhaas@gmail.com>)
Re: Autovacuum and Autoanalyze  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Disabling autovacuum can have catastrophic effects, since it disables
the ANALYZing of tables.

Can we have a mode where we disable autoVACUUM yet enable autoANALYZE?

ANALYZE times are fairly bounded because of the way we do sampling.
VACUUM times are not bounded at all, and typically > O(n). So it makes
sense to switch off the VACUUM at certain times, but never good to
switch off ANALYZE.

While we're there, it would be useful if CREATE TABLE AS SELECT was
followed by an automatic ANALYZE. Especially important for temp tables.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Transaction Snapshots and Hot Standby
Next
From: Tatsuo Ishii
Date:
Subject: Re: Common Table Expressions (WITH RECURSIVE) patch