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 708099FA2FA for ; Fri, 26 May 2006 00:29:32 -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 26467-04 for ; Fri, 26 May 2006 00:29:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 2A1519FA278 for ; Fri, 26 May 2006 00:29:22 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k4Q3TLWe018693; Thu, 25 May 2006 23:29:21 -0400 (EDT) To: Jeff - cc: pgsql-performance@postgresql.org Subject: Re: is it possible to make this faster? In-reply-to: <8720F349-98E6-4420-B81F-ABB85EA0F3CB@torgo.978.org> References: <20060525203630.GA19881@uio.no> <8720F349-98E6-4420-B81F-ABB85EA0F3CB@torgo.978.org> Comments: In-reply-to Jeff - message dated "Thu, 25 May 2006 23:10:08 -0400" Date: Thu, 25 May 2006 23:29:21 -0400 Message-ID: <18692.1148614161@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/488 X-Sequence-Number: 19275 Jeff - writes: > Also, are you sure your numbers are not coming out of the mysql query > cache? > That might explain some of it - also with Tom seeing comprable > numbers in his test. Indeed, enabling the mysql query cache makes the timings drop to nil ... as long as I present a query that's strcmp-equal to the last one (not different in whitespace for instance). regards, tom lane