Re: Why is PGStream.flush() taking so much time?

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Guido Fiala <guido(dot)fiala(at)dka-gmbh(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Why is PGStream.flush() taking so much time?
Date: 2004-11-15 19:14:24
Message-ID: 41990010.8020903@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-11-15 21:48:28 Re: Translation updates: ru
Previous Message Serguei Mokhov 2004-11-15 17:23:49 Translation updates: ru