Updated on 2025-12-19 GMT+08:00

Basic Concepts

Basic Concepts of Elastic Resource Pools

This section explains the meanings of actual CUs, used CUs, CU range, and yearly/monthly CUs (specifications) in elastic resource pools.

Basic Concepts of Queues

This section explains the meanings of queue types, actual CUs, used CUs, minimum CUs, and maximum CUs in queue scaling policies of DLI elastic resource pools.

Database

A database is a structured repository designed to organize, store, and manage data efficiently. In DLI, databases serve as the fundamental unit for managing permissions, with access rights assigned at the database level.

Within DLI, both tables and databases act as metadata containers that define underlying data structures. Table metadata informs DLI about the location of the data and specifies its structure, such as column names, data types, and table names. Databases provide logical groupings for these tables.

OBS Tables, DLI Tables, CloudTable Tables

Different table types indicate distinct storage locations:

  • OBS table: Data is stored in buckets within OBS.
  • DLI table: Data is stored in tables internal to DLI.

    DLI storage resources are internal resources used to house databases and DLI tables, essential for importing data into DLI and reflecting the volume of user data stored within the service.

  • CloudTable table: Data is stored in tables managed by CloudTable.

Tables can be created through DLI to establish connections with other services, enabling federated query and analysis across diverse data sources.

Metadata

Metadata refers to data that defines other data types. It primarily describes information about the data itself, including its source, size, format, or other characteristics. In database fields, metadata is used to interpret the contents of a data warehouse.

SQL Jobs

A SQL job refers to the execution entity within the system that handles operations such as running SQL statements, importing data, and exporting data through the SQL job editor.

It is ideal for scenarios involving structured data queries and analysis using standard SQL.

Flink Jobs

Designed for real-time stream processing, Flink jobs are suited for low-latency applications requiring rapid responses, such as real-time monitoring and online analytics.

  • Flink OpenSource jobs: These allow you to use DLI-provided connectors and APIs for seamless integration with other data systems during job submission.
  • Flink Jar jobs: You can submit pre-compiled JAR files containing Flink jobs, offering greater flexibility and customization. This type is ideal for complex data processing tasks involving custom functions, UDFs, or specific library integrations, enabling advanced stream processing logic and state management using Flink's ecosystem.

Spark Jobs

Spark jobs refer to those submitted via visual interfaces or RESTful APIs, supporting full-stack Spark functionalities including Spark Core, DataSet, MLlib, and GraphX.

CU

CU represents the unit of compute resources in DLI. One CU equals one vCPU paired with 4 GB of memory. Higher specifications correspond to increased computational power.

Constants and Variables

The differences between constants and variables are as follows:

  • Constants retain their value throughout program execution and cannot be altered. They are strictly read-only.
  • Variables are both readable and writable. A variable represents a specific memory address where the stored value can be updated at any time during runtime. For example, in int a = 123, a is an integer variable.

Table Lifecycle

The table lifecycle management feature in DLI automatically reclaims table (or partition) data if it remains unchanged after a specified period from its last update. This duration is termed the lifecycle. The feature simplifies storage space reclamation and data recycling processes while providing backup and recovery options to prevent accidental data loss.