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 A437811F61FA for ; Sun, 9 Apr 2006 19:02:00 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 1.445 X-Spam-Level: * X-Spam-Status: No, score=1.445 required=5 tests=[AWL=-0.474, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id vsKnZFEUCzia for ; Sun, 9 Apr 2006 19:01:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx2.surnet.cl (mx2.surnet.cl [216.155.73.181]) by postgresql.org (Postfix) with ESMTP id 116A911F60B3 for ; Sun, 9 Apr 2006 19:01:54 -0300 (ADT) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx2.surnet.cl with ESMTP; 09 Apr 2006 18:01:55 -0400 X-IronPort-AV: i="4.02,198,1139194800"; d="scan'208"; a="41931943:sNHT19646540" Received: from alvh.no-ip.org (201.221.200.14) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD00E0B9A5; Sun, 9 Apr 2006 18:01:54 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id BF6E7C2DC22; Sun, 9 Apr 2006 18:01:53 -0400 (CLT) Date: Sun, 9 Apr 2006 18:01:53 -0400 From: Alvaro Herrera To: Tomas Vondra Cc: pgsql-performance@postgresql.org Subject: Re: serious problems with vacuuming databases Message-ID: <20060409220153.GC16673@surnet.cl> Mail-Followup-To: Tomas Vondra , pgsql-performance@postgresql.org References: <443950FB.4050707@fuzzy.cz> <20060409183747.GB15094@surnet.cl> <44397071.80008@fuzzy.cz> <20060409204555.GB16673@surnet.cl> <44398162.6060004@fuzzy.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44398162.6060004@fuzzy.cz> User-Agent: Mutt/1.5.11+cvs20060330 X-Archive-Number: 200604/186 X-Sequence-Number: 18270 Tomas Vondra wrote: > > Huh, I didn't suggest to dump/reload. I suggested CLUSTER. You need to > > apply it only to tables where you have lots of dead tuples, which IIRC > > are A, C and D. > > Sorry, I should read more carefully. Will clustering a table according > to one index solve problems with all the indexes on the table (if the > table has for example two indexes?). Yes, it will rebuild all indexes. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.