Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. Practical 11
  2.  
  3. 1. A transaction is an action or series of actions carried out by the user or application, which reads or updates the database content. This is important to keep consistency and maintain database integrity within the DBMS.
  4.  
  5. 2. ACID stands for 4 basic properties
  6.  
  7. Atomicity – ‘All or nothing’ property
  8.  
  9. Consistency – Must transform the database from one consistent state to another.
  10.  
  11. Isolation – Partial effects of incomplete transactions should not be visible to other transactions.
  12.  
  13. Durability – Effects of a commited transaction are permanent and must not be lost because of a later failure.
  14. These 4 properties relate to the concurrency control and recovery mechanisms by
  15.  
  16. 3. If two or more people are editing the database and insert 2 transactions, this may or may not produce an incorrect result due to interleaving of operations although the transaction may be correct on its own.
  17.  
  18. 4. The types of failure that can occur in a database are
  19. Errors and failures
  20. User error
  21. Statement failure
  22. Process failure
  23. Network failure
  24. Database instance failure
  25. Recovery from instance failure
  26. 5.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement