From: Oliver Jowett <oliver@opencloud.com>
To: Robin Houston <robin.houston@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Cursor-based results: bafflingly slow
Date: Sat, 04 Jul 2009 01:17:05 +1200
Message-ID: <4A4E04D1.5010905@opencloud.com> (raw)
In-Reply-To: <1b795e7b0907030601x53ad69efk5412acc1a2595c61@mail.gmail.com>
References: <1b795e7b0907030546o7e44ebcdteb1168c9d6680380@mail.gmail.com>
<1b795e7b0907030601x53ad69efk5412acc1a2595c61@mail.gmail.com>
Robin Houston wrote:
> For example, if I use "limit 100" to simulate the effect of fetching
> the first 100 results:
They're not really equivalent. A portal with a limited fetchsize is more
like DECLARE CURSOR, not LIMIT.
What does the plan look like if you plan it without the LIMIT?
-O
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, robin.houston@gmail.com
Subject: Re: Cursor-based results: bafflingly slow
In-Reply-To: <4A4E04D1.5010905@opencloud.com>
References: <1b795e7b0907030546o7e44ebcdteb1168c9d6680380@mail.gmail.com> <1b795e7b0907030601x53ad69efk5412acc1a2595c61@mail.gmail.com> <4A4E04D1.5010905@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