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 2B37BD1CCDB for ; Thu, 29 Jan 2004 10:00:16 +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 43099-03 for ; Thu, 29 Jan 2004 05:59:52 -0400 (AST) Received: from millenium.mst.co.jp (unknown [210.230.185.241]) by svr1.postgresql.org (Postfix) with ESMTP id BD563D1B83D for ; Thu, 29 Jan 2004 05:59:42 -0400 (AST) Received: from mst1x5r347kymb (lc12114 [192.168.1.114]) by millenium.mst.co.jp (8.11.6p2/3.7W) with SMTP id i0T9xiY08528 for ; Thu, 29 Jan 2004 18:59:44 +0900 Message-ID: <000901c3e64e$9611c390$7201a8c0@mst1x5r347kymb> From: "Iain" To: Subject: Routine maintenance - vacuum, analyse and autovacuum Date: Thu, 29 Jan 2004 18:59:28 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C3E69A.057B13D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=HTML_30_40, HTML_FONT_FACE_ODD X-Spam-Level: X-Archive-Number: 200401/264 X-Sequence-Number: 12127 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C3E69A.057B13D0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Hi All, I'm supposed to put together a plan for the routine maintenance of the new database we are building using v7.4, and I have a question or two. I'm interested in the auto vacuum daemon, but havn't located any good information about it so far, I'd like to know if people generally recommend using it or not. If we use it, can we stop using nightly vacuums? I'd like to do this if possible, since the current version (it's a 7.1 db) of the system runs a number of batch processes at night (large deletes and large inserts), and finishes with a vacuum analyse. The vacuum takes quite a long time and the nightly window is gradually getting tighter and tighter. On the other hand, the system is quite busy during the day, and once the batch processes have finished the system is idle until about 9am. The system is used 365 days a year, which doesn't leave much opportunity for VACUUM FULL or unload reloads. If I start a VACUUM FULL, is it ok to interrupt it part way through? I mean, is a partially completed vacuum full worth anything, and is there any danger in routinely killing it? Thanks for your help, regards Iain ------=_NextPart_000_0005_01C3E69A.057B13D0 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I'm supposed to put together a pl= an for=20 the routine maintenance of the new database we are building using v7.4, and= I=20 have a question or two.
 
I'm interested in the auto vacuum= daemon,=20 but havn't located any good information about it so far, I'd like to know i= f=20 people generally recommend using it or not.
 
If we use it, can we stop using n= ightly=20 vacuums? I'd like to do this if possible, since the current version (it's a= 7.1=20 db) of the system runs a number of batch processes at night (large del= etes=20 and large inserts), and finishes with a vacuum analyse. The vacuum takes qu= ite a=20 long time and the nightly window is gradually getting tighter and=20 tighter.
 
On the other hand, the system is = quite=20 busy during the day, and once the batch processes have finished the system = is=20 idle until about 9am.
 
The system is used 365 days a yea= r, which=20 doesn't leave much opportunity for VACUUM FULL or unload reloads.
 
If I start a VACUUM FULL, is it o= k to=20 interrupt it part way through? I mean, is a partially completed vacuum full= =20 worth anything, and is there any danger in routinely killing it?
 
Thanks for your help,
regards
Iain
 
------=_NextPart_000_0005_01C3E69A.057B13D0--