Database Systems: Week 7

     There are various similarities and differences between MongoDB and MySQL. Some of their similarities are having a query language, indexing, drivers for different languages as well as making data persistence. MongoDB and MySQL also both store data and support backups. Some of their differences are how the data is modeled, their schema, and their joins. Also, both do have their query language, but they are different. MongoDB has the JSON-based query syntax and MySQL has the standard SQL query language. I would choose to use MySQL when I need complex queries that will need several joins. MongoDB has no native joins but MySQL does. I would use MongoDB when I want to have more flexibility with the data structure and avoid complexity of a rigid schemas. 

Comments

Popular posts from this blog

My first week

Second Week

Fourth Week