Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 5016F9F9F0E for ; Wed, 6 Dec 2006 13:13:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 74415-07 for ; Wed, 6 Dec 2006 13:13:10 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by postgresql.org (Postfix) with ESMTP id 6A8219F93E2 for ; Wed, 6 Dec 2006 13:13:10 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so646306nfb for ; Wed, 06 Dec 2006 09:13:08 -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=qb8J/usZoNskgQfRBgvvq0L0UwYy4cSQ8OlxdpjWupEYXTmPju9IF5pLKTzVZVd87c07lyPQOHWpTDYxlsB1a0I+qex42LB+ckrEDfB3GyDkmFXx+gnzima0FbffLaXH5XSkgPsQXt4p2o4ffK70TATX2EH+kwfJvqYxkxehFMQ= Received: by 10.82.113.6 with SMTP id l6mr262985buc.1165425188036; Wed, 06 Dec 2006 09:13:08 -0800 (PST) Received: by 10.82.167.15 with HTTP; Wed, 6 Dec 2006 09:13:07 -0800 (PST) Message-ID: <4b09a0c0612060913j6ebcaf79k4e4372a7794a02c9@mail.gmail.com> Date: Wed, 6 Dec 2006 18:13:07 +0100 From: "Jean-Max Reymond" To: "asif ali" Subject: Re: VACUUM FULL does not works....... Cc: pgsql-performance@postgresql.org In-Reply-To: <155293.25526.qm@web58414.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <155293.25526.qm@web58414.mail.re3.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/129 X-Sequence-Number: 22185 2006/12/6, asif ali : > Hi, > I have a "product" table having 350 records. It takes approx 1.8 seconds to > get all records from this table. I copies this table to a "product_temp" > table and run the same query to select all records; and it took 10ms(much > faster). > I did "VACUUM FULL" on "product" table but It did not work. > > I checked the file size of these two tables. > "product" table's file size is "32mb" and > "product_temp" table's file size is "72k". > > So, it seems that "VACUUM FULL" is not doing anything. > Please suggest. try VACUUM FULL VERBOSE and report the result. -- Jean-Max Reymond CKR Solutions Open Source Nice France http://www.ckr-solutions.com