4.10.5 Client server databases Flashcards

1
Q

What is a client server database system?

A

Provides simultaneous access to the database for

multiple clients.

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

What is concurrent access?

A

Concurrent access can result in the problem of
updates being lost if two clients edit a record at
the same time. Multiple users editing the database puts the database at risk (integrity)

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

How are record locks used?

A

The first person to open the record gets write access, the other people only get read access. Used in networks with documents with shared access

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

How is serialisation used?

A

Only allowing transactions to take place one at a time - every request to edit the database is done one at a time

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

How is timestamp ordering used?

A

Every transaction has a read and write timestamp, used to sequence transactions as you may be updating something that has already been updated since you requested it
Requires more data to be stored in the server

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

How is commitment ordering used?

A

Requests have different priorities, by analysing the commands, e.g write requests would have higher priority than read

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