You are viewing an older version of this section. View current production version.

STOP REPLICATING

Stop replicating the database.

Syntax

STOP REPLICATING db_name

Remarks

  • Once replication is stopped, the secondary database is no longer a replica. It is fully available for both reads and writes.

Example

memsql> STOP REPLICATING ExampleDatabase;
Query OK, 1 row affected (0.04 sec)