Mongodb Collection/Index 对应的数据文件

db.collection_name.stats()
返回的结果包含集合数据对应的物理文件
db.trs_holographic_info.totalIndexSize({indexDetails:true})
返回的结果包含集合数据和索引对应的物理文件

猜你喜欢

转载自www.cnblogs.com/xibuhaohao/p/12092449.html