MongoDB is document based and doesn't have strict schema like MySQL, so it should keep schema in each document rather than have one schema definition per table. That's why size of you database should be large than same MySQL database, larger database size should use more memory.
--To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/VHsHUgR9_ZMJ.
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
By schema I mean name and type of the fields
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/3mduEb6i6DgJ.
Completelly agree with you - that memory mapped files is the reason. But I have a suspiction that MongoDB requires at least in 2 times more disc space for the same data than relational databases. Since MongoDB put to memory projection of DB files there can be IO performance problems with replacing memory pages while MySQL will be able just keep all required data in memory. I'm going to do research on this.
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/KemhE8Hx4sIJ.
http://www.mongodb.org/display/DOCS/Excessive+Disk+Space
http://www.mongodb.org/display/DOCS/Checking+Server+Memory+Usage
http://www.mongodb.org/display/DOCS/Caching