reading-notes

Reading Notes for Codefellows

View the Project on GitHub kylecohen14/reading-notes

Mongo and Mongoose

SQL NoSQL
Databases called relational Databases (RDBMS) Databases called non-rational or distributed databases
Table based databases Document based, key-value pairs, graph databases
have predefined schema dynamic schema
vertically scalable horizontally scalable
uses structured query lang for finding chanigng data queries focused on collection of docs
  1. What kind of data is a good fit for an SQL database?
    • complex query intensive enviroment
  2. Give a real world example.
    • MySql, oracle, Sqlite, Postgres and MS-SQL
  3. What kind of data is a good fit a NoSQL database?
    • hierarchical data. High data set
  4. Give a real world example.
    • MongoDB, BigTable, Redis, RavenDb, Cassandra, Hbase, Neo4j and CouchDb
  5. Which type of database is best for hierarchical data storage?
    • noSQL
  6. Which type of database is best for scalability?
    • well SQl is vertically scaleble. Can manage on single server.
    • NoSQL is horrizontal and can just add few more servers easily to handle large traffic

# cite