From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-jdbc@postgresql.org
Subject: Re: Streaming ResultSet
Date: Wed, 20 Jul 2005 09:09:06 -0500
Message-ID: <s2de14bc.030@gwmta.wicourts.gov> (raw)
I'm considering using PostgreSQL in an environment where there is a
middle tier framework running the queries, which has no way of knowing
whether the query it is about to run will return one row or millions of
rows.
When it comes to returning millions of rows, I don't much care about
20us. Some of the one row queries run in as little as 265us (and I'm
thinking of submitting changes which would bring that down), so 20us
might creep into the range of significance. The test which showed a
20us difference were running across the LAN, while the production middle
tier will be running on the same box as the database; so, if much of the
20us is in network latency, it becomes much less significant.
-Kevin
>>> Oliver Jowett <oliver@opencloud.com> 07/19/05 6:38 PM >>>
You are considering using resultset streaming in a query that takes only
~600us (from your 3% number)? How big is that resultset anyway?
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: Kevin.Grittner@wicourts.gov
Subject: Re: Streaming ResultSet
In-Reply-To: <s2de14bc.030@gwmta.wicourts.gov>
References: <s2de14bc.030@gwmta.wicourts.gov>
* 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