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.
STEM is the education program in India, what is the full form of ‘T’ in STEM?
Which book focuses on the impact of excessive government intervention in India?
The Center for Economics and Business Research (CEBR) said in its recent report that India will become the largest economic superpower by the end of the...
Consider the following statements with reference to the first advance estimates of national income released by the National Statistical Office (NSO)-Â <...
What is the objective of the "100 Microsites Project" launched by the National Health Authority (NHA) under the Ayushman Bharat Digital Mission (ABDM)?
On which date was NSDL Payments Bank included in the Second Schedule of the RBI Act, 1934?
Which state's tourism board has partnered with Starscapes for the Nakshatra Sabha initiative?
Diane Keaton, who passed away recently, won an Oscar for which iconic film?
How many start-ups will be supported under the circular economy programme launched by AIM and HUL?
In which city is the headquarters of the newly established National Turmeric Board located?