Web Service Fetch Size
- Last Updated: July 30, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Aha! 8.0
- Documentation
Attribute
WSFetchSize (wsfs)
Purpose
Specifies the number of rows of data the driver attempts to fetch for each ODBC call when paging is enabled for an endpoint.
Valid Values
0 | x
where:
x
is a positive integer from 0 to 200 that defines a number of rows.
Behavior
If set to 0, the driver attempts to fetch up to the maximum number of 200 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 the maximum can reduce the response time for returning the initial data. Consider using a smaller value for interactive applications only.
Notes
Web Service Fetch Size (WSFetchSize) and Fetch Size (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 Value
200