Question
Which of the following scenarios violates the Isolation
property in the ACID properties of a transaction?ÂSolution
The Isolation property ensures that the operations of a transaction are isolated from other transactions. In scenario A, when a transaction reads uncommitted data from another transaction (dirty reads), the Isolation property is violated. This leads to incorrect or inconsistent data being processed if the uncommitted transaction rolls back or is otherwise altered before completion. Ensuring isolation prevents such scenarios, as transactions should not be able to see the intermediate states of other transactions. Why Other Options are Incorrect: B) A transaction rolls back after detecting a deadlock: This preserves consistency and is not a violation of Isolation. C) Multiple transactions write data concurrently but respect unique constraints: This scenario adheres to isolation as each transaction operates in its own space without interference. D) A transaction is lost due to a server crash: This is related to the Durability property, not Isolation. E) A transaction reads stale data: This is a violation of Consistency or Atomicity, depending on the situation, but not necessarily Isolation.
- A wristwatch was sold for Rs. 720.80, making a gain of 20%. If the selling price had been Rs. 690 instead, what would have been the profit or loss percenta...
- A shopkeeper bought a computer for Rs. 30,000 and a printer for Rs. 5,000. He sold the computer at a profit of 10% and the printer at a loss of 15%. Find t...
A chair listed at 550 is available at successive discounts of 25% and 10%. The selling price of the chair is
- An article has a cost price of Rs. 750 and is marked 40% above its cost price. 'A' proposes to sell this article after two successive discounts of 12% and ...
- A seller sold a product for Rs. 1152 after giving two identical discounts of x% each on the marked price of Rs. 1800. What is the value of x?
- The marked price of an article is 150 percent of its cost price. If 25% discount is given at the time of selling the article, then what will be the profit ...
Rahul sold a computer after giving a discount of 10% and earned a profit of Rs. 1200. If he had sold it for Rs. 300 less, he would have earned a profit ...
A shopkeeper marks the price of the article in such a way that after allowing 28% discount, he wants a gain of 12%. If the marked price is ₹224. then ...
Sara sold 30 scarves at a profit of 25%. If she had sold all the scarves for Rs. 3000 more, her overall profit would have been 50%. What is the selling ...
The purchasing price of 275 articles is equal to the selling price of 250 articles. Find the profit/loss%.