# Pausing and Stopping Replication

SingleStore allows you to pause and resume online replication with single commands.

```sql
PAUSE REPLICATING db_name;

```

```output

Query OK, 1 row affected (0.06 sec)

```

```sql
CONTINUE REPLICATING db_name;

```

```output

Query OK, 1 row affected (0.96 sec)

```

`PAUSE REPLICATING` temporarily pauses replication but maintains the replication relationship between master and secondary databases. To begin replicating from a different primary cluster, you must start a new `REPLICATE DATABASE` process.

To completely stop a replication see [STOP REPLICATING](https://docs.singlestore.com/db/v9.1/reference/sql-reference/operational-commands/stop-replicating.md). This command is irreversible.

***

Modified at: July 5, 2022

Source: [/db/v9.1/user-and-cluster-administration/high-availability-and-disaster-recovery/replicating-data-across-clusters/pausing-and-stopping-replication/](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/high-availability-and-disaster-recovery/replicating-data-across-clusters/pausing-and-stopping-replication/)

(An index of the documentation is available at /llms.txt)
