Details
-
Question
-
Resolution: Duplicate
-
Major - P3
-
None
-
4.4.2
-
None
Description
We run MongoDB 4.4.2 in RS to store about 13Tb of data, and in case of deleting some unused datasets from collections we need to reclaim disk space.
For this option we use compact() functionality, but it doesn't work as expect.
wiredTiger["block-manager"]["file bytes available for reuse"] |
19963424768
|
but
db.runCommand({ compact: 'my_collection'}) |
{
|
"bytesFreed" : 315392, |
"ok" : 1, |
"$clusterTime" : { |
"clusterTime" : Timestamp(1612200831, 1256), |
"signature" : { |
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), |
"keyId" : NumberLong(0) |
}
|
},
|
"operationTime" : Timestamp(1612200082, 1373) |
}
|
and no extra space on disk.
Any ideas?
Attachments
Issue Links
- is duplicated by
-
SERVER-54378 Report useful information during the compact command
-
- Closed
-
- related to
-
SERVER-41596 Compact doesn't work on all cases
-
- Backlog
-
-
DOCS-14201 Document under what conditions the compact command will not compact data
-
- Closed
-
-
SERVER-54378 Report useful information during the compact command
-
- Closed
-