Help Center/ GaussDB/ Developer Guide(Centralized_V2.0-8.x)/ SQL Reference/ SQL Syntax/ A/ ALTER SYSTEM SET
Updated on 2025-08-19 GMT+08:00
ALTER SYSTEM SET
Description
When the multi-tenancy feature is enabled, you can run this command in a non-PDB (such as the postgres database) to switch resource plans.
Precautions
- This command can be used only by the initial user and users with the SYSADMIN permission.
- This command cannot be executed in a PDB.
- This command cannot be executed in M-compatible databases.
Syntax
ALTER SYSTEM SET resource_manager_plan TO plan_name;
Parameters
- plan_name
Specifies the name of a resource plan.
Examples
-- Connect to the postgres database and set the current resource plan to default_resource_plan. The new resource plan takes effect immediately.
gaussdb=# ALTER SYSTEM SET RESOURCE_MANAGER_PLAN TO 'default_resource_plan';
ALTER SYSTEM SET Parent topic: A
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.