Skip to content

Commit 28d99ff

Browse files
AI Translate 31-system-tables to Simplified-Chinese (#2480)
* [INIT] Start translation to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese * 🌐 Translate _category_.json to Simplified-Chinese --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 56c4f8c commit 28d99ff

28 files changed

+191
-196
lines changed

.translation-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Translation initialization: 2025-06-30T12:46:17.808223
1+
Translation initialization: 2025-07-01T09:17:18.293747

docs/cn/sql-reference/00-sql-reference/31-system-tables/index.md

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,35 @@ title: 系统表
44

55
# 系统表
66

7-
Databend 提供了一组系统表,其中包含有关 Databend 部署、数据库、表、查询和系统性能的元数据。这些表是只读的,并由系统自动更新。
7+
Databend 提供了一组系统表,其中包含有关 Databend 部署、数据库、表、查询和系统性能的元数据 (metadata)。这些表是只读的,并由系统自动更新。
88

9-
系统表在 `system` 模式中组织,可以使用标准 SQL 查询。它们提供有价值的信息,用于监控、故障排除和了解您的 Databend 环境
9+
系统表位于 `system` 模式(schema)中,可以使用标准 SQL 进行查询。它们为监控、故障排查和了解 Databend 环境提供了有价值的信息
1010

1111
## 可用的系统表
1212

1313
### 数据库和表元数据
1414

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) | 列出系统中可用的虚拟列。 |
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.views](system-views.md) | 包含系统中所有视图(View)的信息。 |
21+
| [system.databases_with_history](system-databases-with-history.md) | 包含数据库的历史信息,包括已删除的数据库。 |
22+
| [system.columns](system-columns.md) | 提供所有表中列的信息。 |
23+
| [system.indexes](system-indexes.md) | 包含表索引(Index)的信息。 |
24+
| [system.virtual_columns](system-virtual-columns.md) | 列出系统中可用的虚拟列 (Virtual Column)。 |
2425

25-
### 查询和性能
26+
### 查询与性能
2627

2728
|| 描述 |
2829
|-------|-------------|
29-
| [system.query_log](system-query-log.md) | 包含有关已执行查询的信息,包括性能指标。 |
30+
| [system.query_log](system-query-log.md) | 包含有关已执行查询(Query)的信息,包括性能指标 (Metrics)|
3031
| [system.metrics](system-metrics.md) | 包含有关系统指标事件的信息。 |
3132
| [system.query_cache](system-query-cache.md) | 提供有关查询缓存的信息。 |
3233
| [system.locks](system-locks.md) | 包含系统中已获取锁的信息。 |
3334

34-
### 函数和设置
35+
### 函数与设置
3536

3637
|| 描述 |
3738
|-------|-------------|
@@ -45,23 +46,17 @@ Databend 提供了一组系统表,其中包含有关 Databend 部署、数据
4546

4647
|| 描述 |
4748
|-------|-------------|
48-
| [system.build_options](system-build-options.md) | 包含有关用于编译 Databend 的构建选项的信息|
49-
| [system.clusters](system-clusters.md) | 包含系统中计算集群的信息|
49+
| [system.build_options](system-build-options.md) | 包含用于编译 Databend 的构建选项 (Build Options) 信息|
50+
| [system.clusters](system-clusters.md) | 包含系统中集群 (Clusters) 的信息|
5051
| [system.contributors](system-contributors.md) | 列出 Databend 项目的贡献者。 |
51-
| [system.credits](system-credits.md) | 包含有关 Databend 中使用的第三方库的信息。 |
52+
| [system.credits](system-credits.md) | 包含 Databend 中使用的第三方库的信息。 |
5253
| [system.caches](system-caches.md) | 提供有关系统缓存的信息。 |
5354

5455
### 实用工具表
5556

5657
|| 描述 |
5758
|-------|-------------|
58-
| [system.numbers](system-numbers.md) | 一个包含从 0 开始的整数的单列的表,用于生成测试数据|
59-
| [system.streams](system-streams.md) | 包含系统中流的信息|
59+
| [system.numbers](system-numbers.md) | 一个包含单列整数(从 0 开始)的表,可用于生成测试数据|
60+
| [system.streams](system-streams.md) | 包含系统中流(stream)的信息|
6061
| [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 标准表元数据视图。 |
62+
| [system.temp_files](system-temp-files.md) | 包含有关临时文件的信息。 |

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-build-options.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: system.build_options
33
---
44

5-
该系统表描述了当前 Databend 版本的构建选项。
5+
此系统表描述了当前 Databend 版本的构建选项。
66

7-
- `cargo_features`: 已启用的包特性,这些特性在 `Cargo.toml``[features]` 部分中列出
8-
- `target_features`: 已为当前编译目标启用的平台特性。参考:[Conditional Compilation - `target_feature`](https://doc.rust-lang.org/reference/conditional-compilation.html#target_feature)
7+
- `cargo_features`:已启用的 Cargo 功能特性,这些功能列在 `Cargo.toml``[features]` 部分
8+
- `target_features`:已为当前编译目标启用的目标平台特性。参考:[条件编译 - `target_feature`](https://doc.rust-lang.org/reference/conditional-compilation.html#target_feature)
99

1010
```sql
1111
SELECT * FROM system.build_options;
@@ -18,4 +18,4 @@ SELECT * FROM system.build_options;
1818
| | sse2 |
1919
+----------------+---------------------+
2020
4 rows in set (0.031 sec)
21-
```
21+
```

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-caches.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: system.caches
33
---
44

5-
Databend 中管理的各种缓存的概述
5+
Databend 中管理的各种缓存(Cache)概述
66

7-
下表显示了缓存名称、缓存中的项目数以及缓存大小
7+
下表展示了各个缓存的名称、项目数量及大小
88
```sql
99
SELECT * FROM system.caches;
1010
+--------------------------------+-----------+------+

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-clusters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: system.clusters
33
---
44

5-
包含集群节点的信息
5+
包含有关集群节点的信息
66

7-
:::note
8-
您可以使用配置选项 `disable_system_table_load` 来禁用对 `clusters` 表的访问。
7+
:::note
8+
你可以通过配置选项 `disable_system_table_load` 禁用对 `clusters` 表的访问。
99

10-
例如,Databend Cloud 的用户将无法看到此表
10+
例如,DatabendCloud 用户将无法查看此表
1111
:::
1212

1313
```sql

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-columns.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: system.columns
33
---
44

5-
包含表列的信息
5+
包含表列的相关信息
66

77
```sql
88
DESC system.columns;
@@ -38,5 +38,4 @@ DESC system.columns;
3838
| scan_progress_read_bytes | system | processes | UInt64 | BIGINT UNSIGNED | | | NO | |
3939
| mysql_connection_id | system | processes | Nullable(UInt32) | INT UNSIGNED | | | YES | |
4040
....
41-
4241
```

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-configs.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
包含 Databend 服务器配置的信息。
1+
---
2+
title: system.configs
3+
---
4+
5+
包含有关 Databend 服务器配置的信息。
26

37
:::note
4-
您可以使用配置选项 `disable_system_table_load` 禁用对 `configs` 表的访问。
8+
你可以使用配置选项 `disable_system_table_load` 禁用对 `configs` 表的访问。
59

6-
例如,Databend Cloud 的用户将无法看到此表
10+
例如,DatabendCloud 的用户将无法查看此表
711
:::
812

913
```sql

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-contributors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: system.contributors
33
---
44

5-
包含贡献者的信息
5+
包含有关贡献者的信息
66

77
```sql
88
SELECT * FROM system.contributors LIMIT 20;
@@ -21,7 +21,7 @@ SELECT * FROM system.contributors LIMIT 20;
2121
| smallfish |
2222
| sundy-li |
2323
| sundyli |
24-
| taiyang-li |
24+
| taiyang-li |
2525
| TLightSky |
2626
| Winter Zhang |
2727
| wubx |

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-credits.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: system.credits
33
---
44

5-
包含有关 credits 的信息。
5+
包含有关鸣谢(credits的信息。
66

77
```sql
88
SELECT * FROM system.credits LIMIT 20;
@@ -29,5 +29,4 @@ SELECT * FROM system.credits LIMIT 20;
2929
| async-stream | 0.3.2 | MIT |
3030
| async-stream-impl | 0.3.2 | MIT |
3131
| async-trait | 0.1.51 | Apache-2.0 OR MIT |
32-
+-------------------+---------+---------------------------+
33-
```
32+
+-------------------+---------+---------------------------+```

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-databases-with-history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
66

77
<FunctionDescription description="Introduced: v1.1.658"/>
88

9-
记录所有数据库,包括活跃的和已删除的。它显示了每个数据库的 catalog、名称、唯一 ID、所有者(如果已指定)以及删除时间戳(如果仍然活跃,则为 NULL)。
9+
记录所有数据库,包括活跃和已删除的数据库。显示每个数据库的目录 (Catalog)、名称、唯一 ID (Unique ID)、所有者 (Owner)(如果已指定)以及删除时间戳 (Deletion Timestamp)(如果仍处于活跃状态,则为 NULL)。
1010

1111
另请参阅:[SHOW DROP DATABASES](../../10-sql-commands/00-ddl/00-database/show-drop-databases.md)
1212

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-databases.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: system.databases
33
---
44

5-
提供了系统中所有数据库的元数据,包括它们的 catalogs、名称、唯一 ID、所有者和删除时间戳。
5+
提供系统中所有数据库的元数据,包括目录、名称、唯一 ID、所有者和删除时间戳。
66

77
另请参阅:[SHOW DATABASES](../../10-sql-commands/00-ddl/00-database/show-databases.md)
88

9-
```sql title='Examples:'
9+
```sql title='示例:'
1010
SELECT * FROM system.databases;
1111

1212
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
13+
│ 目录 │ 名称 │ 数据库 ID │ 所有者 │ 删除时间 │
1314
│ catalog │ name │ database_id │ owner │ dropped_on │
1415
├─────────┼────────────────────┼─────────────────────┼──────────────────┼─────────────────────┤
1516
│ default │ system │ 4611686018427387905NULLNULL
@@ -19,18 +20,19 @@ SELECT * FROM system.databases;
1920
└─────────────────────────────────────────────────────────────────────────────────────────────┘
2021
```
2122

22-
要显示 `system.databases` 的 schema,请使用 `DESCRIBE system.databases`:
23+
要查看 `system.databases` 的表结构,请使用 `DESCRIBE system.databases`
2324

2425
```sql
2526
DESCRIBE system.databases;
2627

2728
┌───────────────────────────────────────────────────────────┐
29+
│ 字段 │ 类型 │ 可为空 │ 默认值 │额外信息│
2830
│ Field │ Type │ Null │ Default │ Extra │
2931
├─────────────┼─────────────────┼────────┼─────────┼────────┤
30-
│ catalog │ VARCHARNO '' │ │
31-
│ name │ VARCHARNO '' │ │
32-
│ database_id │ BIGINT UNSIGNED │ NO 0 │ │
33-
│ owner │ VARCHARYES NULL │ │
34-
│ dropped_on │ TIMESTAMPYES NULL │ │
32+
│ catalog │ VARCHAR NO'' │ │
33+
│ name │ VARCHAR NO'' │ │
34+
│ database_id │ BIGINT UNSIGNED │ NO0 │ │
35+
│ owner │ VARCHAR YESNULL │ │
36+
│ dropped_on │ TIMESTAMP YESNULL │ │
3537
└───────────────────────────────────────────────────────────┘
3638
```

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: system.functions
44

55
import FunctionDescription from '@site/src/components/FunctionDescription';
66

7-
<FunctionDescription description="Introduced or updated: v1.2.315"/>
7+
<FunctionDescription description="引入或更新于:v1.2.315"/>
88

9-
包含有关支持的内置标量和聚合的信息
9+
包含有关支持的内置标量函数和聚合函数的信息
1010

1111
另请参阅:[SHOW FUNCTIONS](/sql/sql-commands/administration-cmds/show-functions)
1212

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-indexes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
66

77
<FunctionDescription description="Introduced: v1.1.50"/>
88

9-
包含有关已创建索引的信息
9+
包含有关已创建索引(Index)的信息
1010

1111
另请参阅:[SHOW INDEXES](../../10-sql-commands/50-administration-cmds/show-indexes.md)
1212

@@ -16,10 +16,10 @@ CREATE TABLE t1(a int,b int);
1616
CREATE AGGREGATING INDEX idx1 AS SELECT SUM(a), b FROM default.t1 WHERE b > 3 GROUP BY b;
1717

1818
SELECT * FROM system.indexes
19+
```
1920

2021
+----------+-------------+------------------------------------------------------------+----------------------------+
2122
| name | type | definition | created_on |
2223
+----------+-------------+------------------------------------------------------------+----------------------------+
2324
| test_idx | AGGREGATING | SELECT b, SUM(a) FROM default.t1 WHERE (b > 3) GROUP BY b | 2023-05-17 11:53:54.474377 |
24-
+----------+-------------+------------------------------------------------------------+----------------------------+
25-
```
25+
+----------+-------------+------------------------------------------------------------+----------------------------+

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-locks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
66

77
<FunctionDescription description="Introduced or updated: v1.2.262"/>
88

9-
包含系统中锁的信息
9+
包含系统中锁的相关信息
1010

1111
另请参阅:[SHOW LOCKS](../../10-sql-commands/00-ddl/14-transaction/show-locks.md)
1212

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-metrics.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: system.metrics
33
---
44

5-
包含指标事件的信息。
6-
5+
包含有关指标事件的信息。
76

87
```sql
98
SELECT * FROM system.metrics;
@@ -23,5 +22,4 @@ SELECT * FROM system.metrics;
2322
| parser_parse_usedtime | summary | {} | [{"quantile":0.0,"count":0.000084647},{"quantile":0.5,"count":0.00035389863363880604},{"quantile":0.9,"count":0.0007507033214071675},{"quantile":0.95,"count":0.0007754244284730125},{"quantile":0.99,"count":0.0008191035653466911},{"quantile":0.999,"count":0.0008191035653466911},{"quantile":1.0,"count":0.0011012603000499356}] |
2423
| mysql_process_request_duration | summary | {} | [{"quantile":0.0,"count":0.007505268},{"quantile":0.5,"count":0.0120836736849045},{"quantile":0.9,"count":0.015794397051616272},{"quantile":0.95,"count":0.01716470533994825},{"quantile":0.99,"count":0.01716470533994825},{"quantile":0.999,"count":0.01716470533994825},{"quantile":1.0,"count":0.21222674793285548}] |
2524
| optimizer_optimize_usedtime | summary | {} | [{"quantile":0.0,"count":0.000398654},{"quantile":0.5,"count":0.0008709726097674335},{"quantile":0.9,"count":0.0013493935265982112},{"quantile":0.95,"count":0.0014431890055320044},{"quantile":0.99,"count":0.0014431890055320044},{"quantile":0.999,"count":0.0014431890055320044},{"quantile":1.0,"count":0.0015506206225213148}] |
26-
+--------------------------------------+---------+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
27-
```
25+
+--------------------------------------+---------+---------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+```

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-numbers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: system.numbers
33
---
44

5-
该表包含一个名为 number 的 UInt64 列,其中包含几乎所有从零开始的自然数
5+
此表包含一个名为 `number` 的 UInt64 列,其中包含从零开始的几乎所有自然数
66

7-
您可以将此表用于测试,或者如果您需要进行暴力搜索
7+
你可以使用此表进行测试,或者在需要进行暴力搜索时使用
88

9-
从此表的读取也是并行化的
9+
读取此表的操作也是并行的
1010

1111
用于测试。
1212

0 commit comments

Comments
 (0)