Skip to content

Conversation

@leto-b
Copy link
Collaborator

@leto-b leto-b commented Jan 27, 2026

When executing a conventional data deletion command (the DELETE FROM statement), disk space is not immediately released. Instead, the data is marked first, and disk space is gradually freed by background tasks.
You can speed up this process by adjusting the parameters inner_compaction_task_selection_disk_redundancy and inner_compaction_task_selection_mods_file_threshold to smaller values.
The database deletion command (the DROP DATABASE statement) can immediately release disk space.

@CritasWang CritasWang merged commit 380c755 into apache:main Jan 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants