Skip to content

Commit

Permalink
clear disk space after compaction (#1347)
Browse files Browse the repository at this point in the history
* Update 5.drop-space.md

* clear disk space after compaction

* Update 5.drop-space.md

* Update docs-2.0/3.ngql-guide/9.space-statements/5.drop-space.md
  • Loading branch information
abby-cyber committed Dec 30, 2021
1 parent df6de28 commit 4d682b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/9.space-statements/5.drop-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DROP SPACE [IF EXISTS] <graph_space_name>;

`IF EXISTS`关键字可以检测待删除的图空间是否存在,只有存在时,才会删除图空间。

`DROP SPACE`语句不会立刻删除硬盘上对应图空间的目录和文件,请使用`USE`语句指定其他任意图空间,然后执行`SUBMIT JOB COMPACT`
`DROP SPACE`语句不会删除硬盘上对应图空间的目录和文件。如需删除无效空间的目录和文件,在 Storage 服务的配置文件中设置`auto_remove_invalid_space=true`。关于 Storage 服务的配置文件的路径,参见 [Storage 服务配置](../../5.configurations-and-logs/1.configurations/4.storage-config.md)

!!! caution

Expand Down

0 comments on commit 4d682b0

Please sign in to comment.