tencent cloud

TDSQL Boundless

META_CLUSTER_DATA_OBJECTS

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-07-17 16:08:46

Function

The INFORMATION_SCHEMA.META_CLUSTER_DATA_OBJECTS view displays metadata related to data objects within an instance.

Field Description

Field Name
Type
Description
data_obj_id
int unsigned
ID of the data object.
data_obj_name
varchar(64)
Naming of data objects.
data_obj_type
varchar(64)
Type of data object.
data_space_type
varchar(64)
Type of data space.
distribution_policy_id
int unsigned
Bound DP ID.
schema_name
varchar(64)
Naming of data objects.
table_name
varchar(64)
Table name.
partition_name
varchar(64)
Primary partition name (NULL if not a primary partition).
sub_partition_name
varchar(64)
Second-level partition name (NULL if not a second-level partition).
index_name
varchar(64)
Index name (PRIMARY if it is a primary key index).
storage_tier
varchar(64)
Storage tier of the data object. The values are as follows:
STORAGE_TIER_OPT_AUTO: Auto mode, where the system determines the storage location for data objects based on the default storage tier and the hot/cold data tiering policy.
STORAGE_TIER_OPT_LOCAL_STORAGE: Local storage, where data objects are stored on local disks.
STORAGE_TIER_OPT_OBJECT_STORAGE: COS, where data objects are stored in COS for cold data archiving.

Examples

tdsql>SELECT * FROM INFORMATION_SCHEMA.META_CLUSTER_DATA_OBJECTS LIMIT 2\\G
*************************** 1. row ***************************
data_obj_id: 268
data_obj_name: time_zone
data_obj_type: BASE_TABLE
data_space_type: DATA_SPACE_TYPE_SYSTEM
distribution_policy_id: 1
schema_name: mysql
table_name: time_zone
partition_name:
sub_partition_name:
index_name: PRIMARY
storage_tier: STORAGE_TIER_OPT_LOCAL_STORAGE
*************************** 2. row ***************************
data_obj_id: 512
data_obj_name: orders_archive
data_obj_type: BASE_TABLE
data_space_type: DATA_SPACE_TYPE_USER
distribution_policy_id: 2
schema_name: sales
table_name: orders_archive
partition_name:
sub_partition_name:
index_name: PRIMARY
storage_tier: STORAGE_TIER_OPT_OBJECT_STORAGE
2 rows in set (0.01 sec)

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백