Introduction to MongoDB (original) (raw)

You can create a MongoDB database in the following environments:

To learn more about creating a MongoDB database with the Atlas UI, see Get Started with Atlas.

A record in MongoDB is a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents.

A MongoDB document.

The advantages of using documents are:

MongoDB stores documents in collections. Collections are analogous to tables in relational databases.

In addition to collections, MongoDB supports:

MongoDB provides high performance data persistence. In particular,

The MongoDB Query API supports read and write operations (CRUD) as well as:

Tip

MongoDB's replication facility, called replica set, provides:

A replica set is a group of MongoDB servers that maintain the same data set, providing redundancy and increasing data availability.

MongoDB provides horizontal scalability as part of its _core_functionality:

MongoDB supports multiple storage engines:

In addition, MongoDB provides pluggable storage engine API that allows third parties to develop storage engines for MongoDB.