Fundamentals of Databases Flashcards

1
Q

How do I get to 1NF?

A

No non-atomic values

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

How do I get from 1NF to 2NF?

A

No partial key dependences

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

How to I get from 2NF to 3NF?

A

No transitive dependencies (everything is only dependent on the primary key)

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

Why do we normalise databases?

A

So they can run optimally without compromising the integrity of the data

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

What problem occurs when different users attempt to access the same field in client server database at the same time?

A

Concurrent access

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

How do we manage concurrent access?

A
  • Record locks
  • Serialisation
  • Timestamp ordering
  • Commitment ordering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are record locks?

A

Ensures that only one user can modify a specific record at a time - prevents inconsistencies that could occur if users make different changes simultaneously.

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

What is timestamp ordering?

A

A concurrency control technique in database systems that uses timestamps to determine the order transactions are executed

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