pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Sergei Rogovskiy <sergey@brightech.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Speed up fixes
Date: Tue, 25 Oct 2005 09:31:51 +1300
Message-ID: <435D44B7.8030507@opencloud.com> (raw)
In-Reply-To: <208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com>
References: <B70A61C5-C970-4910-AC50-B9751DC6F389@brightech.com>
	<208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com>

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



view thread (5+ messages)  latest in thread

Message-ID: <435D44B7.8030507@opencloud.com>
Permalink:  ../435D44B7.8030507@opencloud.com/
Also on:    postgresql.org/message-id/435D44B7.8030507@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, pg@fastcrypt.com, sergey@brightech.com
  Subject: Re: Speed up fixes
  In-Reply-To: <435D44B7.8030507@opencloud.com>
  References: <B70A61C5-C970-4910-AC50-B9751DC6F389@brightech.com> <208DA2E0-0F01-4741-997A-B9B1CB31A6AD@fastcrypt.com> <435D44B7.8030507@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox