Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A4E7A9FB202 for ; Sun, 7 Jan 2007 19:55:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 77282-04 for ; Sun, 7 Jan 2007 19:55:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from 66-226-76-106.dedicated.abac.net (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id 9E9A79FB1F4 for ; Sun, 7 Jan 2007 19:55:21 -0400 (AST) Received: (qmail 5671 invoked by uid 2020); 7 Jan 2007 17:02:04 -0800 Received: from wsip-70-167-125-69.sd.sd.cox.net (HELO ?192.168.0.3?) (70.167.125.69) by 192.168.0.4 with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Jan 2007 17:02:04 -0800 Message-ID: <45A188AF.5070006@modgraph-usa.com> Date: Sun, 07 Jan 2007 15:56:31 -0800 From: "Craig A. James" User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: Guy Rouillier , PostgreSQL Performance Subject: Re: High update activity, PostgreSQL vs BigDBMS References: <45935A49.6080602@burntmail.com> <459F0EA6.30403@burntmail.com> <459F1421.9090905@modgraph-usa.com> <45A075A2.9090906@burntmail.com> <45A09FF4.7060906@modgraph-usa.com> In-Reply-To: <45A09FF4.7060906@modgraph-usa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.905 tagged_above=0 required=5 tests=AWL, BAYES_50, HELO_DYNAMIC_IPADDR2 X-Spam-Level: ** X-Archive-Number: 200701/88 X-Sequence-Number: 22689 Craig A. James wrote: > The "idiom" to replace count() was > "select col from tbl order by col desc limit 1". It worked miracles for > my app. Sorry, I meant to write, "the idiom to replace MAX()", not count()... MAX() was the function that was killing me, 'tho count() also gave me problems. Craig