X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 554579DC85B for ; Thu, 5 Jan 2006 10:37:21 -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 91658-06 for ; Thu, 5 Jan 2006 10:37:25 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by postgresql.org (Postfix) with ESMTP id EB51F9DC86D for ; Thu, 5 Jan 2006 10:37:18 -0400 (AST) Received: by wproxy.gmail.com with SMTP id 57so2583626wri for ; Thu, 05 Jan 2006 06:37:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fd5qGBrBqPV88jhyNpO4BUppv9KeBKQPKnHBk3IOkhFwqDFe0zmcwNa83I1a38TjLaPsFuByH4xXJvfAHYZVyq++63Rrcc41IrGjQUCKBLQGd3heGe6q3w8cdVekjGngd1cFAUREeykYHCi9WdHEwd8lFV0LiBQ340/gdMLlKeU= Received: by 10.54.110.19 with SMTP id i19mr3892295wrc; Thu, 05 Jan 2006 06:37:22 -0800 (PST) Received: by 10.54.92.14 with HTTP; Thu, 5 Jan 2006 06:37:22 -0800 (PST) Message-ID: Date: Thu, 5 Jan 2006 09:37:22 -0500 From: Jaime Casanova To: Szabolcs BALLA Subject: Re: Vacuum is needed or not? Cc: pgsql-admin@postgresql.org In-Reply-To: <1136466721.4221.39.camel@bh> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1136466721.4221.39.camel@bh> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.082 required=5 tests=[AWL=0.082] X-Spam-Score: 0.082 X-Spam-Level: X-Archive-Number: 200601/70 X-Sequence-Number: 20158 On 1/5/06, Szabolcs BALLA wrote: > Hi, > > How do I know vacuum is need or not? I mean, are there any query to know > status of statistics, tables, indexes, etc? > (7.4.7) > Our database size bigger than just go and do it. :( > > Thanks, > Szabek VACUUM is needed at least every billion transactions... execute it in a script periodically... if you are in doubt if you need VACUUM then you need it urgently, execute it right now!!! -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)