ChildServer
Identify the child server process with the ChildServer connection attribute.
In a client/server environment, TimesTen can have multiple TimesTen child server processes to handle incoming requests from clients. You provide the ChildServer connection attribute to identify a specific child server process for certain cache connection pool built-in procedures.
Each child server process is identified by a number assigned with the ChildServer=n connection attribute, where n is a number ranging from 1 to the number of running child server processes. Once connected to the child server process, you can execute either the ttCacheConnPoolGet('current') or ttCacheConnPoolApply built-in procedures that are meant for a specific child server process.
For example, the following connects to the child server process identified as 1 and
applies the saved cache connection pool configuration to this child server process.
It does the same process for child server process 2 (given that
ServersPerDSN=2).
Command> connect "DSN=cache1;ChildServer=1;"; Command> call ttCacheConnPoolApply; Command> disconnect; Command> connect "DSN=cache1;ChildServer=2;"; Command> call ttCacheConnPoolApply; Command> disconnect;
To learn more about the ClientServer connection attribute, see Managing a Cache Connection Pool to the Oracle Database for Dynamic Load Requests in the Oracle TimesTen In-Memory Database Cache
Guide.
Required Privilege
No privilege is required to change the value of this attribute.
Setting
Set ChildServer as follows:
| Where to set the attribute | How the attribute is represented | Setting |
|---|---|---|
|
C or Java programs or UNIX and Linux systems |
|
When you specify the |
|
Windows ODBC Data Source Administrator |
Not applicable |