ttRamPolicySet
always
, manual
, or inUse
.
Required Privilege
This procedure requires the ADMIN
privilege.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is supported in TimesTen Classic but not supported in TimesTen Scaleout.Related Views
This procedure has no related views.
Syntax
ttRamPolicySet('ramPolicy', [ramGrace])
Parameters
ttRamPolicySet
has the parameters:
Parameter | Type | Description |
---|---|---|
|
|
The policy used to determine when the database is loaded into system RAM. Valid values are:
|
|
|
Sets the number of seconds the database is kept in RAM after the last application has disconnected. This number is only effective if |
Result Set
ttRamPolicySet
returns no results.
Examples
To set the policy for loading a database into RAM to be inUse
and for the database to kept in RAM for 10 seconds after the last application has disconnected, use:
CALL ttRamPolicySet('inUse', 10);
See Also
- ttRamPolicyGet
- ttAdmin
- Specifying a RAM Policy in Oracle TimesTen In-Memory Database Operations Guide