Re: Queries with large ResultSets

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pg(at)fastcrypt(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Queries with large ResultSets
Date: 2004-05-21 11:38:53
Message-ID: 40ADEA4D.7080303@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer wrote:
> There's some confusion as to whether a cursor is materialized even
> inside a transaction. It could be that complicated queries will be
> stored on the disk too.

The docs cover this. Executive summary: SCROLL cursors might be more
expensive than NO SCROLL cursors, depending on the query. It's a
separate issue to WITH HOLD / WITHOUT HOLD as far as I know.

http://www.postgresql.org/docs/7.4/static/sql-declare.html

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2004-05-21 13:37:43 internal type cache, and getUDT implementation
Previous Message Dave Cramer 2004-05-21 11:27:19 Re: Queries with large ResultSets