β
In a RDBMS, since all the column names and types are defined at the table level, this information does not need to be replicated in each row. MongoDB, by contrast, doesnβt know, at the collection level, what fields are present in each document, nor does it know their types, so this information must be stored on a per-document basis.
β
β
Rick Copeland (MongoDB Applied Design Patterns: Practical Use Cases with the Leading NoSQL Database)