CST 363: Week 7

Compare MongoDB with MySQL. 

What are some similarities? 

Both MongoDB and MySQL support indexes and have built in query languages. They are also both compatible with a variety of programming languages like python and java

What are some differences? 

MongoDB is schema less, where MySQL is not. MongoDB stores data in documents and uses its own query language called MQL, where MySQL stores data in tables and uses SQL as the query language of choice.

When would you choose one over the other? 

I will choose MySQL when I need to use complex joins and need the compliances that come with ACID. 
MongoDB would be my choice when I need to use flexible, unstructured data.

Comments

Popular posts from this blog

Week 2 Learning Journal Post

Week 1: Learning about CSUMB and the CS Major.

Week 3 Learning Journal Post