pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Guido Fiala <guido.fiala@dka-gmbh.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Why is PGStream.flush() taking so much time?
Date: Tue, 16 Nov 2004 08:14:24 +1300
Message-ID: <41990010.8020903@opencloud.com> (raw)
In-Reply-To: <200411151625.58422.guido.fiala@dka-gmbh.de>
References: <200411151625.58422.guido.fiala@dka-gmbh.de>

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



view thread (6+ messages)  latest in thread

Message-ID: <41990010.8020903@opencloud.com>
Permalink:  ../41990010.8020903@opencloud.com/
Also on:    postgresql.org/message-id/41990010.8020903@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, guido.fiala@dka-gmbh.de
  Subject: Re: Why is PGStream.flush() taking so much time?
  In-Reply-To: <41990010.8020903@opencloud.com>
  References: <200411151625.58422.guido.fiala@dka-gmbh.de> <41990010.8020903@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox