Examveda

What does 'A' stand for in the ACID property of transactions?

A. Availability

B. Accuracy

C. Adjustability

D. Atomicity

Answer: Option D

Solution (By Examveda Team)

The ACID properties are a set of important features for database transactions in MySQL. They guarantee the consistency and reliability of data.

ACID stands for:

* Atomicity: This means that a transaction is treated as a single, indivisible unit. Either all the operations within the transaction succeed, or none of them do. Imagine ordering something online – your order is either completely processed (payment is taken, items are shipped) or it’s completely canceled. No half-done orders!

* Consistency: This ensures that a transaction only moves the database from one valid state to another. If you transfer money between accounts, the total amount of money should always be the same, even during the transfer.

* Isolation: Each transaction happens independently of others. This means that if multiple transactions are happening at the same time, they won't interfere with each other. You can think of it like separate bank accounts – transactions happening in one account don't affect the balance of another.

* Durability: Once a transaction is complete, its changes are permanently saved to the database, even if there are crashes or errors. This is like writing something in stone – it's there forever!

So, the answer to the question is Option D: Atomicity.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous