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.

Note

Resource management plans are supported only in version 8.1.0.100 or later.

Creating a Resource Management Plan

  1. Log in to the GaussDB(DWS) console.

  2. Choose Clusters. Click the name of a cluster.

  3. Go to the Basic Information page and click the Resource Management tab in the navigation pane on the left.

  4. Click to the Resource Management Plans tab and click Add.

  5. Enter a plan name and click OK.

    Important

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

    • You can create up to 10 resource management plans.

Starting a Resource Management Plan

  1. Log in to the GaussDB(DWS) console.

  2. Choose Clusters. Click the name of a cluster.

  3. Go to the Basic Information page and click the Resource Management tab in the navigation pane on the left.

  4. Switch to the Resource Management Plans tab page and click Start/Stop to start or stop the plan.

    Important

    • 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) console.

  2. Choose Clusters. Click the name of a cluster.

  3. Go to the Basic Information page and click the Resource Management tab in the navigation pane on the left.

  4. Switch to the Resource Management Plans tab page. In the plan execution logs area, click View to view the plan execution logs.

Deleting a Resource Management Plan

  1. Log in to the GaussDB(DWS) console.

  2. Choose Clusters. Click the name of a cluster.

  3. Go to the Basic Information page and click the Resource Management tab in the navigation pane on the left.

  4. Switch to the Resource Management Plans tab page and click Delete to delete the current resource management plan.

    Important

    You cannot delete a running resource management plan.