reading-notes

My reading notes


Project maintained by brandomoki Hosted on GitHub Pages — Theme by mattgraham

Mongo and Mongoose

No sql vs Sql

  1. What kind of data is a good fit for an SQL database?
    • SQL databases are good fit for the complex query intensive environment
  2. Give a real world example.
  3. 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
  4. Give a real world example.
    • When you want your data similar to json
  5. Which type of database is best for hierarchical data storage?
    • NoSQL
  6. Which type of database is best for scalability?
    • They both scale very well just in different ways.

Sql vs NoSql Video

  1. What does SQL stand for?
    • Structured Query Language
  2. What is a relational database?
    • Relational databases provide a store of related data tables
  3. What type of structure does a relational database work with?
    • tables
  4. What is a ‘schema’?
    • schema is like a guideline table
  5. What is a NoSQL database?
    • non-tabular databases and store data differently than relational tables
  6. How does it work?
    • you have documents that are stored in different ways in many collections
  7. What is inside of a Mongo database?
    • DB, collections, Documents with no schema
  8. Which is more flexible - SQL or MongoDB? and why.
    • MongoDB because you have no schema and you dont have to follow tha guideline
  9. 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