General Cursors Question

From: Mike Friesen <mfriesen(at)pmcanada(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: General Cursors Question
Date: 2001-03-19 15:57:21
Message-ID: Pine.LNX.4.30.0103190950580.20137-100000@mike.pmcanada.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


I am currently working on a project that has to retrieve large amounts of
data and returns it a piece at a time. This seems like an ideal
case for cursors. However, are their any downsides to using cursors? I hear
that each cursor will lock a postgresql backend process, is this true? As
I could have potentially have numerous of these queries being generated
that would be a major performance problem.

Any insight would be appreciated,
Mike

Browse pgsql-novice by date

  From Date Subject
Next Message Neil Kidd 2001-03-19 18:43:25 Rules or triggers.
Previous Message Bill Howell 2001-03-19 15:18:28 Sorry, too many clients already