RE: [INTERFACES] JDBC Query performance - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] JDBC Query performance
Date
Msg-id A9DCBD548069D211924000C00D001C4419B72F@exchange.maidstone.gov.uk
Whole thread Raw
List pgsql-interfaces
Hmmm, this is interesting. Does the cpu time match when the same queries
are run through PSQL?

Peter

--
Peter T Mount, IT Section
petermount@it.maidstone.gov.uk
Anything I write here are my own views, and cannot be taken as the
official words of Maidstone Borough Council

-----Original Message-----
From: Postgres mailing lists [mailto:postgres@weblynk.com]
Sent: Sunday, March 21, 1999 7:11 PM
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] JDBC Query performance


>At 11:07 +0200 on 18/03/1999, Peter Mount wrote:
>
>
>>
>> The delay is because the driver currently retrieves the entire result
>> into a Vector() before returning the ResultSet.
>
>Couldn't it also be because of Java's usage of network sockets compared
to
>psql's use of unix sockets?
>
You know, I also noticed that it is the postgres back-end process which
is
using all the CPU time during the query. Doesn't sound like Vector
operations to me, which should cause the java process to eat all the CPU
time.
Rich.




pgsql-interfaces by date:

Previous
From: "Postgres mailing lists"
Date:
Subject: Re: [INTERFACES] JDBC Query performance
Next
From: "Frank Morton"
Date:
Subject: Other JDBC Performance Question