Question
Which of the following statements is true about ACID
properties in database transactions?Solution
Atomicity is a key aspect of database transactions, ensuring that a transaction is treated as a single, indivisible unit. If any part of the transaction fails, the entire transaction is rolled back, leaving the database in its original state. This prevents incomplete transactions from corrupting data. For example, during a fund transfer between two accounts, if the debit operation succeeds but the credit operation fails, the transaction is rolled back, and no changes are made to either account. This guarantees reliability and prevents partial updates, which could lead to data inconsistency. Why Other Options Are Incorrect :
- ACID ensures that every transaction updates only one table at a time : This is false; ACID applies regardless of the number of tables updated in a transaction.
- The Isolation property guarantees that no other transaction can execute while one transaction is active : Isolation ensures controlled concurrent execution but does not prohibit simultaneous transactions entirely; it depends on isolation levels like Serializable or Read Committed.
- Durability ensures data is permanently removed after transaction rollback : Durability guarantees that once a transaction is committed, its changes are permanent, even in case of a system failure. Rollbacks do not affect committed changes.
- Consistency ensures that multiple transactions can execute simultaneously without any conflicts : Consistency refers to maintaining the correctness of data states before and after a transaction, not concurrency handling.
\Which shape comes next in the pattern: square, circle, triangle, square, circle, __?
The second number in the given number-pairs is obtained by performing certain mathematical operation(s) on the first number. The same operation(s) is/ar...
If all the letters appearing at the odd number positions in the English alphabet are removed, then what will come at the 9th place in the new alphabet s...
Select the letter-cluster from among the given options that can replace the question mark (?) in the following series.
HDMS, OVVI, VNEY, CFNO, ?
'A + B' का अर्थ है 'A, B का भाई है'
'A – B' का अर्थ है 'A, B की माँ है'
'A �...
Statement: There is a large increase in migration of villagers to urban areas as repeated crop failure has put them into financial problems.
Co...
Directions: A statement is given followed by two inferences I and II. You have to consider the statement to be true even if it seems to be at variance ...
In a certain code language, 'he loves children' is written as 'AA CC PP', 'children like candles’ is written as ‘ZZ PP QQ’ and ‘she loves candie...
Read the given statements and conclusions carefully. Assuming that the information given in the statements is true, even if it appears to be at variance...
Which of the following interchanges of signs would make the given equation correct?
57 − 19 × 18 + 9 ÷ 45 = 18