MongoDB Interview Questions – Set 05

Which are the storage engines used by MongoDB? MMAPv1 and WiredTiger are two storage engine used by MongoDB. What is the difference between MongoDB and CouchDB? Difference between MongoDB and CouchDB: MongoDB is faster than CouchDB while CouchDB is safer than MongoDB. Triggers are not available in MongoDB while triggers are available in CouchDB. MongoDB … Read more

MongoDB Interview Questions – Set 04

Why 32 bit version of MongoDB are not preferred ? Because MongoDB uses memory mapped files so when you run a 32-bit build of MongoDB, the total storage size of server is 2 GB. But when you run a 64-bit build of MongoDB, this provides virtually unlimited storage size. So 64-bit is preferred over 32-bit. … Read more

MongoDB Interview Questions – Set 03

In which language MongoDB is written? MongoDB is written and implemented in C++. What do you understand by NoSQL databases? Is MongoDB a NoSQL database? explain. At the present time, the internet is loaded with big data, big users, big complexity etc. and also becoming more complex day by day. NoSQL is answer of all … Read more

MongoDB Interview Questions – Set 02

Is it possible to configure the cache size for MMAPv1 in MongoDB? No. it is not possible to configure the cache size for MMAPv1 because MMAPv1 does not allow configuring the cache size. Is it true that MongoDB uses BSON to represent document structure? Yes What is the difference between MongoDB and MySQL? Although MongoDB … Read more

MongoDB Interview Questions – Set 01

What will have to do if a shard is down or slow and you do a query? If a shard is down and you even do query then your query will be returned with an error unless you set a partial query option. But if a shard is slow them Mongos will wait for them … Read more