Mongodb Collection / Index corresponding to the data file

db.collection_name.stats()
Comprising a set of results returned data corresponding to the physical file
db.trs_holographic_info.totalIndexSize({indexDetails:true})
Results returned contains the physical file corresponding to the index and data collection

 

 

Guess you like

Origin www.cnblogs.com/xibuhaohao/p/12092449.html