Update 04-maintenance.md

This commit is contained in:
WhiteFirry 2025-01-21 13:45:50 +08:00 committed by GitHub
parent acdee96803
commit fae6669330
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ TDengine 面向多种写入场景而很多写入场景下TDengine 的存
```SQL
COMPACT DATABASE db_name [start with 'XXXX'] [end with 'YYYY']
COMPACT [db_name.]VGROUPS IN (vgroup_id1, vgroup_id2, ...) [start with 'XXXX'] [end with 'YYYY']
SHOW COMPACTS [compact_id]
SHOW COMPACTS
SHOW COMPACT compact_id;
KILL COMPACT compact_id
```