#dbms #rdbms #csvtu #bitdurg #dbmslectures #problems
1. What is the lost update problem in database transactions?
2. Can you explain a scenario where the lost update problem occurs?
3. How does the lost update problem impact data consistency?
4. Which concurrency control mechanisms are commonly used to prevent the lost update problem?
5. What is the difference between a lost update problem and a dirty read?
6. How do pessimistic and optimistic locking help to prevent lost update problems?
7. What role do isolation levels play in preventing the lost update problem?
8. Can the lost update problem occur in a system with multi-threading? How?
9. What is a real-life example where the lost update problem could cause significant issues?
10. How does the ‘Read Committed’ isolation level handle the lost update problem?
11. Why is the lost update problem more prevalent in systems with high transaction concurrency?
12. What is the difference between first and second lost update problems?
13. How do database management systems (DBMS) like MySQL or PostgreSQL handle lost update problems?
14. Is the lost update problem related to the ACID properties of a transaction? If so, how?
15. What is the role of a transaction log in detecting or preventing lost updates?
16. What is the dirty read problem in database transactions?
17. Can you provide an example of a situation where a dirty read can occur?
18. How does a dirty read affect data integrity in a database system?
19. What are the differences between dirty reads and lost updates in transaction management?
20. What is the phantom read problem in the context of database transactions?
21. Can you explain a scenario where phantom reads occur?
22. How do phantom reads differ from dirty reads and non-repeatable reads?
23. Which isolation level is required to prevent phantom reads?
24. What role does the Serializable isolation level play in preventing phantom reads?
25. How do phantom reads affect the consistency of a database?
26. What are the typical causes of phantom reads in a multi-transaction environment?
27. How does the Repeatable Read isolation level handle the phantom read problem?
28. Why do phantom reads occur even when locking mechanisms are used?
29. Can the phantom read problem occur in a distributed database system? How?
30. What impact do phantom reads have on query results in an OLTP (Online Transaction Processing) system?
31. How do index-based locking or predicate locking techniques help prevent phantom reads?
32. What is the difference between row-level locking and table-level locking in preventing phantom reads?
33. Why are phantom reads more common in systems with high transaction concurrency?
34. What are the potential risks of phantom reads in financial or real-time systems?
35. Which isolation levels prevent dirty reads from occurring in a database?
36. How does the Read Uncommitted isolation level lead to dirty reads?
37. Can a dirty read problem occur in a system with high concurrency? How?
38. What is the role of the Read Committed isolation level in preventing dirty reads?
39. How do dirty reads impact the ACID properties of transactions, particularly consistency and isolation?
40. Why might a system allow dirty reads, and in what scenarios could it be acceptable?
41. What is the difference between a dirty read and a non-repeatable read?
42. How does locking (pessimistic or optimistic) help in preventing dirty reads?
43. Can the dirty read problem occur in distributed databases or microservices architectures?
44. What are the risks of allowing dirty reads in financial or critical systems?
45. What is the impact of dirty reads on database recovery processes after a transaction failure?
46. What are the major problems that arise in concurrent execution of transactions in a database?
47. How does the lost update problem affect concurrent transactions?
48. Can you explain the dirty read problem and its impact on concurrent transactions?
49. What is the non-repeatable read problem in concurrent execution, and how does it differ from dirty reads?
50. What is the phantom read problem, and why does it occur in concurrent database systems?
51. How does transaction isolation help in addressing concurrency issues in databases?
52. What is the significance of the ACID properties in handling concurrent transactions?
53. How do concurrency control mechanisms such as locking protocols prevent problems in concurrent execution?
54. What is deadlock in concurrent execution, and how can it be prevented or resolved?
55. How do optimistic and pessimistic concurrency control differ in addressing concurrent execution issues?
56. What role do isolation levels play in preventing concurrency problems in databases?
57. Can concurrent execution lead to inconsistencies in a database? If so, how can these be mitigated?
58. What are some real-world examples of concurrency problems in high-transaction systems like banking or e-commerce?