Add arraysize option to runQuery in adbapi
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from Gerrat <None>: The convenience method, runQuery in adbapi doesn't currently support executing a cursor with anything other than the default cursor arraysize. The arraysize attribute controls how many rows are fetched at a time from the database (during a fetchall() or fetchmany() operation). The default cursor arraysize is 1 (according to PEP 249), and using this arraysize results in terrible performance when retrieving a large number of rows from the database. ---------- Type : enhancement Component: core Keywords : adbapi arraysize review Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/3956