CST-363 Week 7
Compare MongoDB with MySQL.
- What are some similarities?
- Both have query projections, unique keys, indexes and explain queries
- What are some differences?
- MongoDB does not have transactions, but they can still be atomic. Both have different languages for querying data.
- When would you choose one over the other? \
- MySQL should be used if your data is mostly relational. MySQL has more support for making more complex queries or joins. If your data is not structured, MongoDB may be more beneficial.
Comments
Post a Comment