4.11 Database Mgt Flashcards
DBMS Objectives
1) Integrity - the state of the database is the same after a transaction has occurred as it was prior to the transaction
2) Performance - efficient processing and reporting
3) Availability - in the event of failure, the data should be available in its original state
4) Access control - ensuring data is available only to authorised users and objects
5) Privacy - constraining data disclosure
Two type os issues impacting integrity.
Concurrency
Transactional
What are concurrency issues impacting integrity?
These issues arise when a database is simultaneously accessed by subjects and other objects
What rules/controls help with the concurrency issues?
Semantic integrity - structural and semantic rules are enforced including deadlocking
Referential integrity - ensures that relationships between tables remain consistent (synchronised)
Commit Operation - protects the transaction
What acronym/characteristics help to guarantee reliability and integrity of transactional data?
A - Atomicity - transactions must be implemented in their entirety, or they must be completely rolled back
C - Consistency - transactions must be correct across all instances
I - Isolation - Transactions must not interact with other transactions until completed
D - Durability - Transactions cannot be rolled back, once committed
What is the difference between semantic data integrity and structural database integrity?
Semantic - consistency of the data itself - deals with the DBMS features and processes that can be used to ensure accuracy and viability of the data contents of a database.
Structural database integrity - consistency of the “holders” of the data (database objects).