reading-notes

301 Reading Notes

Class 11 Summary: This class is about MongoDB and Mongoose

What kind of data is a good fit for an SQL database? -data that fits into tables

Give a real world example. -finacncial data, customer information

What kind of data is a good fit a NoSQL database? -unstructured or semi-structured data

Give a real world example. -images, videos, and large documents

Which type of database is best for hierarchical data storage? -relational database

Which type of database is best for scalability? -depends on vertical or horizontal data needs

Source: https://www.thegeekstuff.com/2014/01/sql-vs-nosql-db/?utm_source=tuicool

What does SQL stand for? -Structured Query Language

What is a relational database? -data in tables

What type of structure does a relational database work with? -fields (columns), records (rows)

What is a ‘schema’? -strict schema relations

What is a NoSQL database? -Mongo DB, collection of data is one place

How does it work? -No realtions schema data structure

What is inside of a MongoDB database? Collections, documents, depends on the application

Which is more flexible - SQL or MongoDB? and why. -MongoDB NoSQLis more flexible

What is the disadvantage of a NoSQL database? -doesn’t work as fast, or as predictable

Things I want to know more about

https://mongoosejs.com/docs/api.html#Model

https://reactrouter.com/en/6.7.0/web/api/BrowserRouter