Contents Index PrefetchBuffer connection parameter [PBUF] ServerName connection parameter [ENG]

ASA Database Administration Guide
  Connection and Communication Parameters
    Connection parameters

PrefetchRows connection parameter [PROWS]


Function 

Set the maximum number of rows to prefetch when querying the database.

Usage 

Anywhere

Values 

Integer

Default 

10

Description 

Increasing the number of rows prefetched from the database server by the client can improve performance on cursors that only fetch relative 0 or 1, with either single row or wide fetches. Wide fetches include embedded SQL array fetches and ODBC block fetches.

Improvements occur particularly under the following conditions:

The number of rows prefetched is limited both by the PrefetchRows (PROWS) connection parameter and the PrefetchBuffer (PBUF) connection parameter, which limits the memory available for storing prefetched rows.

For more information, see PrefetchBuffer connection parameter [PBUF].

Example 

Contents Index PrefetchBuffer connection parameter [PBUF] ServerName connection parameter [ENG]