X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id DB9BF9FBB31 for ; Fri, 25 Aug 2006 12:23:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 77776-01 for ; Fri, 25 Aug 2006 15:23:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id CA8849FBB25 for ; Fri, 25 Aug 2006 12:23:36 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k7PFNY1O029984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Aug 2006 08:23:35 -0700 Message-ID: <44EF15F9.7040807@commandprompt.com> Date: Fri, 25 Aug 2006 08:23:37 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: "Joshua D. Drake" , Tom Lane , Sriram Dandapani , "Pgsql-Performance (E-mail)" Subject: Re: select max(column) from parent table very slow References: <6992E470F12A444BB787B5C937B9D4DF057500BF@ca-mail1.cis.local> <44EE4DA1.5060701@commandprompt.com> <18394.1156480407@sss.pgh.pa.us> <44EE87BB.4050104@commandprompt.com> <20060825144530.GA14622@alvh.no-ip.org> In-Reply-To: <20060825144530.GA14622@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 25 Aug 2006 08:23:35 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/405 X-Sequence-Number: 20590 >>>> query on each child and a max on the set that is returned. >>> It is not. Feel free to submit a patch for planagg.c ... >> I think my patch to pgbench may have set your expectations of me a bit >> high ;)... > > Actually I think this is the perfect opportunity for you -- a patch that > not only was absolutely unexpected, undiscussed, and posted without > previous warning, but one that you were actually asked about! And > weren't you recently joking about giving Tom nightmares by sending > patches to the optimizer? Yeah, but Tom is getting up there a bit, and that might mean a heart attack. Then what would we do? ;) Joshua D. Drake > > -- === 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/