Re: Why is JDBC so slow?

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Why is JDBC so slow?
Date: 2003-09-02 20:24:32
Message-ID: 3F54FC80.4090007@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Patric Bechtel 2003-09-02 21:13:41 Re: Why is JDBC so slow? [Viruschecked]
Previous Message Tom Lane 2003-09-02 19:22:38 Re: Why is JDBC so slow?