Skip to content

Add support for SqlFetchScroll()/SQLExtendFetch() to query large rowsets #1012

@davvitt

Description

@davvitt

Is your feature request related to a problem? Please describe.
When running ibm_db on z/OS and querying a large set of rows (in my case >25k rows) via a three-part-name SELECT, the query time is very bad (approx. 25 seconds).

Describe the solution you'd like
Based on suggestions by the IBM DB2 support team, ibm_db need support to retrieve result set into an array, which needs support SQLFetchScroll() with SQL_ATTR_ROW_ARRAY_SIZE or SQLExtendFetch() with SQL_SQL_ATTR_ROWSET_SIZE for fetchmany/fetchall functions.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions