Creates a barrier for cluster nodes. The barrier can be used for data restoration.
Before creating a barrier, ensure that gtm_backup_barrier is set to on for the CN and DN nodes in the cluster.
CREATE BARRIER [ barrier_name ] ;
(Optional) Indicates the name of a barrier.
Value range: A string. It must comply with the naming convention rule.
-- Create a barrier without specifying its name: CREATE BARRIER; -- Specify a barrier name: CREATE BARRIER 'barrier1';