PREFETCH option

Function

Sets a toggle allowing you to turn fetching on or off.

Allowed values

ON, OFF

Scope

Can be set for an individual connection or the PUBLIC group. Takes effect immediately.

Default

ON

Description

For the Catalog Store only, this option controls whether rows are fetched to the client side in advance of being made available to the client application. Fetching a number of rows at a time, even when the client application requests rows one at a time (for example, when looping over the rows of a cursor) both cuts down on response time and improves overall throughput by cutting down the number of requests to the database.

The setting of PREFETCH is ignored by Open Client and JDBC connections, and for the IQ Store.