Re: Taking advantage of prepared statement performance - Mailing list pgsql-jdbc
From | Brett |
---|---|
Subject | Re: Taking advantage of prepared statement performance |
Date | |
Msg-id | 20021010183502.C2A7129A1A@xmxpita.excite.com Whole thread Raw |
In response to | Taking advantage of prepared statement performance ("Brett" <brettonator@excite.com>) |
List | pgsql-jdbc |
Sure. I have created a pretty nice jdbc benchmarking app that allows you to provide work objects and the number of threads to instantiate, the infrastructure invokes the threads and takes care of timing, collecting statistics based on type of query and printing them out. I used it to basically poo poo the idea of using mysql.. Was lighting fast with selects.. 10x's faster than postgres. Then I started doing deletes and performance fell 10 fold and it was actually slower than mysql.. this was using mysql in a transactional way. Anyway, getting back on topic here, I'll be glad to try this and post the results. Currently there's only one 1 1 gigabyte ram dual 600Mhz machine where both jdbc testing app and db reside on. Soon we'll get a second machine to put the jdbc app on. It would probably be more relevantif the testing happened on two machines as opposed to one. Only one problem, actually using the server side prepared statements. Could you point me to where I can find info on using them or should I just peruse the past discussions on this subject? There might be updates or gotchas which haven't been discussed publicly yet? Thanks. --- On Thu 10/10, Barry Lind < barry@xythos.com > wrote: From: Barry Lind [mailto: barry@xythos.com] |
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
pgsql-jdbc by date: