Re: Why is PGStream.flush() taking so much time? - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Why is PGStream.flush() taking so much time?
Date
Msg-id 41990010.8020903@opencloud.com
Whole thread Raw
In response to Why is PGStream.flush() taking so much time?  (Guido Fiala <guido.fiala@dka-gmbh.de>)
List pgsql-jdbc
Guido Fiala wrote:
> Due to performance problems profiling showed the PGStream.flush() - thats
> pg_output buffered Stream - takes the most time although we do not really
> send much sql-queries at that time, at least we get much more data than we
> send. System and database is also almost idle at that time.

Can you show us the whole profile? I can't see why flush() should be
expensive at all. Are you sure that you are not counting time spent
blocked in native code as busy time? (hprof likes to do that)

-O

pgsql-jdbc by date:

Previous
From: Serguei Mokhov
Date:
Subject: Translation updates: ru
Next
From: Kris Jurka
Date:
Subject: Re: Translation updates: ru