All Products
Search
Document Center

DataWorks:DataWorks on MaxCompute

Last Updated:Aug 21, 2026

Use DataWorks with MaxCompute to build an offline data warehouse and analytics system — visually configure task workflows, schedule periodic jobs, and manage metadata in one place.

Prerequisites

  • DataWorks is activated. For more information, see Activate DataWorks.

  • MaxCompute is activated. For more information, see Activate MaxCompute.

  • A DataWorks workspace is created. For more information, see Create a workspace.

Usage notes

The following table describes key development topics.

Category

Description

Billing

MaxCompute task development in DataWorks incurs fees for both DataWorks and related services.

Environment preparation

Before developing MaxCompute tasks in DataWorks, purchase the required DataWorks edition and resource groups for your business needs and associate the MaxCompute data source.

Permission management

DataWorks provides product-level and module-level permission management, and supports visual permission requests and approvals for MaxCompute data sources.

Get started: Data Integration

Data Integration reads data from and writes data to MaxCompute, supporting batch synchronization, real-time synchronization, and full and incremental synchronization.

Get started: Data development and O&M

DataWorks provides the Data Modeling service to structure and manage large amounts of complex, disorganized data. It also provides the DataStudio feature to develop scheduling tasks. DataStudio works with Operation Center to monitor and maintain these tasks.

Get started: Data governance

DataWorks provides metadata management and data governance for MaxCompute.

Get started: Data analysis and services

DataAnalysis provides data analysis and service sharing for MaxCompute.

Get started: Open Platform

DataWorks provides open capabilities that let you quickly integrate various application systems. This facilitates development process control, data governance, and O&M, and helps you quickly respond to business status changes from integrated systems.

Billing

DataStudio and Operation Center let you schedule MaxCompute data synchronization and processing tasks periodically. These features incur the following fees.

1. DataWorks charges

These charges appear on your DataWorks bill. For more information about DataWorks billing, see Billable items of DataWorks.

Charge

Description

DataWorks edition fee

Before you can develop tasks, you must activate DataWorks. Standard Edition, Professional Edition, and Enterprise Edition require a paid subscription.

Scheduling resource fee

Tasks require scheduling resources to run on a schedule. You can use a serverless resource group (recommended) or an old-version exclusive resource group.

Note

A serverless resource group can be used for both task scheduling and data synchronization.

Synchronization resource fee

Data synchronization tasks require dedicated synchronization resources in addition to scheduling resources. You can use a serverless resource group (recommended) or an old-version exclusive resource group for data integration.

Note
  • No scheduling fees are charged for tasks that are run using the Run or Run with Parameters feature on the DataStudio page.

  • No scheduling fees are charged for tasks that fail to run or are run as dry runs.

For information about how DataWorks dispatches scheduling tasks to help you better understand the billing details, see How DataWorks dispatches scheduling tasks.

2. Non-DataWorks-related fees

These charges do not appear on your DataWorks bill. You may incur the following charges when developing and running tasks:

Important

Fees from other services follow their own billing rules. For details, see each service's billing documentation. For MaxCompute billing, see Billable items of MaxCompute.

Fee

Description

Database fees

Reading from or writing to upstream and downstream databases during data synchronization may incur database fees.

Computing and storage fees

Running a task on a compute engine may incur computing and storage fees. For example, a MaxCompute SQL task that creates a table and writes data incurs MaxCompute computing and storage fees.

Network service fees

Network connections between DataWorks and related services may incur fees. For example, using Express Connect, Internet Shared Bandwidth, or Elastic IP Address (EIP) incurs fees from the corresponding services.

Environment preparation

1. Resource preparation

DataWorks offers Standard, Professional, and Enterprise editions, along with tenant-specific serverless resource groups. Select an edition and resource group that meets your needs.

Category

Description

Related documentation

Edition selection

DataWorks Basic Edition covers basic data migration, development, scheduling, and simple data governance for MaxCompute. For advanced data governance and security features, select Standard, Professional, or Enterprise Edition.

Compare DataWorks editions and upgrade

Resource group selection

  • Serverless resource group (Recommended): A single resource group covers all features — Data Integration, task scheduling, and DataService Studio. You can plan and allocate resources based on your needs.

  • Old-version resource groups (old-version exclusive resource groups and shared resource groups): Meet basic scheduling requirements. These resource groups will be discontinued in the future.

Overview of DataWorks resource groups

2. Development environment preparation

Create a MaxCompute project as a data source for a DataWorks workspace, associate it with DataStudio, and optionally add workspace members for collaborative development.

Category

Description

Related documentation

Data synchronization environment

Before running MaxCompute synchronization tasks, add the MaxCompute project as a data source to the workspace. You can then run synchronization tasks against it.

Associate a MaxCompute compute engine with a workspace

Data development and analysis environment

Before running MaxCompute scheduling tasks, add the MaxCompute project as a data source to the workspace and associate it with DataStudio. Once associated, you can develop, analyze, and periodically schedule tasks.

Collaborative development environment

To let RAM users collaborate on development in a workspace, add them as workspace members and assign a development-related role.

Add members to a workspace

Permission management

DataWorks supports product-level and module-level permission management, with visual permission requests and approvals for MaxCompute data sources. The following sections describe permission management in detail.

1. Data access and permission management

You can query MaxCompute table data by using a MaxCompute SQL node or an ad hoc query node. A workspace in basic mode does not support fine-grained permission management or isolation between development and production environments. The following example uses a workspace in standard mode.

  • Default permissions

    After a RAM user is added to a workspace, their default data access permissions are:

    Permission type

    Description

    MaxCompute development project permissions

    DataWorks maps predefined workspace-level roles to MaxCompute data source roles in the development environment. A RAM user with a workspace role inherits the mapped data source role permissions. By default, the RAM user has permissions on the development project but not on the production project.

    MaxCompute production project permissions

    Only RAM users that are granted the scheduling access identity have broad permissions on the MaxCompute project in the production environment. Other RAM users do not have permissions on the production project. To operate on production tables, go to Security Center to request permissions.

    DataWorks provides a default approval process, and also allows administrators to customize approval workflows.

    For more information about MaxCompute data access control, see MaxCompute data permission management.

  • Data access behavior

    MaxCompute supports cross-project table queries. In DataStudio, you can query production data across projects by specifying the project name. The following table describes cross-project table access and the accounts used.

    Note
    • You can view the data sources created for different environments and the execution accounts configured for them in the workspace's data source information. For more information, see Associate a MaxCompute compute engine with a workspace.

    • In a DataWorks workspace in standard mode, tasks in the development environment are run using the personal identity of a task executor by default. Tasks in the production environment are run by using a specific Alibaba Cloud account, which is the scheduling access identity. For more information, see Associate a MaxCompute compute engine with a workspace.

    Code example

    Execution in development

    Execution in production

    Access a development table in a development project:

    select col1 from projectname_dev.tablename;

    The task executor's personal Alibaba Cloud account accesses the development table.

    • If a RAM user runs the task, the RAM user's personal account is used.

    • If the primary Alibaba Cloud account runs the task, that account is used.

    The scheduling access identity accesses the development table.

    Access a production table in a production project:

    select col1 from projectname.tablename;

    The task executor's personal Alibaba Cloud account accesses the production table.

    Note

    By default, personal accounts do not have permission to access production tables due to security controls. You must go to Security Center to request permission. DataWorks provides a default approval process and also supports custom approval workflows.

    The scheduling access identity accesses the production table.

    Access a table in the current environment (for example, a development table in the development environment):

    select col1 from tablename;

    When run in the development environment, the task uses the task executor's personal Alibaba Cloud account to access the target table in the development data source.

    When run in the production environment, the task uses the scheduling access identity to access the target table in the production data source.

2. Feature module permission management

Before starting data development, assign workspace roles to users to grant them appropriate operation permissions. The following permission models are available:

  • The RAM policy-based authorization model manages permissions on DataWorks feature modules (for example, denying access to Data Map) and console operations (for example, allowing users to delete workspaces).

  • The RBAC model manages permissions on workspace-level modules (for example, allowing users to access DataStudio for development) and global modules (for example, denying access to the Data Security Guard module).

开发流程

Get started

DataWorks offers multiple feature modules. Develop scheduling tasks in DataStudio, then monitor and manage them in Operation Center. DataWorks also provides development process control to standardize operations and ensure security.

1. Data Integration

Data Integration reads data from and writes data to MaxCompute. You can synchronize data between MaxCompute and other data sources in batch, real-time, and full or incremental modes. For more information, see Data Integration.

2. Data development and O&M

Module

Description

Related documentation

Data Modeling

Using Alibaba's data middle platform methodology, it helps you define your data warehouse plan, data standards, dimensional models, and data metrics. This helps enterprises understand and use data quickly and consistently.

Data Modeling

DataStudio

DataWorks encapsulates MaxCompute compute engine capabilities, letting you run data synchronization and development tasks.

  • Data synchronization: You can synchronize data from other data sources to a MaxCompute data source or from a MaxCompute data source to other data sources. DataStudio supports only some batch synchronization and real-time synchronization scenarios. For more data synchronization applications, go to the Data Integration page.

  • Data development: Develop various types of tasks and schedule them periodically in DataWorks without using complex command-line tools.

Combine general-purpose nodes and compute engine nodes to handle complex logic.

Major nodes include:

  • Virtual nodes to control business processes.

  • HTTP trigger, OSS Object Check, and FTP Check nodes to trigger scheduling from external systems.

  • Assignment and parameter nodes to pass parameters between upstream and downstream nodes.

  • Do-while nodes to loop code, for-each nodes to iterate and evaluate the assignment results of upstream nodes, and branch nodes.

  • Other nodes, such as general-purpose Shell nodes and MySQL database nodes.

After you develop a node task, you can perform the following operations as needed:

  • Scheduling configuration

    If the node task needs to run periodically, you can define its scheduling properties, such as scheduling dependencies and parameters.

  • Node debugging

    To ensure that production tasks run efficiently and to prevent waste of computing resources, debug a task before you deploy it.

  • Node deployment

    A task must be deployed to the production environment to be scheduled periodically. After deployment, you can go to Operation and Maintenance Center > Auto Triggered Node to view and manage the scheduled task.

  • Node management

    You can deploy or undeploy node tasks, and batch-modify scheduling properties.

  • Development process control

    DataWorks provides development process control for task development and deployment, such as code review, mandatory smoke testing, and custom check logic, to ensure the correctness and security of task-related operations.

Operation Center

Operation Center is a one-stop O&M and monitoring platform for big data tasks. It provides real-time task status monitoring, intelligent diagnosis, and rerun for abnormal tasks. Its intelligent baseline feature helps ensure timely task output by addressing unpredictable completion times and simplifying large-scale task monitoring.

Basic O&M for auto-triggered nodes

Data Quality

Data Quality ensures data availability throughout the entire data development lifecycle. By efficiently validating data quality rules and tightly integrating with the task scheduling process, it helps you detect quality issues as early as possible and prevent data quality problems from spreading. This provides an efficient, reliable, and trustworthy data source for your business.

Data Quality Overview

3. Data governance

After you associate a MaxCompute data source, DataWorks automatically collects its metadata. Use Data Map to view metadata, or use Data Governance Center to view and resolve detected issues.

Module

Description

Related documentation

Data Map

Using a unified metadata foundation, it helps you manage, inventory, find, and understand data objects.

Data Map Overview

Security Center

Data Security Guard

Approval Center

Security Center is a one-stop data security governance platform that integrates data asset classification, sensitive data identification, data authorization, sensitive data masking, access auditing, and risk identification and response.

Data Governance Center

Data Governance Center helps you proactively and systematically perform data governance. It uses data domain rule templates, automatically identifies assets that require optimization, and provides both pre-event and post-event governance strategies.

Data Asset Governance Overview

4. Data analysis and services

DataWorks provides data processing, analysis, and service capabilities, with centrally managed APIs for efficient data sharing.

Module

Description

Related documentation

DataAnalysis

Run online SQL queries, gain business insights, and edit and share data. You can also save query results as chart cards to build visual data reports.

DataAnalysis

DataService Studio

DataService Studio provides comprehensive data service and sharing capabilities, helping enterprises centrally manage API services for internal and external use.

DataService Studio

5. Open Platform

DataWorks Open Platform helps you integrate application systems with DataWorks for development process control, data governance, O&M, and real-time response to business status changes.

Category

Description

Related documentation

OpenAPI

OpenAPI provides APIs for interaction between on-premises services and DataWorks, improving big data processing efficiency while reducing manual operations, O&M overhead, data risks, and costs.

OpenAPI

OpenEvent

OpenEvent provides a message subscription service. By subscribing to DataWorks events, your applications receive real-time status changes for timely responses and personalized decision-making.

Overview of OpenEvent

Extensions

Extensions let you register a service program to intercept and respond to subscribed OpenEvent messages, enabling notifications and process control for specific events.

Overview of extensions

Appendix: Relationship between DataWorks and MaxCompute

Note

A workspace in basic mode has only one production environment and corresponds to a single MaxCompute project. The following example uses a workspace in standard mode.

DataWorks provides task scheduling, metadata management, data governance, and data security control for MaxCompute, while computation and storage occur within MaxCompute. In standard mode, DataWorks associates separate MaxCompute projects with the development and production environments to isolate storage and resources.

引擎绑定