ttRepStateSave
storeName on hostName, has failed, and that all updates on the active database should be replicated directly to the read-only subscribers.
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
ttRepStateSave('state', 'storeName', 'hostName')Parameters
ttRepStateSave has these parameters:
| Parameter | Type | Description |
|---|---|---|
|
|
|
The replication state of the indicated database. May only be specified as |
|
|
|
Name of the database for which the state is indicated. |
|
|
|
Name of the host where the database resides. |
Result Set
ttRepStateSave returns no results.
Examples
To indicate to the active database that the standby database standby on host backup1 has failed, use:
ttRepStateSave('FAILED', 'standby', 'backup1');See Also
- ttRepDeactivate
- ttRepTransmitSet
- ttReplicationStatus
- ttRepPolicySet
- ttRepStateGet
- ttRepStateSet
- ttRepStop
- ttRepSubscriberStateSet
- ttRepSubscriberWait
- ttRepSyncGet
- ttRepSyncSet
- ttRepDuplicateEx in Oracle TimesTen In-Memory Database C Developer's Guide