Intro to mongoDB — The document model

Frances (Jing) Du
1 min readJun 29, 2022

--

(479) MongoDB in 5 Minutes with Eliot Horowitz — YouTube

A relational database is fundamentally MS Excel on steroids. 😀

mongoDB takes an entirely different approach — data is stored in records called documents — records aren’t restricted to have the same number of columns. Documents let you structure data in a way that is efficient for computer to process and natural and easy for human to read.

A record called document

Distributed database — it natively know how to coordinate multiple servers to store data. The benefits are:

Fault tolerance — keeping redundant copies of the same data on different servers

Scalability — seamlessly scales across multiple servers to store and process data to meet increasing data volumes and performance requirements. Also great for cloud environments.

Data near users — lets you move data to where you need it — so that you can keep data near users around the globe for fast access.

The combination of document model and distributed systems components is what gives mongoDB such an advantage over relational databases.

mongoDB Atlas — database-as-a-service

You can consume mongoDB as a service without having to worry about managing the database. (available in AWS, Azure, Google Cloud.)

--

--

No responses yet