V$SHARD_REPLICATION_UNIT
V$SHARD_REPLICATION_UNIT displays information about replication units (RUs) that are present in a shard.
This view displays one row for each RU.
| Column | Datatype | Description |
|---|---|---|
SHARD_ID |
NUMBER |
Shard database identifier |
RU_ID |
NUMBER |
Replication unit (RU) identifier |
LEADER_ID |
NUMBER |
Leader’s SHARD_ID for the corresponding RU |
ROLE |
NUMBER |
Role of the shard for the RU:
|
TERM |
NUMBER |
Term number This value is incremented each time a new leader is elected. |
COMMITIDX |
NUMBER |
LCRs with a log index of COMMITIDX or lower have consensus |
OLDAPPIDX |
NUMBER |
Oldest log index that an apply process group may need |
APPLYLWMIDX |
NUMBER |
Position of apply low watermark on the follower |
ONDISKIDX |
NUMBER |
Persisted log index |
FLAGS |
NUMBER |
State of the shard with respect to the RU:
|
ROLE_CHANGED_TIME |
TIMESTAMP(6) |
Time at which the role for the RU in the shard last changed |
RECOVERY_TIME |
TIMESTAMP(6) |
Amount of time taken for recovery |
REPLICA_TYPEFoot 1 |
NUMBER |
Replica type of the RU
|
CON_ID |
NUMBER |
The ID of the container to which the data pertains. Possible values include:
|
Footnote 1 This column is available starting with Oracle AI Database 26ai, Release Update 23.26.1.
Note: This view is available starting with Oracle AI Database 26ai.