You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/current/v25.3/read-from-standby.md
+2-16Lines changed: 2 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ ALTER VIRTUAL CLUSTER main SET REPLICATION READ VIRTUAL CLUSTER;
46
46
~~~
47
47
48
48
{{site.data.alerts.callout_info}}
49
-
This command only works if the standby cluster's AppVC has a status of `replicating`. Use the `SHOW VIRTUAL CLUSTERS` command to check the status of the AppVC.
49
+
The standby cluster's AppVC must have a status of `replicating` before you can create your ReaderVC. Use the `SHOW VIRTUAL CLUSTERS` command to check the status of the AppVC.
50
50
{{site.data.alerts.end}}
51
51
52
52
### Check the status of your reader virtual cluster
@@ -82,26 +82,12 @@ SELECT COUNT(*) FROM customers;
82
82
SELECT region, SUM(amount) FROM orders GROUP BY region;
83
83
~~~
84
84
85
-
The results of queries on the standby cluster reflect the state of the primary cluster as of a historical time that approaches the replicated time.
85
+
The results of queries on the standby cluster reflect the state of the primary cluster as of a historical time that approaches the [replicated time]({% link {{ page.version.version }}/show-virtual-cluster.md %}#show-replication-status).
86
86
87
87
{{ site.data.alerts.callout_info }}
88
88
Write operations are not permitted on the standby cluster.
89
89
{{ site.data.alerts.end }}
90
90
91
-
### Monitor replication lag
92
-
93
-
Reading from the standby cluster may return slightly stale data due to replication lag between the primary cluster and the standby cluster. You can monitor replication lag to understand how current the data in the standby cluster is. To check the standby cluster's replication status:
94
-
95
-
{% include_cached copy-clipboard.html %}
96
-
~~~sql
97
-
SHOW VIRTUAL CLUSTER REPLICATION STATUS <standby_name>;
98
-
~~~
99
-
100
-
The output provides the following information:
101
-
- the replication status of the standby cluster
102
-
- the timestamp of the most recently applied event on the standby cluster
103
-
- any lag relative to the primary cluster
104
-
105
91
## See also
106
92
-[Set Up Physical Cluster Replication]({% link {{ page.version.version }}/set-up-physical-cluster-replication.md %})
107
93
-[Fail Over from a Primary Cluster to a Standby Cluster]({% link {{ page.version.version }}/failover-replication.md %})
Copy file name to clipboardExpand all lines: src/current/v25.4/read-from-standby.md
+2-16Lines changed: 2 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ ALTER VIRTUAL CLUSTER main SET REPLICATION READ VIRTUAL CLUSTER;
46
46
~~~
47
47
48
48
{{site.data.alerts.callout_info}}
49
-
This command only works if the standby cluster's AppVC has a status of `replicating`. Use the `SHOW VIRTUAL CLUSTERS` command to check the status of the AppVC.
49
+
The standby cluster's AppVC must have a status of `replicating` before you can create your ReaderVC. Use the `SHOW VIRTUAL CLUSTERS` command to check the status of the AppVC.
50
50
{{site.data.alerts.end}}
51
51
52
52
### Check the status of your reader virtual cluster
@@ -82,26 +82,12 @@ SELECT COUNT(*) FROM customers;
82
82
SELECT region, SUM(amount) FROM orders GROUP BY region;
83
83
~~~
84
84
85
-
The results of queries on the standby cluster reflect the state of the primary cluster as of a historical time that approaches the replicated time.
85
+
The results of queries on the standby cluster reflect the state of the primary cluster as of a historical time that approaches the [replicated time]({% link {{ page.version.version }}/show-virtual-cluster.md %}#show-replication-status).
86
86
87
87
{{ site.data.alerts.callout_info }}
88
88
Write operations are not permitted on the standby cluster.
89
89
{{ site.data.alerts.end }}
90
90
91
-
### Monitor replication lag
92
-
93
-
Reading from the standby cluster may return slightly stale data due to replication lag between the primary cluster and the standby cluster. You can monitor replication lag to understand how current the data in the standby cluster is. To check the standby cluster's replication status:
94
-
95
-
{% include_cached copy-clipboard.html %}
96
-
~~~sql
97
-
SHOW VIRTUAL CLUSTER REPLICATION STATUS <standby_name>;
98
-
~~~
99
-
100
-
The output provides the following information:
101
-
- the replication status of the standby cluster
102
-
- the timestamp of the most recently applied event on the standby cluster
103
-
- any lag relative to the primary cluster
104
-
105
91
## See also
106
92
-[Set Up Physical Cluster Replication]({% link {{ page.version.version }}/set-up-physical-cluster-replication.md %})
107
93
-[Fail Over from a Primary Cluster to a Standby Cluster]({% link {{ page.version.version }}/failover-replication.md %})
0 commit comments