Skip to content

Commit db1258c

Browse files
authored
docs: add VACUUM VIRTUAL COLUMN SQL reference (#3175)
1 parent 254f0b6 commit db1258c

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: VACUUM VIRTUAL COLUMN
3+
---
4+
5+
删除某张表过期的虚拟列文件。
6+
7+
:::note
8+
此命令需要虚拟列企业版功能。
9+
:::
10+
11+
## 语法
12+
13+
```sql
14+
VACUUM VIRTUAL COLUMN FROM [ <catalog_name>. ][ <database_name>. ]<table_name>
15+
```
16+
17+
## 输出
18+
19+
返回被删除文件的数量。

docs/cn/sql-reference/10-sql-commands/50-administration-cmds/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ title: 管理命令
4343
| **[VACUUM TABLE](09-vacuum-table.md)** | 回收表的存储空间 |
4444
| **[VACUUM DROP TABLE](09-vacuum-drop-table.md)** | 清理已删除表的数据 |
4545
| **[VACUUM TEMP FILES](09-vacuum-temp-files.md)** | 移除临时文件 |
46+
| **[VACUUM VIRTUAL COLUMN](10-vacuum-virtual-column.md)** | 删除过期的虚拟列文件 |
4647
| **[SHOW INDEXES](show-indexes.md)** | 显示表索引(Index) |
4748

4849
## 动态执行
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: VACUUM VIRTUAL COLUMN
3+
---
4+
5+
Removes obsolete virtual column files for a table.
6+
7+
:::note
8+
This command requires the virtual column enterprise feature.
9+
:::
10+
11+
## Syntax
12+
13+
```sql
14+
VACUUM VIRTUAL COLUMN FROM [ <catalog_name>. ][ <database_name>. ]<table_name>
15+
```
16+
17+
## Output
18+
19+
Returns the number of removed files.

docs/en/sql-reference/10-sql-commands/50-administration-cmds/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ This page provides reference information for the system administration commands
4343
| **[VACUUM TABLE](09-vacuum-table.md)** | Reclaim storage space from tables |
4444
| **[VACUUM DROP TABLE](09-vacuum-drop-table.md)** | Clean up dropped table data |
4545
| **[VACUUM TEMP FILES](09-vacuum-temp-files.md)** | Remove temporary files |
46+
| **[VACUUM VIRTUAL COLUMN](10-vacuum-virtual-column.md)** | Remove obsolete virtual column files |
4647
| **[SHOW INDEXES](show-indexes.md)** | Display table indexes |
4748

4849
## Dynamic Execution

0 commit comments

Comments
 (0)