X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6B3B3DAD42 for ; Mon, 24 Oct 2005 17:32:05 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47625-03 for ; Mon, 24 Oct 2005 20:32:00 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by svr1.postgresql.org (Postfix) with ESMTP id 30DC2DABF4 for ; Mon, 24 Oct 2005 17:32:00 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EU8z2-0003oD-Ef; Tue, 25 Oct 2005 09:31:52 +1300 Message-ID: <435D44B7.8030507@opencloud.com> Date: Tue, 25 Oct 2005 09:31:51 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Cramer Cc: Sergei Rogovskiy , pgsql-jdbc@postgresql.org Subject: Re: Speed up fixes References: <208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com> In-Reply-To: <208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 required=5 tests=[AWL=0.008] X-Spam-Level: X-Archive-Number: 200510/116 X-Sequence-Number: 14047 Dave Cramer wrote: > I understand everything except the removal of replaceProcessingEnabled ? His diff was reversed by the looks of it, so that's actually new code. It looks like he is adding a new connection property "replaceProcessingEnabled" which lets you disable escape processing for all statements. I'm not convinced we want this, as when enabled we wouldn't follow the JDBC spec. Sergei, can you send through whatever profiling results that show that replace processing is a hotspot? Maybe we can speed up the no-escapes case, rather than disabling them altogether which seems like a bit of a blunt instrument.. -O