X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A09DCD1B931 for ; Sat, 24 Apr 2004 12:36:15 -0300 (ADT) 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 40924-02 for ; Sat, 24 Apr 2004 12:36:14 -0300 (ADT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id B6C7AD1B927 for ; Sat, 24 Apr 2004 12:36:13 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4937421; Sat, 24 Apr 2004 08:37:37 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: "Shea,Dan [CIS]" Subject: Re: Why will vacuum not end? Date: Sat, 24 Apr 2004 08:35:21 -0700 User-Agent: KMail/1.4.3 Cc: pgsql-performance@postgresql.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200404240835.21914.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/425 X-Sequence-Number: 6725 Dan, > Josh, how long should a vacuum take on a 87 GB table with a 39 GB index? Depends: -- What's your disk support? -- VACUUM, VACUUM ANALYZE, or VACUUM FULL? -- What's your vacuum_mem setting? -- What are checkpoint and wal settings? > I see alot of activity with transaction logs being recycled (15 to 30 every > 3 to 20 minutes). > Is the vacuum causing this? Probably, yes. How many checkpoint_buffers do you allow? -- Josh Berkus Aglio Database Solutions San Francisco