This topic describes how to use the SQL Analysis feature in the MaxCompute console to edit, execute, and analyze the results of SQL statements online.
To adapt to the evolution of cloud-native technologies and meet increasingly complex data analytics needs, the SQL Analysis feature in the Alibaba Cloud MaxCompute console has been upgraded and is now available in all regions. For more information about the new features and how to enable them, see Connect using SQL Analysis (new version).
The entry point for the previous version of SQL Analysis will be shut down on March 31, 2026 (UTC+8). Make sure to clear local files from the old workspace promptly. We recommend manually moving them to your personal folder in the new version of SQL Analysis for future use.
Function overview
Edit and execute SQL statements online, and analyze query results using charts.
Includes built-in public dataset demos that you can run directly to quickly experience and test MaxCompute features.
Use case
Quick experience: Quickly experience the core features of MaxCompute based on public datasets.
Ad hoc testing: Run SQL commands for temporary tests, such as viewing table data.
SQL Analysis interface
Editor area

Module | Description |
Tab bar | File tabs. You can open multiple files at the same time.
|
Toolbar |
|
Editor |
|
Runtime parameter configuration area

Module | Description |
Project |
|
Computing quota |
|
Results area

Module | Description |
PROBLEMS | Before script execution, the syntax and standards of all open file scripts in the editor area are automatically checked. |
METADATA | Select an object, such as a table, resource, or user-defined function, from Table Data or Public Datasets to display its metadata details. The details include basic information, column information, generated DDL, and data preview. Note that you need the relevant database permissions for the object. |
RESULT | The results of the executed script:
|
COST ANALYSIS | Displays the results of the COST SQL statement executed during the COST ANALYSIS. The results include the execution log and the final result. |
Resource manager

Right-click the empty area to the right of the EXPLORER to configure the display modules. For example, you can hide the TIMELINE module.
Module | Description |
File list |
Important Each time the system tries to read an on-premises folder, you must manually grant access permissions to all files in the folder to ensure data security. The server does not save any content from the folder. |
COMMONDATASET DEMO |
|
TIMELINE | Records the operation logs for files opened in the editor. The log information is stored in the cache. Clearing the cache deletes the logs. |
Search

Module | Description |
Search |
|
Replace |
|
Table Data

Displays a list of objects for all projects under the current tenant in the region. The objects include schemas, tables, views, resources, and functions.
Scope: An Alibaba Cloud account can view all projects. A Resource Access Management (RAM) user must be added to a project to view it.
SYSTEM_CATALOGproject: TheSYSTEM_CATALOGproject in the list is a system project for the tenant-level Information Schema. It is created by the system by default. The INFORMATION_SCHEMA is placed as a view under the "INFORMATION_SCHEMA" schema of this project and can be viewed directly.View permissions: To view the list of objects in a project, you need the corresponding List permission.
For table objects, if the currently logged-on account has
SELECTpermission, the icon for the table in the list is a green table icon
. This helps you quickly identify tables for which you have permissions.Schema level: After you expand a project, if the project has a schema level, the schema list is displayed first. If not, the data object classifications are displayed directly. Click a classification to expand the list of objects of that type.
Click an object to display its metadata details on the Metadata tab in the results area on the right.
Public datasets

Displays the table metadata information for the public datasets provided by the system.
Use SQL Analysis
SQL jobs execute within a project. After activating the MaxCompute service, create a project to perform SQL analysis.
Log on to the MaxCompute console and select a region in the top-left corner.
Because SQL jobs must be initiated within a project, create a project after activating the MaxCompute service to use the SQL analysis feature.
In the navigation pane on the left, choose .
On the Data Exploration > SQL Analysis page, create an SQL file.
When you open the SQL Analysis page for the first time, an SQL file named
untitled_xis created and opened by default. You can edit this file directly.Double-click a blank area on the file tab bar in the editor to create an SQL file.
Right-click the file tab bar in the editor and select New File.
After you enter SQL in the SQL editor, click Run Configurations on the right and configure the Project and Computing Quota.
Project: Required. The project in which to execute the SQL statements. You must have the
CREATE instancepermission for this project.Computing Quota: Optional. This parameter specifies the compute resource quota for the job. If you specify a quota, your account must have the
USAGEpermission for it. If you do not specify a quota, the SQL statements are executed using the default compute resource quota configured for the project.
Click Run and wait for the query to complete. In the execution results, you can click the
icon to perform a simple visual analysis.The SQL analysis interface does not support downloading execution results. To download results locally, use the following methods:
Execute the SQL task in the MaxCompute client (odpscmd), and then use the Tunnel command to download the results locally. For more information, see Download instance data.
Execute the SQL task in an ODPS SQL node in DataWorks Data Studio, and then click the Export button to download the results to your local computer. For more information, see Export, share, and download workbooks.
Click Save to save the current SQL file to your local computer.