Outdated Version

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.
Info

This MemSQL feature is only available in MemSQL Enterprise Edition. MemSQL Enterprise Edition includes 24x7 support and several enterprise-only features for critical deployments. For more information about MemSQL Developer and MemSQL Enterprise, see the MemSQL Editions page.

Example

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