Updated on 2025-09-22 GMT+08:00

DROP SLICEGROUP

Description

Drops a specified slice group.

Precautions

If a range bucket table is bound to a slice group, the slice group can be dropped only after the range bucket table is dropped.

Syntax

DROP SLICEGROUP slicegroup_name;

Parameters

  • slicegroup_name

    Name of the slice group to be dropped. If the slice group does not exist, an exception is thrown.

Examples

1
2
-- Drop a slice group.
gaussdb=#DROP SLICEGROUP sg;

Helpful Links

CREATE SLICEGROUP