DEV Community

Around IT In 256 Seconds

#82: MongoDB: the most popular NoSQL database

MongoDB is a NoSQL database. Precisey speaking, it’s a document-oriented database. It stores arbitrarily complex key-value objects. For example, in a single Car object you can store as much information as you want. Not only license plate or manufacturing year. But also information about each individual part, history of repairs, insurance and all owners. No matter how much information you want to keep, you just put that in a single, easily accessible document. Contrast that to relational databases, where each relationship has to be modelled as a separate table. So the same Car would have been spread across tens of tables. Imagine all these SQL JOINs! No wonder why MongoDB is one of the most popular databases.

Read more: https://nurkiewicz.com/82

Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter

Episode source