Re: Why is JDBC so slow? - Mailing list pgsql-jdbc

From Joseph Shraibman
Subject Re: Why is JDBC so slow?
Date
Msg-id 3F54FC80.4090007@selectacast.net
Whole thread Raw
In response to Re: Why is JDBC so slow?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
Tom Lane wrote:

> One thing I'd wonder about is the overall startup overhead for Java.
> What's the relative time to do a trivial "select 2+2" each way?
>
startup time for java was less than 1 sec

]$ time java -Xmx256m JDBCclient -U postgres -h localhost -c "select 'blah' ;" playpen >
/dev/null

real    0m0.588s
user    0m0.340s
sys     0m0.040s


pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why is JDBC so slow?
Next
From: "Patric Bechtel"
Date:
Subject: Re: Why is JDBC so slow? [Viruschecked]