X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id AE70AD1B566 for ; Wed, 29 Oct 2003 17:25:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 61666-05 for ; Wed, 29 Oct 2003 13:24:35 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 90997D1B559 for ; Wed, 29 Oct 2003 13:24:34 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9THOXit012788; Wed, 29 Oct 2003 12:24:34 -0500 (EST) To: DHS Webmaster Cc: pgsql-admin@postgresql.org Subject: Re: pg_clog & vacuum oddness In-reply-to: <3F9FF092.5849E470@dhs-club.com> References: <20031029110358.548105be.threshar@torgo.978.org> <5274.1067445132@sss.pgh.pa.us> <3F9FF092.5849E470@dhs-club.com> Comments: In-reply-to DHS Webmaster message dated "Wed, 29 Oct 2003 11:53:38 -0500" Date: Wed, 29 Oct 2003 12:24:33 -0500 Message-ID: <12787.1067448273@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/357 X-Sequence-Number: 10918 DHS Webmaster writes: > 1. Should we be doing a periodic vacuum on template1? Yes. > 3. It is safe to delete all the clog files prior to the last restart of > postgres, yes? NO. That WILL destroy your database. Much safer to let VACUUM do it for you. regards, tom lane