How to Work With NoSQL Databases: MongoDB Basics


show more MongoDB provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Up and Running with NoSQL Databases show less
please wait ...

MongoDB

MongoDB is a document database that uses JavaScript. This makes it similar to CouchDB, yet there are many features that distinguish it. First, querying for MongoDB is not done over HTTP. There are native drivers that are written for each language that you want Mongo. So that way you connect directly to the database rather than incurring the overhead of HTTP connections. Mongo does not have permanent CouchDB-style views that you set up. And finally, MongoDB only has master/slave replication. You can only write to the master and then that chooses which slave to write to.

Mongo is a consistent partition-tolerant database. All users should always get the same data back from MongoDB regardless of when they read it. Documents are partitioned using sharding. Each partition will have a subset of the documents. Shards are created based on the key you choose. This allows you to customize how Mongo partitions the database. MongoDB is structured around databases, collections, and recor...

MongoDB
Video duration: 1m 57s 56m 57s Intermediate

Viewers:

MongoDB provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Up and Running with NoSQL Databases

please wait ...