CST363: Learning Journal Week 7





Prompt for this week's journal entry.

Compare MongoDB with MySQL.


  • What are some similarities?

MySQL and MongoDB are similar in the sense that they are both database management systems. They both have their own query languages that allow you to manage and manipulate any stored data.

  • What are some differences?

One of the biggest differences between MySQL and MongoDB is how they store data. MySQL stores data in tables whereas MongoDB basically uses JSON documents for storing data without a strict schema. In that way MySQL is much more structured and rigid. MongoDB is also capable of vertical and horizontal scaling while MySQL can’t be scaled across multiple systems.

  • When would you choose one over the other?

I would choose MySQL for smaller scale projects that require advanced queries to retrieve data in unique ways. MongoDB seems like a much better choice for large scale projects that may need to be scaled up to handle larger datasets and more bandwidth. I’m much less familiar with MongoDB compared to MySQL though, so I might change my opinion in the future and choose to exclusively use one of the two or a different option entirely.

Comments

Popular posts from this blog

CST438: Journal Entry Week 1

CST370: Journal Entry Week 3

CST311: Journal Entry Week 7