This project is archived and is in readonly mode.

#33 ✓resolved
Daniele Varrazzo

Fetch many records at time in iter() on named cursors

Reported by Daniele Varrazzo | January 13th, 2011 @ 04:10 PM

Using named cursor, records are fetched one at time, with a lot of network roundtrips. A more efficient way of fetching data is using fetchmany.

There may be a default number of record to be fetched internally to make iteration more efficient.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

People watching this ticket

Pages