Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6FA924765AB for ; Fri, 3 Jan 2003 12:22:42 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id C5122476C9D for ; Fri, 3 Jan 2003 12:21:53 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id B310143AF21; Fri, 3 Jan 2003 12:21:53 -0500 (EST) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Vacuuming and re-indexing (was Re: Vacuum meaning) Date: Fri, 3 Jan 2003 18:22:00 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 30 Message-ID: References: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/26 X-Sequence-Number: 6868 ""David F. Skoll"" wrote in message news:Pine.LNX.4.50.0301031015260.2549-100000@shishi.roaringpenguin.com... > > It's possible your suffering index bloat as well and you might need to > > do some regular reindexing, > > Again, this sounds ugly. How do you determine this? How do you get your > database to be reindexed as often as needed, but not too often? Sound more ugly considering that some times the reindex is not possible if the server is stressed ( the reindex hang ) for my experience instead of do a reindex is better delete the indexes and recreate them. With the following query you can obtain the size of each table or index: SELECT relname, relpages * 8 AS Mb, reltuples FROM pg_class ORDER BY relpages DESC LIMIT 10; If you use the 7.3 I think you should multiply for 11. Ciao Gaetano.