Skip to main content

MongoDB Concepts

Collection

Mongo Table of Documents

Document

Mongo Row of Collection Table, to contain data about entity

BSON

(format) Mongo extends JSON to store types & length info

Source: www.mongodb.com/basics/bson

Document-based DB

to store data as collection of Documents, as NoSQL field-value pair data structures

Denormalization

to embed data into each other as object of arrays inside BSON

No Schema

Mongo Docs require no data schema - flexible, can have different number & type of fields, can change fields at any time

MongoDB is FOSS under SSPL License

Document Schema

Performant

Mongo runs fast due to optimized indexing, sharding, native deduplication, embedding of data models, etc

Scalable

Mongo Horizontal Scalingdistributes data across multiple machines, to scale with user/data growth

Data Modelling

(process) to transform raw unstructured data (from real-world scenario) into structured logical data model in DB

does mongo offer proper relationship support??

References