doc-exports/docs/dws/dev/dws_06_0155.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

3.8 KiB

CREATE BARRIER

Function

Creates a barrier for cluster nodes. The barrier can be used for data restoration.

Precautions

Before creating a barrier, ensure that gtm_backup_barrier and enable_cbm_tracking are set to on for CNs and DNs in the cluster.

Syntax

1
CREATE BARRIER [ barrier_name  ] ;

Parameter Description

barrier_name

(Optional) Indicates the name of a barrier.

Value range: a string. It must comply with the naming convention.

Examples

Create a barrier without specifying its name.

1
CREATE BARRIER;

Create a barrier named barrier1.

1
CREATE BARRIER 'barrier1';