This topic describes how to view resource consumption, optimize resource usage, and reduce costs.

You can manage and govern costs based on the following items:
  • Bill details and usage records: You can view bill details on the Billing Management page of the Alibaba Cloud Management Console. Each usage record contains the complexity and billing duration of an SQL statement that is used and the consumption of storage resources and download traffic in the last 24 hours.
  • Information Schema: You can use Information Schema to view the details of SQL jobs and identify how a costly job is generated.

Bill details

We recommend that you regularly view your bills to optimize costs at the earliest opportunity. You can view bill details in the User Center of the Alibaba Cloud Management Console. For pay-as-you-go MaxCompute projects, bills are generated before 07:00 the next day. For more information, see View billing details.

Usage records

If the bill amount of a project surges on a given day and is a multiple of the normal bill amount, you need to view the bill details. You can locate the project and billable items that cause a significant increase in costs from the bill details of your account, and then download the usage records to view the details of abnormal records. For more information about how to download usage records, see Analyze the usage records of MaxCompute bills.

Metering information about a storage fee is pushed on an hourly basis and collected 24 times a day. To calculate a storage fee, obtain the total number of bytes and calculate the average value over a 24-hour period. Then, use the tiered pricing method to obtain the storage fee.

The calculation of metering information depends on the end time of each task. If a task is complete in the early morning of the next day after it starts, the metering information of this task is included in the calculation for the day the task is complete.

You are not charged for the resources that are used to download data over the classic network. The resources that are used to upload data are also free of charge. You are charged only for the resources that are used to download data over the Internet.

Information Schema

If an abnormal computing job is found, you can use Information Schema to view the job execution details and identify the cause of the abnormal job for governance.

You can use the TASKS_HISTORY data in the Information Schema view to obtain the number of jobs and the most costly jobs.
Note By default, Information Schema retains only the data of the last 14 days.