> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# tables_config

> tables_config 提供表配置的信息。

`tables_config` 提供有关表配置的信息。

`tables_config` 提供以下字段：

| **字段** | **描述** |
| - | - |
| TABLE\_SCHEMA | 表所属的数据库名称。 |
| TABLE\_NAME | 表名。 |
| TABLE\_ENGINE | 表的引擎类型。 |
| TABLE\_MODEL | 表的类型。 有效值：`DUP_KEYS`、`AGG_KEYS`、`UNQ_KEYS` 和 `PRI_KEYS`。 |
| PRIMARY\_KEY | 主键表或更新表的唯一约束键。如果该表不是主键表或更新表，则返回空字符串。 |
| PARTITION\_KEY | 表的分区键。 |
| DISTRIBUTE\_KEY | 表的分桶键。 |
| DISTRIBUTE\_TYPE | 表的分桶方式。 |
| DISTRIBUTE\_BUCKET | 表的分桶数。 |
| SORT\_KEY | 表的排序键。 |
| PROPERTIES | 表的属性。 |
| TABLE\_ID | 表的 ID。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.