Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear disk space after compaction #998

Merged
merged 1 commit into from
Dec 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>;

You can use the `IF EXISTS` keywords when dropping spaces. These keywords automatically detect if the related graph space exists. If it exists, it will be deleted. Otherwise, no graph space will be deleted.

The `DROP SPACE` statement does not immediately remove all the files and directories from the disk. You can specify another graph space with the `USE` statement and `submit job compact`.
The `DROP SPACE` statement does not remove all the files and directories from the disk. To remove all the files and directories, add `auto_remove_invalid_space=true` to the Storage Service configuration file. For the file path, see [Storage Service configurations](../../5.configurations-and-logs/1.configurations/4.storage-config.md).

!!! caution

Expand Down