Updated on 2023-11-27 GMT+08:00

Managing Resource Management Plans

Overview

The resource management plan is an advanced resource management feature provided by GaussDB(DWS). You can create a resource management plan, add multiple stages to the plan, and configure different queue resource ratios for the stages. After a plan is started, it automatically changes the resource configurations in different stages as scheduled. If you need to run services in different stages with different proportions of resources, you can create a resource management plan to automatically change resource configurations in different stages.

Creating a Resource Management Plan

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Click to the Resource Management Plans tab and click Add.
  5. Enter a plan name and click OK.

    1. Before creating a resource management plan, you must design and create a resource pool. For details, see Creating a Resource Pool.

    2. You can create up to 10 resource management plans.

Starting a Resource Management Plan

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Enter the plan details page and click Start to start a resource management plan.

    • Only one plan can be started for each cluster.
    • A plan must have at least two stages before it can be started.

Viewing the Execution Logs of a Resource Management Plan

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Go to the plan details page and view the switchover logs in the Plan Execution Log area.

Stopping a Resource Management Plan

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Enter the plan details page and click Stop to stop a resource management plan.

Deleting a Resource Management Plan

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Enter the plan details page and click Delete to delete a resource management plan.

    You cannot delete a running resource management plan.