Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Saves the state of a remote peer data store in an active standby pair to the currently connected data store. Currently, may only be used to indicate to the active data store that the standby data store, storeName
on hostName,
has failed, and that all updates on the active data store should be replicated directly to the read-only subscribers.
This procedure requires the ADMIN privilege.
Syntax
ttRepStateSave('state', 'storeName', 'hostName')
Parameters
ttRepStateSave has these parameters:
Parameter | Type | Description |
---|---|---|
state |
TT_VARCHAR (20) NOT NULL | The replication state of the indicated data store. May only be specified as FAILED in this release. Recording that a standby data store has failed indicates that all replicated updates are to be sent directly from the active data store to the read-only subscribers. |
storeName |
TT_VARCHAR (200) NOT NULL | Name of the data store for which the state is indicated. |
hostName |
TT_VARCHAR (200) | Name of the host where the data store resides. |
Result set
ttRepStateSave returns no results.
Examples
To indicate to the active data store that the standby data store standby
on host backup1
has failed, use:
ttRepStateSave('FAILED', 'standby', 'backup1');
See also