Advanced Database Topics Flashcards

1
Q

What does the acronym ACID stand for?

A

Atomicity
Consistency
Isolation
Durability

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

What does atomicity mean?

A

Either both operations happen or neither does

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

What does consistency mean?

A

Both records/accounts need to be displaying the same information

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

What does isolation mean?

A

Other users never see a state in which one line has been performed and not the other

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

What does durability mean?

A

Once the operations are acknowledged and performed, they are permanently recorded

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

What do the letters in the CAP acynonym stand for?

A

Consistent
Avaliable
Partition Tolerant

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

What does Brewer’s theorem?

A

Cannot have all three in CAP at all times

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

What are BASE systems?

A

Basically Avaliable for requests
Soft state, change over time
Evenually consistent

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

What are the variety of CAP options?

A

Consistent and Avaliable (e.g. classical relational databses)
Consistent and Partition Tolerant
Avaliable and Partition Tolerant

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

What is sharding?

A

Sharding refers to the horizontal partitioning of a database
(different rows sit on different servers)

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

What are some disadvantages of sharding?

A

Queries become really complex

Reliant on server interconnection

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

What is the NoSQL movement?

A

Movement that realises that SQL may not always be the best choice

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

Give examples of common NoSQL data models?

A
Key-Value store
Column store
Document store
Object database
Graph database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Give an example of a database system that uses key-value store

A

LevelDB, Oracle NoSQL

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