Week 1 L1 Flashcards
What is NoSQL
Any database that is non-relational
What is Big Data?
Extremely large data sets that may be analysed computationally to reveal patterns, trends and associations, especially relating to human behaviour and interactions
What are the 4 types of database ? (NoSQL/SQL)
Relational (SQL), Document(NoSQL), Graph(NoSQL), Column Family(NoSQL)
What are 3 examples of Relational Databases?
MySQL, Oracle IBM DB2
What are relational databases + what language do they use ?
Sets of tables(relations) with sets of rows and columns.. Use SQL to define and manipulate tables.
When would you use a relational database? (3)
For non-redundant data shared between different applications.
When you want to handle unplanned queries against a well defined schema
When you want to use ACID Transactions.
What are the 4 ACID transactions and what do they mean ?
Atomicity- either the entire transaction takes place or it doesn’t happen ( all or nothing )
Consistency - integrity constraints must be maintaied so that the database is consistent before and after transaction.
Isolation - multiple transactions can occur concurrently without leading to an inconsistent database state
Durability- ensures once the transaction has completed ,any updates to and modifications to the database and stored and written to disk to ensure they persist even if there is a system failure.
What are ACID properties ?
A set of properties of database transactions intended to guarantee data validity despite errors, power failure and other mishaps.
What are some examples of document databases?
MongoDB, Couchbase, Firebase
What are document databases ?
Objects containing data in a hierarchal tree structure
When would you use a document database? + give examples
For reading and updating schema less and aggregate data that is resilient.
For example event logging, content management systems, web or real time analytics, ecommerce
What are graph databases?
Nodes connected by edges each with their own properties
How do queries in graph databases work ?
They traverse the paths between the nodes
When would you use a graph database? + give examples
Traversing across a database, finding connected data. Social and commercial networks, delivery and location services , recommendation engines
What are some examples of column family databases?
HBase, Cassandra