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 489699FA293 for ; Fri, 12 May 2006 16:54:27 -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 35242-01 for ; Fri, 12 May 2006 16:54:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from projects.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id C549D9F946D for ; Fri, 12 May 2006 16:54:16 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.sprint-hsd.net [67.76.146.141]) (authenticated bits=0) by projects.commandprompt.com (8.13.6/8.13.4) with ESMTP id k4CJsE20023383; Fri, 12 May 2006 12:54:15 -0700 Message-ID: <4464E7E3.7070407@commandprompt.com> Date: Fri, 12 May 2006 12:54:11 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mail/News 1.5 (X11/20060309) MIME-Version: 1.0 To: "Jim C. Nasby" CC: andremachado , pgsql-performance@postgresql.org Subject: Re: Firebird 1.5.3 X Postgresql 8.1.3 (linux and windows) References: <20060512143716.M32697@techforce.com.br> <20060512191415.GT6201@pervasive.com> In-Reply-To: <20060512191415.GT6201@pervasive.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (projects.commandprompt.com [192.168.2.159]); Fri, 12 May 2006 12:54:17 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/331 X-Sequence-Number: 19118 Jim C. Nasby wrote: > On Fri, May 12, 2006 at 12:48:52PM -0200, andremachado wrote: >> Hello, >> continuing the saga, >> http://archives.postgresql.org/pgsql-performance/2006-04/msg00558.php , >> my coleague created a test database with fake data (see below). >> >> The above archived message contains the the timings of firebird and postgresql. >> The weird problem are the 2 queries that firebird executes in less than 2 >> seconds and postgresql took almost half hour to complete at 100% cpu. > > How about posting EXPLAIN ANALYZE for those two queries, as well as the > queries themselves? I have this database downloaded if anyone wants a copy off a faster link. -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/