Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B2DDF650140 for ; Fri, 17 Oct 2008 14:54:14 -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 36168-10 for ; Fri, 17 Oct 2008 14:54:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by postgresql.org (Postfix) with ESMTP id 06F6865013E for ; Fri, 17 Oct 2008 14:54:11 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Fri, 17 Oct 2008 12:54:11 -0500 Message-Id: <48F88AE6.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Fri, 17 Oct 2008 12:53:58 -0500 From: "Kevin Grittner" To: "Tory M Blue" Cc: Subject: Re: Index bloat, reindex weekly, suggestions etc? References: <8a547c840810170905m7323dbd8x90de7dd004abc7d4@mail.gmail.com> <48F8773F.EE98.0025.0@wicourts.gov> <8a547c840810170947p52075b0cmadc8c2060b38cfa4@mail.gmail.com> <48F88694.EE98.0025.0@wicourts.gov> <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com> In-Reply-To: <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200810/97 X-Sequence-Number: 31678 >>> "Tory M Blue" wrote: > psql $DB -c 'vacuum analyze verbose'"" That's fine; you're not using the FULL option. > every night before I dump Another thing that could cause bloat is a long-running transaction. Check for that. If your database is being updated during a pg_dump or pg_dumpall, that would count as a long-running transaction. You might possibly want to look at going to the PITR backup technique for your regular backups. -Kevin