Received: from mx1.sabre.com (mx1.sabre.com [199.100.49.110]) by hub.org (8.9.3/8.9.3) with ESMTP id IAA30748 for ; Mon, 30 Aug 1999 08:41:18 -0400 (EDT) (envelope-from swheeler@sabre.com) Received: (from mailer@localhost) by mx1.sabre.com (8.9.3/8.9.3) id HAA15509 for ; Mon, 30 Aug 1999 07:40:47 -0500 (CDT) Received: from (pop3.sabre.com [144.9.112.62]) by mx1.sabre.com via smap (V2.1) id xma013829; Mon, 30 Aug 99 07:36:18 -0500 Received: from sabre.com ([172.29.63.42]) by pop3.sabre.com (Netscape Messaging Server 3.6) with ESMTP id AAA3093 for ; Mon, 30 Aug 1999 07:36:16 -0500 Sender: smw@sabre.com Message-ID: <37CA7ABA.7CFFC6F5@sabre.com> Date: Mon, 30 Aug 1999 07:36:10 -0500 From: "Steven M. Wheeler" Organization: Mid-range Engineering, The SABRE Group X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.6 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@hub.org Subject: Questions about vacuum analyze Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit System: Compaq ProLiant 3000, dual-336MHz Pentium II, 512MB RAM O/S: Linux 2.2.6 (Slackware 4.0 dist) DB: Postgresql 6.5.1 DB on 8GB 4-disk stripe-set using md. DB with two tables, each with about 1M rows. Current DB size about 1.5GB I am having trouble deciding when to run vacuum analyze, how often, and what state the system should be in when I run it. I have found that if I run it once a night, on a system that is quiet (no other processes connected to the DB) it will still take several (4-8) hours. Does anyone have recommendations regarding vacuum analyze? Specifically: 1) Should it be run on a system that is quiet or will it run acceptably with other processes accessing the DB? 2) How often should it be run? Thanks, -- Steven Wheeler UNIX Engineering (918) 292-4119