Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 08EB26501CD for ; Fri, 17 Oct 2008 14:15:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 25335-03 for ; Fri, 17 Oct 2008 14:15:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by postgresql.org (Postfix) with ESMTP id 007DD6501CB for ; Fri, 17 Oct 2008 14:15:13 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 25so694803wfc.28 for ; Fri, 17 Oct 2008 10:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+oI8oPltbzRxjAT8UNiOlCrjLYBrIu/3I92tOtH5h18=; b=QNVG0RtINcHh2QA2Kz+7q84vRy1wtNC5hM5yv4fHDeeNGCnTBxeLoLl2iZHrxq5cTe TPlkM6JH0cKO34HhxgBSsLLSHoQEzk8Dfne+cGPWbnlwvksrvgzk66RWpIL0Hv0Bn89Z 6jWi358otOcSjGuD9NneEQye11tofw1XK6LUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ibzk4AqR6jCZX08YJ1OEcUDVqCzng4bJ9u5LMBf3y0vgGPCtvHTGrlrYa6uX+E/wqL lJKCZWlPCJFzRMZ8JNSTEmDw1a+htIKZFxbvMqcMIqCQzlREhZ/btHFpDSNUh9vDgcTU 0gSg+b6TRnDyDGmBW6jfOsALP6i2jT1yQuhZ4= Received: by 10.114.181.6 with SMTP id d6mr3584937waf.50.1224263712889; Fri, 17 Oct 2008 10:15:12 -0700 (PDT) Received: by 10.114.127.18 with HTTP; Fri, 17 Oct 2008 10:15:12 -0700 (PDT) Message-ID: <8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@mail.gmail.com> Date: Fri, 17 Oct 2008 10:15:12 -0700 From: "Tory M Blue" To: "Scott Marlowe" Subject: Re: Index bloat, reindex weekly, suggestions etc? Cc: "Kevin Grittner" , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8a547c840810170905m7323dbd8x90de7dd004abc7d4@mail.gmail.com> <48F8773F.EE98.0025.0@wicourts.gov> <8a547c840810170947p52075b0cmadc8c2060b38cfa4@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/94 X-Sequence-Number: 31675 On Fri, Oct 17, 2008 at 10:02 AM, Scott Marlowe wrote: > On Fri, Oct 17, 2008 at 10:47 AM, Tory M Blue wrote: >> DETAIL: A total of 501440 page slots are in use (including overhead). >> 501440 page slots are required to track all free space. >> Current limits are: 1087500 page slots, 430 relations, using 6401 kB. >> VACUUM >> >> that looks fine > > That's still a lot of dead space. You might do better with more > aggresive autovacuuming settings. Hmmm, autovac is on by default and it appears I've left most of the default settings in play, but since I don't get any fsm warnings, things seem to be running cleanly. autovacuum_max_workers = 5 # max number of autovacuum subprocesses autovacuum_vacuum_threshold = 1000 # min number of row updates before # vacuum autovacuum_analyze_threshold = 2000 # min number of row updates before # analyze in fact there is a vac running right now :) Thanks Scott! Tory