ttRepStateGet
This procedure returns the current replication state of a database in an active standby pair.
Required Privilege
This procedure requires no 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
ttRepStateGet()
Parameters
ttRepStateGet
has no parameters.
Result Set
ttRepStateGet
returns the result:
Column | Type | Description |
---|---|---|
|
|
The current replication state of the database. One of:
|
Examples
To determine the replication state of the active standby pair, use:
Call ttRepStateGet(); <STANDBY> Call ttRepStateGet(); <ACTIVE> Call ttRepStateGet(); <FAILED>
See Also
- ttRepDeactivate
- ttRepTransmitSet
- ttReplicationStatus
- ttRepPolicySet
- ttRepStateSave
- ttRepStateSet
- ttRepStop
- ttRepSubscriberStateSet
- ttRepSubscriberWait
- ttRepDuplicateEx in Oracle TimesTen In-Memory Database C Developer's Guide