getDatabaseClusterReplicationStatus

Syntax

getDatabaseClusterReplicationStatus()

Arguments

None

Details

This function checks whether asynchronous replication is enabled in all databases. It can only be executed by an administrator on the data node of a master cluster.

It returns a table containing the following columns:

  • dbName: the database name.

  • enabled: a Boolean value indicating whether asynchronous replication is enabled.

  • executionSet: the execution set ID to which the task belongs.

Related functions: setDatabaseForClusterReplication