What is the difference between Mysql and MongoDB?
Many fresher want to ask that what is the diffrence between Mysql and MongoDB?
SO here is easy example to describe them:
Mysql -> Database -> table->row
As you know that Msql have many database and database have many tables and tables have Rows and Coloumn.
MongoDB->database->collection->array Or Json
MongoDb has database and database have many collection and collection have array Or Json
SO here is easy example to describe them:
Mysql -> Database -> table->row
As you know that Msql have many database and database have many tables and tables have Rows and Coloumn.
MongoDB->database->collection->array Or Json
MongoDb has database and database have many collection and collection have array Or Json
| 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 |


Comments
Post a Comment