All Products
Search
Document Center

PolarDB:START SLAVE

Last Updated:Mar 28, 2026

START SLAVE starts the primary/secondary replication links created by CHANGE MASTER TO.

Syntax

START SLAVE [ channel_option ]

channel_option:
    FOR CHANNEL channel

Usage notes

  • Run this statement with a privileged account of the current instance.

  • If channel_option is specified, the statement affects only the named replication link.

  • If channel_option is omitted, the statement affects all replication links on the current instance.

  • SLAVE and REPLICA are interchangeable in this statement.

Examples

Start all replication links:

START SLAVE;

Start the replication link named TEST:

START SLAVE FOR CHANNEL 'TEST';

What's next