DR Control Functions for Dual-Database Instances
- gs_streaming_dr_in_switchover()
Description: Truncates services during a planned switchover in the primary database instance in streaming replication-based remote DR solutions.
Return type: Boolean, indicating whether the service truncation is successful and whether the switchover process can be performed normally.
gaussdb=# SELECT * FROM gs_streaming_dr_in_switchover(); is_in_switchover ------------------ f (1 row)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.