EnableParallelConnect

The EnableParallelConnect attribute enables connections to a TimesTen database to be created in parallel. However, multiple threads within the same process connect sequentially. Only separate processes can establish connections concurrently.

This behavior matters most in client/server mode when you use the MaxConnsPerServer attribute. MaxConnsPerServer has a default setting of 1, so each client connection uses its own TimesTen server process. When you increase this value, a single server process handles multiple client connections and creates a separate thread for each one.

With EnableParallelConnect set to 1, the TimesTen database accepts parallel connections. Even when you enable EnableParallelConnect, threads within the same server process connect one at a time. Parallel connections occur only across different server processes, not across threads in a single process.

If you set the value 0, connections to the TimesTen database will be sequential. Sequential connections may result in multiple processes trying to connect at the same time, resulting in processeses waiting to connect.

Required Privilege

Only the instance administrator can change the value of this attribute.

Setting

Set EnableParallelConnect as follows:

Where to set the attribute How the attribute is represented Setting

C or Java programs or UNIX and Linux systems odbc.ini file in TimesTen Classic

EnableParallelConnect

0 - Do not allow parallel connections to the database.

1 (default) - Allow parallel connections to the database, so that multiple processes can connect at the same time.

Windows ODBC Data Source Administrator

Not applicable