Thursday, June 8, 2017

Relationship of RDBMS terminology with MongoDB

The following table shows the relationship of RDBMS terminology with MongoDB.
RDBMS
MongoDB
Database Database
Table Collection
Tuple/Row Document
column Field
Table Join Embedded Documents
Primary Key Primary Key (Default key _id provided by mongodb itself)
Database Server and Client
Mysqld/Oracle mongod
mysql/sqlplus mongo




  • Collection(Table) is a group of MongoDB documents(rows).
  • Documents(rows) within a collection(table) can have different fields(columns).
  • Document is a set of key-value pairs.

No comments:

Post a Comment