Concept hierarchy

更新时间:
复制 MD 格式

MaxCompute organizes its resources using a layered concept hierarchy. Understanding this hierarchy helps you plan projects and manage access control before you start building.

The figure below shows the full hierarchy.

image.png

Data organization

ConceptDescription
ProjectThe basic organizational unit in MaxCompute, similar to a database or schema in a traditional database system. A project isolates users and controls access. Storage fees are charged at the project level. For details, see Project.
SchemaA namespace within a project for grouping tables, resources, and functions. Use schemas when a single project contains multiple logical datasets or teams. For details, see Schema-related operations.
TableThe primary data storage object in MaxCompute, equivalent to a relational table. For details, see Table.
PartitionA logical division of a table along one or more partition key columns. Each partition maps to a separate subdirectory. For details, see Partition.
ViewA virtual table defined by a saved query against one or more existing tables. Use views when you want to retain query results without the need to create additional tables. For details, see View-related operations.

Compute and runtime

ConceptDescription
QuotaA computing resource pool that provides the computing resources required for running jobs. A project is associated with either a pay-as-you-go quota or a subscription quota. For details, see Quota.
InstanceA single running job, similar to a job in Hadoop. For details, see Task instance.
ResourceA special concept in MaxCompute. Resources are required to implement user-defined functions (UDFs) and MapReduce operations. For details, see Resource.
FunctionA callable unit of logic. MaxCompute provides built-in functions and supports user-defined functions (UDFs). For details, see Function.

Access control

ConceptDescription
UserAn identity that can access MaxCompute — either an Alibaba Cloud account, a RAM user, or a principal assigned a RAM role. All users except the project owner must be explicitly added to a project and granted permissions to manage data, jobs, resources, and functions. For details, see User planning and management.
RoleA named permission set assigned to one or more users. Granting permissions to a role automatically extends those permissions to every user assigned that role. One user can hold multiple roles, and multiple users can hold the same role. For details, see Role planning.

Networking

ConceptDescription
Network connectionA configured pathway between MaxCompute and external services — such as HBase, RDS, or Hadoop — over a virtual private cloud (VPC) or the Internet. Required before using external tables, UDFs, or the lakehouse solution. For details, see Network connection process.

How concepts map to an organization

The figure below shows how these concepts apply to a typical enterprise setup.

image.png

In this example, an enterprise activates pay-as-you-go MaxCompute in the China (Shanghai) region and purchases subscription computing resources. For the pay-as-you-go MaxCompute service, the default pay-as-you-go quota is used. For subscription computing resources, the default subscription quota is used.

  • Department A creates Project A and enables schemas. Schema 1 inside Project A holds Table 1, Table 2, and Function 1. Project A is associated with the default subscription quota, so all jobs in that project draw from the subscription resource pool. User A has access to Project A's data and can submit jobs.

  • Department B creates Project B without enabling schemas. Table 3, Table 4, View 1, and Resource 1 are stored directly in the project. Project B is associated with the default pay-as-you-go quota. User B has access to Project B's data and can submit jobs.

Billing summary

  • Storage: charged per project, regardless of quota type.

  • Pay-as-you-go queries: query costs are charged against the project that submits the job.

  • Subscription queries: no additional per-query charges; costs are covered by the subscription.