1、collection中的數據大小
db.collection.dataSize()
2、為collection分配的空間大小,包括未使用的空間
db.collection.storageSize()
3、collection中索引數據大小
db.collection.totalIndexSize()
4、collection中索引+data所占空間
db.collection.totalSize()
1、collection中的數據大小
db.collection.dataSize()
2、為collection分配的空間大小,包括未使用的空間
db.collection.storageSize()
3、collection中索引數據大小
db.collection.totalIndexSize()
4、collection中索引+data所占空間
db.collection.totalSize()
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。