X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F224D9FA48C for ; Thu, 18 May 2006 17:26:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 74997-10 for ; Thu, 18 May 2006 17:26:28 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web30713.mail.mud.yahoo.com (web30713.mail.mud.yahoo.com [68.142.201.251]) by postgresql.org (Postfix) with SMTP id 41C539F9C18 for ; Thu, 18 May 2006 17:26:28 -0300 (ADT) Received: (qmail 50899 invoked by uid 60001); 18 May 2006 20:26:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dwePjREf5Ew68AurS+s8w1Ib5wkC1QQ/4GfwIbMsuXKc9nT8IzvSFNPvrRPFZncDGIGQUIX/XBudbKfggtxuo2GJYAznubnKPNNaD7swmqixhJ0oEAvVK3F7TT8y2Ilpr0YKBBezdnatrPB53VVBcFxpPmJvQPS1XHD5bopAnsM= ; Message-ID: <20060518202626.50897.qmail@web30713.mail.mud.yahoo.com> Received: from [206.83.255.230] by web30713.mail.mud.yahoo.com via HTTP; Thu, 18 May 2006 13:26:26 PDT Date: Thu, 18 May 2006 13:26:26 -0700 (PDT) From: Stephen Byers Subject: Re: why is bitmap index chosen for this query? To: "Steinar H. Gunderson" , pgsql-performance@postgresql.org In-Reply-To: <20060518201614.GA8640@uio.no> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1558254205-1147983986=:50537" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/400 X-Sequence-Number: 19187 --0-1558254205-1147983986=:50537 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit You may be comparing the values to Tom's suggestion to bump up work_mem. Take a look at the original posting (Total runtime: 777208.041 ms for the bitmap scan) -Steve "Steinar H. Gunderson" wrote: On Thu, May 18, 2006 at 12:53:16PM -0700, Stephen Byers wrote: > Yes, here are the runtimes for the repeated query. > Total runtime: 748716.750 ms > Total runtime: 749170.934 ms > Total runtime: 744113.594 ms > Total runtime: 746314.251 ms > Total runtime: 742083.732 ms With which options enabled? This isn't even close to any of the three times you already posted. /* Steinar */ -- Homepage: http://www.sesse.net/ ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. --0-1558254205-1147983986=:50537 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
You may be comparing the values to Tom's suggestion to bump up work_mem.  Take a look at the original posting (Total runtime: 777208.041 ms for the bitmap scan)
 
-Steve

"Steinar H. Gunderson" <sgunderson@bigfoot.com> wrote:
On Thu, May 18, 2006 at 12:53:16PM -0700, Stephen Byers wrote:
> Yes, here are the runtimes for the repeated query.
> Total runtime: 748716.750 ms
> Total runtime: 749170.934 ms
> Total runtime: 744113.594 ms
> Total runtime: 746314.251 ms
> Total runtime: 742083.732 ms

With which options enabled? This isn't even close to any of the three times
you already posted.

/* Steinar */
--
Homepage: http://www.sesse.net/

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. --0-1558254205-1147983986=:50537--