skip to main content
Connection Option Descriptions : WSFetch Size
  

Try DataDirect Drivers Now

WSFetch Size

Attribute

WSFetchSize (WSFS)

Purpose

Specifies the number of rows of data the driver attempts to fetch for each ODBC call.

Valid Values

0 | x
where:
x
is a positive integer from 1 to 2147483647 that defines a number of rows.

Behavior

If set to 0, the driver attempts to fetch up to a maximum of 2147483647 rows. This value typically provides the maximum throughput.
If set to x, the driver attempts to fetch up to a maximum of the specified number of rows. Setting the value lower than 1000000 can reduce the response time for returning the initial data. Consider using a smaller WSFetch Size for interactive applications only.

Notes

*WSFetchSize and FetchSize can be used to adjust the trade-off between throughput and response time. Smaller fetch sizes can improve the initial response time of the query. Larger fetch sizes can improve overall response times at the cost of additional memory.

Default

1000000

GUI Tab

Web Service tab

See also

Fetch Size
WSTimeout