X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CC4309DD630 for ; Tue, 6 Dec 2005 14:03:55 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54445-04-6 for ; Tue, 6 Dec 2005 14:03:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 7EFF69DD61A for ; Tue, 6 Dec 2005 14:03:52 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jB6I3kj0008027; Tue, 6 Dec 2005 13:03:46 -0500 (EST) To: Ameet Kini cc: pgsql-performance@postgresql.org Subject: Re: postgresql performance tuning In-reply-to: References: Comments: In-reply-to Ameet Kini message dated "Tue, 06 Dec 2005 11:44:03 -0600" Date: Tue, 06 Dec 2005 13:03:46 -0500 Message-ID: <8026.1133892226@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.002 required=5 tests=[AWL=0.002] X-Spam-Score: 0.002 X-Spam-Level: X-Archive-Number: 200512/178 X-Sequence-Number: 15999 Ameet Kini writes: > I have a question on postgres's performance tuning, in particular, the > vacuum and reindex commands. Currently I do a vacuum (without full) on all > of my tables. However, its noted in the docs (e.g. > http://developer.postgresql.org/docs/postgres/routine-reindex.html) > and on the lists here that indexes may still bloat after a while and hence > reindex is necessary. How often do people reindex their tables out > there? Never, unless you have actual evidence that your indexes are bloating. It's only very specific use-patterns that have problems. regards, tom lane