Intro To Database Systems Week 7

 A major difference between MongoDB and MySQL is that MongoDB is a non-relational database while MySQL is a relational database. This means that in MySQL, data is stored in table columns and rows that have a particular schema. However in MongoDB, a non-relational database, data isn't stored in columns and rows with a particular schema. Instead data is stored in a less structured form where various database styles can be implemented such as a key-value, wide column, document, and graph databases. A similarity however is that both relational and non-relational databases seem to have keys for their rows or documents. When deciding when to choose between the two styles, I would most likely choose a relational style when I need a strict schema and higher efficiency. Though I would choose a non-relational style when different data points may be needed in different documents, providing a more dynamic model.

Comments

Popular posts from this blog

Software Engineering Week 4

Capstone Project Week 10

Capstone Project Week 11