User guide
Find the documentation that matches your role and goals.
MaxCompute beginners
Start with these topics in order to build a working foundation.
Step | Topic | What you'll do |
1 | Learn what MaxCompute does, its key features, core concepts, and limits. | |
2 | Create an account, set up your environment, create a table, and import data. | |
3 | Run your first SQL jobs and export results. | |
4 | Learn the commands you'll use most often. | |
5 | Get familiar with the MaxCompute client and MaxCompute Studio. | |
6 | Understand network connection modes, region-specific endpoints, and connectivity considerations when using MaxCompute with Elastic Compute Service (ECS), Tablestore, and Object Storage Service (OSS). |
Data analysts
Read the SQL topics to query and analyze large datasets in MaxCompute.
Feature | What you can do |
Manage tables, partitions, columns, lifecycles, and views. | |
Insert data into or update data in tables or partitions. | |
Run SELECT queries, subqueries, and other query operations. | |
Import and export data, clone table data, and run other extended SQL operations. | |
Process data with mathematical, window, date, aggregate, and string functions. | |
Write user-defined functions (UDFs) to handle custom computing requirements. |
Users with development experience
If you understand distributed architecture and need capabilities beyond SQL, explore these advanced modules.
Module | What you can do |
Write MapReduce programs using the Java API to process MaxCompute data. MaxCompute provides the MapReduce programming model in Java. | |
Run iterative graph computing on graphs made up of vertices and edges, both of which contain values. MaxCompute Graph iteratively edits and evolves graphs to obtain analysis results. | |
Upload or download large volumes of data in bulk. | |
Build and integrate MaxCompute workflows using Java. | |
Build and integrate MaxCompute workflows using Python. |
Project owners or administrators
A project is the basic organizational unit in MaxCompute, similar to a database or schema in a traditional database system. Projects isolate users and control access across tables, resources, functions, and instances. A user can have permissions on multiple projects.
Project management
Before creating a project, plan your resource budget. MaxCompute charges for three resource types:
Storage: Billed at pay-as-you-go rates with tiered pricing. Costs vary as stored data changes.
Computing: Available under both pay-as-you-go and subscription billing. Start with pay-as-you-go to understand your usage, then decide whether to switch to subscription.
Data downloads over the Internet: Billed at pay-as-you-go rates.
For details, see overview of Billable Items and Billing Methods.
After planning your budget, complete these setup tasks:
Task | Details |
Create an account and activate the service | Before you create a MaxCompute project, create an Alibaba Cloud account and activate MaxCompute. Bills are issued to the Alibaba Cloud account. Choose the pay-as-you-go or subscription billing method based on your budget. |
Create and configure your first MaxCompute project. | |
Manage project members | Assign members based on responsibilities and security requirements. If you use MaxCompute in the DataWorks console, understand the permission relationships between the two products. |
Add Resource Access Management (RAM) users to your project. In the DataWorks console, only RAM users under your Alibaba Cloud account can be added as members. Manage RAM users in the RAM console. | |
Manage scheduling resources | Configure DataWorks scheduling resources to execute and distribute tasks. Default scheduling resources use the public resource pool of DataWorks; if parallelism is high and resources are insufficient, nodes wait until resources are allocated before running their tasks. For high-parallelism needs, set up custom scheduling resources using an ECS instance as the scheduling server. |
Only the project owner can configure project-level settings, such as enabling full table scan or switching to the MaxCompute V2.0 data type edition. |
When you create a project, consider whether to select a standard mode or basic mode project from a business perspective. From a security perspective, consider whether to use a personal account or a compute engine-specified account. For more information, see MaxCompute access identities and MaxCompute data security management guide.
Scheduling resources
Schedule resources in DataWorks execute tasks dispatched by the scheduling system. These resources are available in the following two modes. For more information, see View the resource group list.
Default scheduling resources. These are the public resource pools of DataWorks. When the number of concurrent nodes in DataWorks is high and scheduling resources are tight, tasks enter the 'waiting for scheduling' state. The nodes start to execute the issued tasks only after they obtain the resources.
Custom scheduling resources. You can configure the ECS instances that you purchase as scheduling servers to execute and distribute tasks. An Alibaba Cloud account can create custom scheduling resources. These resources include several physical servers or ECS instances and are mainly used to execute data synchronization or other tasks.
Exclusive resources
DataWorks provides exclusive scheduling resources, exclusive data integration resources, and exclusive resources for running DataStudio in the production environment for you to choose from to ensure optimal performance. For more information, see DataWorks resource groups.
Security management
Personnel management
Security management includes personnel management, role management, and permission management. When you use MaxCompute through DataWorks, you need to understand the permission relationships between the two products because they have different permission models. Then, you can manage permissions as needed. During security management, you need to know how to grant permissions to users, share resources across projects, configure data protection for projects, and perform policy authorization:
Security management examples: Provides security examples based on real customer business requirements.
Role management
Permission management
Do not allow multiple project members to share one RAM user. When a member leaves or changes roles, delete their RAM user promptly. If the RAM user was added through the DataWorks console, remove them from DataWorks first, then delete the RAM user in the RAM console.
MaxCompute does not define permissions in RAM. Therefore, the permissions for RAM users must be configured using MaxCompute commands or the project management feature of DataWorks. For more information, see MaxCompute data security management guide.
Cost management
Costs depend on your billing method and actual usage, so monitor them throughout your project lifecycle.
Product billing and pricing. For more information, see Billing methods.
Product overdue payment alerts and service suspension policy. For more information, see Overdue payment alerts and service suspension policy.
Subscription upgrade and downgrade operations. For more information, see Upgrades and downgrades.
Subscription renewal. For more information, see Renewal management.
For a pricing overview, see Overview.
To change your billing method, see Switch billing methods.
View MaxCompute billing information. For more information, see View bills and Analyze the usage details of a MaxCompute bill.