All Products
Search
Document Center

MaxCompute:Quota

Last Updated:Jul 01, 2024

A quota serves as a computing resource pool of MaxCompute. A quota provides the CPU and memory resources that are required for computing jobs, such as MaxCompute SQL jobs, MapReduce jobs, Spark jobs, Mars jobs, and Platform for AI (PAI) jobs. You can configure quota groups based on your business requirements to ensure that resources are properly allocated and used. This prevents specific tasks from consuming excessive resources and affecting the execution of other tasks.

The unit of MaxCompute computing resources is compute unit (CU). One CU equals 1 CPU core and 4 GB of memory. Quotas are classified into subscription resource quotas and pay-as-you-go resource quotas. Subscription resource quotas correspond to the subscription resource package and pay-as-you-go resource quotas correspond to pay-as-you-go resource packages. For more information, see Resource packages.

The quota management feature in the new MaxCompute console allows you to perform the following operations. For more information, see Manage quotas in the new MaxCompute console.

  • Create, modify, or delete a quota group, and specify the time period of a quota group to meet the computing resource requirements of different business projects in different time periods.

  • Modify a quota group that is associated with a MaxCompute project.

You can associate MaxCompute projects with quota groups by using the following methods. After projects are associated with quota groups, the computing jobs that you submit in the projects use the quota groups associated with the projects to compute data.

  • When you create a MaxCompute project, you can use the Default Quota parameter to select a quota group that you want to associate with the project.

  • For an existing MaxCompute project, you can go to the Projects page of the MaxCompute console, and change the quota group that is associated with the project. For more information, see Configure a project.

Note

We recommend that you associate different quota groups with different MaxCompute projects based on your business requirements.

References

  • For more information about quota scheduling policies, see Quota scheduling policies.

  • You can perform operations to use quotas in the MaxCompute console. For example, you can configure the Default Quota parameter for a project and specify a quota for jobs. For more information about how to use quotas in MaxCompute, see Use of computing resources.