CST 363 Week 7 Journal Entry
Similarities
Both MongoDB and MySQL are used as database management systems to store, retrieve, and manipulate data. They can index, query, and be used with Java Python or JavaScript. They both also allow for user authentication
Differences
MySQL uses tables with FIXED schema, yet MongoDB has a NoSQL database which is a flexible database. It allows for nested fields and dynamic schemas.
When would you choose one over the other?
I would choose MongoDB when the data I am using is a lot of data and the data is changing consistently. Anything with user generated content I would have to choose Mongo since it can store complex data. I Would choose MySQL for applications that are used in transactions, or items complex relationships like foreign keys.
Comments
Post a Comment