Primary Key and Foreign Key Concept in MongoDB



Primary Key and Foreign Key Concept in MongoDB

Primary Key and Foreign Key Concept in MongoDB

http://technotip.com/3000/relationship-between-collections-tables-mongodb/

In this video tutorial we shall learn about normalization, and the way mongoDB handles relationship between two collections(Primary Key and Foreign Key concept in RDBMS).

Note: In traditional database systems(RDBMS) we accomplish the same by using primary key and foreign key concept. And make use of JOINS (Equi JOIN, RIGHT JOIN, LEFT JOIN) to query the database, which actually consumes more time and resources. In mongoDB, there is no need of JOIN’s and hence is faster than RDBMS.

MongoDB Tutorial List:
http://technotip.com/3778/mongodb-tutorial-list/

Comments are closed.