|
| 1 | +--- |
| 2 | +title: 系统表 |
| 3 | +--- |
| 4 | + |
| 5 | +# 系统表 |
| 6 | + |
| 7 | +Databend 提供了一组系统表,其中包含有关 Databend 部署、数据库、表、查询和系统性能的元数据。这些表是只读的,并由系统自动更新。 |
| 8 | + |
| 9 | +系统表在 `system` 模式中组织,可以使用标准 SQL 查询。它们提供有价值的信息,用于监控、故障排除和了解您的 Databend 环境。 |
| 10 | + |
| 11 | +## 可用的系统表 |
| 12 | + |
| 13 | +### 数据库 & 表元数据 |
| 14 | + |
| 15 | +| 表 | 描述 | |
| 16 | +|-------|-------------| |
| 17 | +| [system.tables](system-tables.md) | 提供所有表的元数据信息,包括属性、创建时间、大小等。 | |
| 18 | +| [system.tables_with_history](system-tables-with-history.md) | 提供表的历史元数据信息,包括已删除的表。 | |
| 19 | +| [system.databases](system-databases.md) | 包含系统中所有数据库的信息。 | |
| 20 | +| [system.databases_with_history](system-databases-with-history.md) | 包含数据库的历史信息,包括已删除的数据库。 | |
| 21 | +| [system.columns](system-columns.md) | 提供所有表中列的信息。 | |
| 22 | +| [system.indexes](system-indexes.md) | 包含表索引的信息。 | |
| 23 | +| [system.virtual_columns](system-virtual-columns.md) | 列出系统中可用的虚拟列。 | |
| 24 | + |
| 25 | +### 查询 & 性能 |
| 26 | + |
| 27 | +| 表 | 描述 | |
| 28 | +|-------|-------------| |
| 29 | +| [system.query_log](system-query-log.md) | 包含有关已执行查询的信息,包括性能指标。 | |
| 30 | +| [system.metrics](system-metrics.md) | 包含有关系统指标事件的信息。 | |
| 31 | +| [system.query_cache](system-query-cache.md) | 提供有关查询缓存的信息。 | |
| 32 | +| [system.locks](system-locks.md) | 包含系统中已获取锁的信息。 | |
| 33 | + |
| 34 | +### 函数 & 设置 |
| 35 | + |
| 36 | +| 表 | 描述 | |
| 37 | +|-------|-------------| |
| 38 | +| [system.functions](system-functions.md) | 列出所有可用的内置函数。 | |
| 39 | +| [system.table_functions](system-table-functions.md) | 列出所有可用的表函数。 | |
| 40 | +| [system.user_functions](system-user-functions.md) | 包含有关用户定义函数的信息。 | |
| 41 | +| [system.settings](system-settings.md) | 包含有关系统设置的信息。 | |
| 42 | +| [system.configs](system-configs.md) | 包含 Databend 部署的配置信息。 | |
| 43 | + |
| 44 | +### 系统信息 |
| 45 | + |
| 46 | +| 表 | 描述 | |
| 47 | +|-------|-------------| |
| 48 | +| [system.build_options](system-build-options.md) | 包含有关用于编译 Databend 的构建选项的信息。 | |
| 49 | +| [system.clusters](system-clusters.md) | 包含系统中计算集群的信息。 | |
| 50 | +| [system.contributors](system-contributors.md) | 列出 Databend 项目的贡献者。 | |
| 51 | +| [system.credits](system-credits.md) | 包含有关 Databend 中使用的第三方库的信息。 | |
| 52 | +| [system.caches](system-caches.md) | 提供有关系统缓存的信息。 | |
| 53 | + |
| 54 | +### 实用工具表 |
| 55 | + |
| 56 | +| 表 | 描述 | |
| 57 | +|-------|-------------| |
| 58 | +| [system.numbers](system-numbers.md) | 一个包含从 0 开始的整数的单列表,可用于生成测试数据。 | |
| 59 | +| [system.streams](system-streams.md) | 包含系统中流的信息。 | |
| 60 | +| [system.temp_tables](system-temp-tables.md) | 包含有关临时表的信息。 | |
| 61 | +| [system.temp_files](system-temp-files.md) | 包含有关临时文件的信息。 | |
| 62 | + |
| 63 | +### 信息模式 |
| 64 | + |
| 65 | +| 表 | 描述 | |
| 66 | +|-------|-------------| |
| 67 | +| [information_schema.tables](information-schema-tables.md) | ANSI SQL 标准表元数据视图。 | |
0 commit comments