dse advrep replog count
A replication channel is a defined channel of change data between source clusters and destination clusters.
|
This command is supported only on nodes configured for DSE Advanced Replication. Use escaped quotes around keyspace and table names as command line arguments to preserve casing.
For example: |
Synopsis
dse advrep replog count
--source-keyspace keyspace_name
--source-table source_table_name
--destination destination
--data-center-id data_center_id
Syntax legend
| Syntax conventions | Description |
|---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and |
--source-keyspace keyspace_name(required)-
Define the source cluster keyspace for which to show count.
--source-table source_table_name(required)-
Define the source table for which to show count.
--destination destination(required)-
Define the destination for which to show count.
--data-center-id data_center_id-
Define the data center for which to show the count.
Examples
To verify the record count held in a replication log:
dse advrep replog count --destination mydest --source-keyspace foo --source-table bar
with a result:
2