skip to main content
Quick Start: Progress DataDirect for ODBC for Snowflake Driver for Windows : Tuning for performance
  

Try DataDirect Drivers Now

Tuning for performance

The connection options described in this section directly affect the performance of your driver. To tune for performance, configure your driver according to the recommended settings and your environment.

Application Using Threads

Purpose:
Determines whether the driver works with applications using multiple ODBC threads.
Performance Impact:
The driver coordinates concurrent database operations (operations from different threads) by acquiring locks. Although locking prevents errors in the driver, it also decreases performance. If your application does not make ODBC calls from different threads, the driver has no reason to coordinate operations.
Recommended Settings:
If your application is multi-threaded, enable this option.
If your application is not multi-threaded, disable this option for improved performance.
GUI Tab:
Advanced

Fetch Size

Purpose:
Specifies the number of rows that the driver processes before returning data to the application when executing a Select. This value provides a suggestion to the driver as to the number of rows it should internally process before returning control to the application. The driver may fetch fewer rows to conserve memory when processing exceptionally wide rows.
Performance Impact:
Fetch Size can be used to adjust the trade-off between throughput and response time. In general, setting larger values for Fetch Size will improve throughput, but can reduce response time.
Recommended Settings:
Set Fetch Size to suit your environment. Smaller fetch sizes can improve the initial response time of the query. Larger fetch sizes improve overall fetch times at the cost of additional memory.
GUI Tab:
Advanced