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 68A5E9DCAA1 for ; Mon, 27 Mar 2006 14:21:52 -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 32823-02 for ; Mon, 27 Mar 2006 14:21:51 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smarty.gabriel.co.hu (smarty.gabriel.co.hu [195.70.37.16]) by postgresql.org (Postfix) with ESMTP id 03AEC9DCA15 for ; Mon, 27 Mar 2006 14:21:49 -0400 (AST) Received: from localhost (smarty [127.0.0.1]) by smarty.gabriel.co.hu (Postfix) with ESMTP id 4EC313FE2D for ; Mon, 27 Mar 2006 20:21:49 +0200 (CEST) Received: from smarty.gabriel.co.hu ([127.0.0.1]) by localhost (smarty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06081-02 for ; Mon, 27 Mar 2006 20:21:49 +0200 (CEST) Received: from [192.168.111.135] (customer-174.radio-net.hu [217.113.54.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smarty.gabriel.co.hu (Postfix) with ESMTP id 1EB9E2D958 for ; Mon, 27 Mar 2006 20:21:49 +0200 (CEST) Message-ID: <44282D45.7020008@i-logic.hu> Date: Mon, 27 Mar 2006 20:21:57 +0200 From: =?ISO-8859-1?Q?G=E1briel_=C1kos?= Organization: I-Logic Kft User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: count(*) performance References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at gabriel.co.hu X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.065 required=5 tests=[AWL=0.065] X-Spam-Score: 0.065 X-Spam-Level: X-Archive-Number: 200603/526 X-Sequence-Number: 17963 Luke Lonergan wrote: > Gabriel, > > On 3/27/06 10:05 AM, "Gábriel Ákos" wrote: > >> That gave me an idea. I thought that autovacuum is doing it right, but I >> issued a vacuum full analyze verbose , and it worked all the day. >> After that I've tweaked memory settings a bit too (more fsm_pages) > > Oops! I replied to your disk speed before I saw this. > > The only thing is - you probably don't want to do a "vacuum full", but > rather a simple "vacuum" should be enough. I thought that too. Autovacuum is running on our system but it didn't do the trick. Anyway the issue is solved, thank you all for helping. :) -- Üdvözlettel, Gábriel Ákos -=E-Mail :akos.gabriel@i-logic.hu|Web: http://www.i-logic.hu=- -=Tel/fax:+3612367353 |Mobil:+36209278894 =-