Question DB-TXN-0079
HardWhy should long-running user interactions not be placed inside a database transaction?
- A.
Users can't see data
- B.
It disables durability
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Transactions and ACID question
Why should long-running user interactions not be placed inside a database transaction?
Users can't see data
It disables durability
Sign up free to see the answer and a step-by-step explanation.
Transactions can't last more than a second
Locks held during the interaction block other users and raise the risk of deadlocks