I started using MongoDB a few days ago and I have a problem understanding the database architecture. If I execute the request db.stats (); I had files, data, storage and indexing. While I am surfing, I discovered the following:
Storagesize = datasize + free space allocated for the collection
datasize = database size used by MongoDB
Here I could not understand file representation and data representation. For dataatize -> indexsize is also included ?. Please provide an exact solution for the specified attributes and please correct me if I mentioned any wrong.
Thanks,
source share