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




 
 
RDBMSMongoDB
Database Database
TableCollection
Tuple/RowDocument
columnField
Table JoinEmbedded Documents
Primary KeyPrimary Key (Default key _id provided by mongodb itself)  
 
 
 
Database Server and Client
Mysqld/Oraclemongod
mysql/sqlplusmongo

Comments