{
"db" : "nameDatabase",
"collections" : 2,
"views" : 0,
"objects" : 2104394,
"avgObjSize" : 459217.714875161,
"dataSize" : 966375003877.0,
"storageSize" : 466821181440.0,
"numExtents" : 0,
"indexes" : 2,
"indexSize" : 36229120.0,
"ok" : 1.0
}
dataSize = Actual size of the information in the database
storageSize = dataSize + deleted documents (space free)
storageSize - dataSize = 499553822437.0 *free space available to rewrite with new documents. Correct?
Although db.stats() indicates those values, if I consult my hard disk the collectionXXX.wt file occupies 394GB and continues to grow... I only have 11GB free (critical).
How is it possible?? Any solution?
I've used compact but it is not freeing up hard disk space.
(Mongodb version version 3.4.7)