MongoDB Vs Relational DBMS - OmIndia

Teach To India

Friday, August 03, 2018

MongoDB Vs Relational DBMS

MongoDB Vs Relational DBMS 


RDBMS
MongoDB
Database
Database
Table, View
Collection
Row
Document (JSON, BSON)
Column
Field
Index
Index
Join
Embedded Document
Foreign Key
Reference
Partition
Shard


• Schema-less, and contains Documents.
• Indexable by one/more keys.
• Created on-the-fly when referenced for the first time.

• Capped Collections: Fixed size, older records get dropped after reaching the limit.

 • Stored in a Collection.
 • Can have the _id key – works like Primary keys in MySQL.
 • Supported Relationships – Embedded (or) References.
 • Document storage in BSON (Binary form of JSON).

No comments:

Post a Comment

Comments

Popular