|FreeTDS User Guide: A Guide to Installing, Configuring, and Running FreeTDS|
|Prev||Chapter 5. Advanced Configurations||Next|
unixODBC uses a strong thread-locking policy that causes big locks with the default configuration for FreeTDS. Performance of multi-threaded applications can be affected because every operation is serialized. To avoid this problem, choose a threading model in odbcinst.ini.
Example 5-5. Sample odbcinst.ini for threading model
[FreeTDS] Driver = /usr/local/freetds/lib/libtdsodbc.so Threading = 1