Week 1 L1 Flashcards

1
Q

What is NoSQL

A

Any database that is non-relational

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Big Data?

A

Extremely large data sets that may be analysed computationally to reveal patterns, trends and associations, especially relating to human behaviour and interactions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 4 types of database ? (NoSQL/SQL)

A

Relational (SQL), Document(NoSQL), Graph(NoSQL), Column Family(NoSQL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 3 examples of Relational Databases?

A

MySQL, Oracle IBM DB2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are relational databases + what language do they use ?

A

Sets of tables(relations) with sets of rows and columns.. Use SQL to define and manipulate tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When would you use a relational database? (3)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 4 ACID transactions and what do they mean ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are ACID properties ?

A

A set of properties of database transactions intended to guarantee data validity despite errors, power failure and other mishaps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some examples of document databases?

A

MongoDB, Couchbase, Firebase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are document databases ?

A

Objects containing data in a hierarchal tree structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When would you use a document database? + give examples

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are graph databases?

A

Nodes connected by edges each with their own properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do queries in graph databases work ?

A

They traverse the paths between the nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When would you use a graph database? + give examples

A

Traversing across a database, finding connected data. Social and commercial networks, delivery and location services , recommendation engines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are some examples of column family databases?

A

HBase, Cassandra

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are Column Family databases?

A

Column family databases consist of rows which have many different columns. Super column consists of map to other columns .

17
Q

When would you use a column family database? + give examples

A

High traffic writes of varying data content that is scalable and resilient .
For example Event logging, blogging platforms, access counter , expiring data