Limiting the Number of Cursors

Set the MAX_CURSOR_COUNT option to prevent a single connection from taking too much available memory or CPU resources.

The MAX_CURSOR_COUNT option limits the maximum number of cursors that a connection can use at once. The default is 50. Setting this option to 0 allows an unlimited number of cursors.

Related concepts
Restricting Concurrent Queries
Setting the Number of CPUs Available
Limiting Temporary dbspace Use By a Query
Limiting Queries by Rows Returned
Forcing Cursors to be Non-Scrolling
Limiting the Number of Statements
Prefetching Cache Pages
Optimizing for Typical Usage
Controlling the Number of Prefetched Rows