Intransaction processing, ACID (atomicity, consistency, isolation, and durability) is an acronym and mnemonic device used to refer to the four essential properties a transaction should possess to ensure theintegrity and reliability of thedata involved in the transaction. The acronym is commonly associated with relational database management systems (RDBMSs) such asMySQL orSQL Server, although it can apply to any system orapplication that processes transactions.
In computing, a transaction is a set of related tasks treated as a single action. Together, the tasks form a logical unit of work. For example, a bank customer might use amobile app to transfer $200 from a savings account to a checking account. The customerlogs into the app, enters the necessary information and clicks a button, which launches a "transfer" transaction.
The transaction consists of multiple steps, all invisible to the user. The steps might include verifying availability of funds in the savings account, deducting $200 from that account, adding $200 to the checking account, and verifying the final balance in each account to ensure the funds were transferred properly. All these tasks together represent the entire transaction; either they all succeed or none succeed.
If all the steps ran successfully, the transaction is considered complete and is committed to the managing system. The customer is notified that the funds were transferred from one account to the other. If any steps had failed, all completed steps would have been rolled back, and the data returned to its original state. In this case, the user would have received an error message.
Applying the ACID properties determines whether a transaction should be committed or rolled back, given the success or failure of each step in the transaction. If a transaction does not adhere to these properties, the integrity and reliability of the data can be called into question. For example, if the transfer transaction had failed after deducting the $200 from the savings account but before adding the funds to the checking account, the customer's accounts would be short $200.
When data integrity and reliability are top considerations in atransaction processing system, the system will typically apply four properties to those transactions for ACID-compliance:
Systems that support transaction processing employ various methods to ensure that each transaction is ACID-compliant. For example, SQL Server includes integrity constraints, such as primary key, foreign key, unique and check, to achieve data consistency. The system also supportsisolation levels, such as read committed, read uncommitted and snapshot, to provide the necessary isolation for each transaction. These features are built into the database system so they can be incorporated easily into an application's backend database, although they need to be carefully implemented to ensure maximum ACID compliance.
Achieving ACID compliance for distributed transactions is more complicated than those based on a single location.
One common approach to distribution is to use thetwo-phase commit protocol, which coordinates each transaction across the participatingnodes and ensures that either all nodes commit to the transaction's completion or none do.
Learn all about themain types of database testing.
Synthetic data and simulation forecasting help executives overcome data constraints, test scenarios and strengthen strategic ...
A data prep agent and caching capabilities aimed at helping users control spending help the vendor stand out from its peers as it...
Numerous tools are available for data science applications. Read about 18, including their features, capabilities and uses, to ...
Compare Datadog vs. New Relic capabilities including alerts, log management, incident management and more. Learn which tool is ...
Many organizations struggle to manage their vast collection of AWS accounts, but Control Tower can help. The service automates ...
There are several important variables within the Amazon EKS pricing model. Dig into the numbers to ensure you deploy the service ...
Line-of-business Box users can now tag contracts, reports and other commonly used docs with plain-language instructions, which an...
AI technology continues to shape the content management market. It underpins top trends in 2026, including generative AI, agentic...
When evaluating content collaboration platforms, business leaders have several options and must choose carefully to find one that...
Oracle has made it easier for customers to choose and launch third-party software onto its cloud. Now, the question is whether ...
Part two of a two-part article: Willis uses PeopleSoft 9.1 to bring back the personal feel to automated insurance selection for ...
Part one of a two-part article: Willis uses PeopleSoft 9.1 to create real-time automated insurance selection for voluntary ...
New tools to speed up agentic AI development, open SAP platforms and provide access to data products were also touted as helping ...
New AI-driven applications for supply chain, procurement and CX also shared the spotlight as SAP strives to portray its broad ...
In this Q&A, Michael Lemashov and Denis Malov of JDC Group discuss the strategies for SAP customers to achieve a clean core and ...
