adspace


What are the differences between mongodb and mysql?

Answer Posted / Tajpal Singh

MongoDB and MySQL differ in several aspects:
1. Data Model: MongoDB uses a NoSQL, document-oriented data model while MySQL uses a traditional SQL, relational data model.
2. Scalability: MongoDB can scale horizontally by sharding across multiple machines, whereas MySQL usually scales vertically by adding more resources to a single server.
3. Performance: MongoDB is designed for high performance with large and unstructured data, while MySQL excels in small, structured data with transactions and ACID compliance.
4. Query Language: MongoDB uses the BSON document format and the MongoDB Query Language (MQL), while MySQL uses SQL.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the command syntax for inserting a document?

67


How did mongodb get its name?

65


How to define array in mongoose schema?

84