Week 1 L2 Flashcards

1
Q

What are the benefits of the relational database model?

A

Mature and robust
Supported well by most programming languages
Large knowledge and skill base
Correctness is ensured by ACID

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

What are the problems with relational databases pre defined schema and integrity .

A

Shared application database- Relational database can serve many applications but all aps must use relational model to access data
Some collection of data simply do not fit well into the relational model
A pre-defined schema is highly structured and becomes difficult to change later
Rules of normalisation are too restrictive and result in too many joins.
Availability and low latency could be more important than absolute integrity

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

What is Object relational impedance mismatch

A

relational databases don’t match well with OOP

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

Why are Relational databases not good over a cluster ?

A

Relational database not designed to run over cluster, could cause integrity problems
Join may be needed across multiple nodes of cluster
Traditional machine licenses are too costly

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

What is cluster computing

A

A set of computers that work together so they can be viewed as a single system

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

What are the benefits of NoSQL ?

A

Store data in different formats such as XML and JSON. This avoids impedance mismatch
No schema/rules
Take advantage of aggregate data modeling

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

What is aggregate data modeling ?

A

group a collection of data to act as a unit

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

What are the benefits of aggregate modeling ?

A

Aggregate(unnormalized) modeling keeps units ofdata on same machine
Aggregate can be aligned to single atomic transaction
Languages built to handle clustering e.g. map reduce programming

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