Help Center> GaussDB> Distributed_2.x> SQL Reference> SQL Syntax> DROP APP WORKLOAD GROUP MAPPING
Updated on 2023-10-23 GMT+08:00

DROP APP WORKLOAD GROUP MAPPING

Function

DROP APP WORKLOAD GROUP MAPPING deletes an app workload group mapping.

Precautions

Only a user with the DROP permission on the current database can perform this operation.

Syntax

1
DROP APP WORKLOAD GROUP MAPPING [ IF EXISTS ] app_name;

Parameter Description

  • IF EXISTS

    Reports a notice instead of an error if the specified app workload group mapping does not exist.

  • app_name

    Specifies the name of the app workload group mapping to be deleted. The name was specified during CREATE APP WORKLOAD GROUP MAPPING.

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

Examples

See Examples in CREATE APP WORKLOAD GROUP MAPPING.