All Products
Search
Document Center

AnalyticDB:Create a resource group

Last Updated:Nov 20, 2024

AnalyticDB for MySQL allows you to develop jobs by using methods such as XIHE BSP SQL, XIHE MPP SQL, and Spark SQL. XIHE BSP SQL and Spark SQL jobs must be run in job resource groups, and XIHE MPP SQL jobs must be run in interactive resource groups. Before you develop jobs, you must create a job resource group and an interactive resource group. By default, an interactive resource group is created after you create a cluster. This topic describes how to create a job resource group.

Prerequisites

An AnalyticDB for MySQL Data Lakehouse Edition cluster is created. For more information, see Create a cluster.

Procedure

  1. Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Clusters page, click an edition tab. Find the cluster that you want to manage and click the cluster ID.

  2. In the left-side navigation pane, choose Cluster Management > Resource Management.

  3. Click the Resource Groups tab. Click Create Resource Group in the upper-right corner.

  4. In the Create Resource Group panel, specify the Resource Group Name parameter, such as test. Select Job Type from the Task Type drop-down list. Set the Minimum Computing Resources parameter to 0ACU and the Maximum Computing Resources parameter to 8ACU.

    Note
    • For more information about resource group parameters, see Create a resource group in User Guide.

    • The specifications selected for the job resource group in this step are suitable only for getting started and testing.

  5. Click OK. A resource group is created.