Monday, August 18, 2014

Basics

MongoDB

MongoDB is a document-oriented database.

Easy Scaling:
Scaling a database comes down to the choice between scaling up (getting a bigger machine) or scaling out (partitioning data across more machines)

MongoDB was designed from the beginning to scale out. Its document-oriented data
model allows it to automatically split up data across multiple servers.

Essential Features

Indexing
Stored JavaScript
   Developers can store and use JavaScript functions and values on the server side.
Aggregation
   Supports MapReduce and other aggregation tools.
Fixed-size collections
File storage

MongoDB uses a binary wire protocol as the primary mode of interaction with the server (as opposed to the protocol with more overhead, like HTTP/REST)

Adds dynamic padding to documents and preallocates data files.

Uses memory mapped files in the default storage engine, which pushes the responsibility for memory management to the operating system


No comments:

Post a Comment