Cloud Service only. ReplicaInfo represents information about a single remote replica of a Global Active table. For more information, see Global Active Tables in NDCS. You can retrieve information about table replicas from any method that returns TableResult (such as getTable, addReplica, etc.) via replicas.

See

replicas

Hierarchy

  • ReplicaInfo

Properties

capacityMode: CapacityMode

Capacity mode of the replica table.

Capacity mode may be set separately for each replica.

See

CapacityMode

region?: Region

Region of the replica, if given Region constant is defined in the SDK.

See

Region

replicaName: string

Name of the replica. This is the same as a region id (see regionId) of the replica's region.

replicaOCID: string

OCID of the replica table.

state: TableState

Operational state of the replica table.

Note that replica initialization process (see isLocalReplicaInitialized) does not affect the replica table state (it will still be ACTIVE).

See

TableState

writeUnits: number

Write units of the replica table.

From the standpoint of the local table, write units of the replica table define the maximum throughput used for replicating writes from the replica to the local table. This throughput adds to the total write througput of the local table. If the replica has capacity mode ON_DEMAND, system-configured limits will be used.

Note that reads are done locally so the read units of the replica table do not affect the read throughput of the local table.

Both write and read units can be set separately for each replica.

See

writeUnits

Generated using TypeDoc