ttRamLoad
Description
Causes TimesTen to load the database specified by the connection string into the system RAM. A call to ttRamLoad
is valid only when RamPolicy
is set to TT_RAMPOL_MANUAL
.
Refer to ttRamPolicySet in Oracle TimesTen In-Memory Database
Reference or to ttRamPolicy
.
Required privilege
Instance administrator
Syntax
ttRamLoad (ttUtilHandle handle, const char* connStr)
Parameters
Parameter | Type | Description |
---|---|---|
|
|
Specifies the TimesTen utility library environment handle allocated using |
|
|
This is a null-terminated string specifying a connection string that describes the database to be loaded into RAM. |
Example
This example loads the database for the payroll
DSN.
ttUtilHandle utilHandle; int rc; rc = ttRamLoad (utilHandle, "DSN=payroll");
See Also