4.10.5 Client server databases Flashcards
What is a client server database system?
Provides simultaneous access to the database for
multiple clients.
What is concurrent access?
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 are record locks used?
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 is serialisation used?
Only allowing transactions to take place one at a time - every request to edit the database is done one at a time
How is timestamp ordering used?
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 is commitment ordering used?
Requests have different priorities, by analysing the commands, e.g write requests would have higher priority than read