reading-notes
My reading notes
Project maintained by brandomoki
Hosted on GitHub Pages — Theme by mattgraham
Mongo and Mongoose
No sql vs Sql
- What kind of data is a good fit for an SQL database?
- SQL databases are good fit for the complex query intensive environment
- Give a real world example.
- What kind of data is a good fit a NoSQL database?
- NoSQL database fits better for the hierarchical data storage as it follows the key-value pair way of storing data
- Give a real world example.
- When you want your data similar to json
- Which type of database is best for hierarchical data storage?
- Which type of database is best for scalability?
- They both scale very well just in different ways.
Sql vs NoSql Video
- What does SQL stand for?
- Structured Query Language
- What is a relational database?
- Relational databases provide a store of related data tables
- What type of structure does a relational database work with?
- What is a ‘schema’?
- schema is like a guideline table
- What is a NoSQL database?
- non-tabular databases and store data differently than relational tables
- How does it work?
- you have documents that are stored in different ways in many collections
- What is inside of a Mongo database?
- DB, collections, Documents with no schema
- Which is more flexible - SQL or MongoDB? and why.
- MongoDB because you have no schema and you dont have to follow tha guideline
- What is the disadvantage of a NoSQL database?
- Not having a schema, and if you have a lot of write request you have to update all