X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 263EEDAC9F for ; Mon, 24 Oct 2005 03:33:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29958-07 for ; Mon, 24 Oct 2005 06:33:05 +0000 (GMT) Received: from soufre.accelance.net (soufre.accelance.net [213.162.48.15]) by svr1.postgresql.org (Postfix) with ESMTP id 1A909DAC89 for ; Mon, 24 Oct 2005 03:33:05 -0300 (ADT) Received: from [86.193.131.216] (ALyon-254-1-24-216.w86-193.abo.wanadoo.fr [86.193.131.216]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soufre.accelance.net (Postfix) with ESMTP id 3CD875D65; Mon, 24 Oct 2005 08:33:05 +0200 (CEST) Message-ID: <435C801F.1030709@openwide.fr> Date: Mon, 24 Oct 2005 08:33:03 +0200 From: Guillaume Smet User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Steinar H. Gunderson" Cc: pgsql-performance@postgresql.org Subject: Re: Problem analyzing explain analyze output References: <435C2297.5050207@openwide.fr> <20051024000824.GA11800@samfundet.no> In-Reply-To: <20051024000824.GA11800@samfundet.no> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200510/331 X-Sequence-Number: 15099 Steinar, > which seems to make sense; you have one run of about 257ms, plus 514 runs > taking about 0.035ms each (ie. about 18ms), which should add up to become > about 275ms (which is close enough to the reality of 281ms). Yep. The line that disturbed me was the bitmap index scan with a cost of "actual time=254.143..254.143". I was more looking for something like "actual time=0..254.143" which is what I usually have for an index scan. So I suppose that the bitmap index scan returns rows only when it's totally computed. Thanks for your help. Regards. -- Guillaume