Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0G4wSV02939 for ; Tue, 15 Jan 2002 23:58:28 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id g0G4oBP15483 for pgsql-admin@postgresql.org; Tue, 15 Jan 2002 23:50:11 -0500 (EST) (envelope-from news) From: jboes@nexcerpt.com (Jeff Boes) X-Newsgroups: comp.databases.postgresql.admin Subject: VACUUM ANALYZE--how often? Date: 15 Jan 2002 08:15:16 -0800 Organization: http://groups.google.com/ Lines: 11 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200201/97 X-Sequence-Number: 2984 Our database has about 70 tables. Only a half-dozen or so have more than 100K rows, and all of these change (99% inserts, 10K-50K rows) during an average day. VACUUM ANALYZE takes over an hour, and it's edging up by a couple minutes per day. Is there a way to look at the DEBUG stats from the VACUUM command (written to the postmaster log) to determine what the optimum interval would be between VACUUMs? (Perhaps I could do three of the "big" tables on odd-numbered days, and the rest on even-numbered days?)