Database transaction
A database transaction symbolizes a unit of work, performed within a database management system (or similar system) against a database, that is treated in a coherent and reliable way independent of other transactions . A transaction generally represents any change in a database. Transactions in a database environment have two main purposes: # To provide reliable units of work that allow correct recovery from failures and keep a database consistent even in cases of system failure. For example: when execution prematurely and unexpectedly stops (completely or partially) in which case many operations upon a database remain uncompleted, with unclear status. # To provide isolation between programs accessing a database concurrently. If this isolation is not provided, the programs' outcomes are possibly erroneous. In a database management system, a transaction is a single unit of logic or work, sometimes made up of multiple operations. Any logical calculation done in a consistent mode in a database is known as a transaction. One example is a transfer from one bank account to another: the complete transaction requires subtracting the amount to be transferred from one account and adding that same amount to the other.…
A database transaction symbolizes a unit of work, performed within a database management system (or similar system) against a database, that is treated in a coherent and reliable way independent of other transactions . A transaction generally represents any change in a database. Transactions in a database environment have two main purposes: To provide reliable units of work that allow correct recovery from failures and keep a database consistent even in cases of system failure. For example: when execution prematurely and unexpectedly stops (completely or partially) in which case many operations upon a database remain uncompleted, with unclear status. To provide isolation between programs accessing a database concurrently. If this isolation is not provided, the programs' outcomes are possibly erroneous. In a database management system, a transaction is a single unit of logic or work, sometimes made up of multiple operations. Any logical calculation done in a consistent mode in a database is known as a transaction. One example is a transfer from one bank account to another: the complete transaction requires subtracting the amount to be transferred from one account and adding that same amount to the other. A database transaction, by definition, must be atomic (it must either be complete in its entirety or have no effect whatsoever), consistent (it must conform to existing constraints in the database), isolated (it must not affect other transactions) and durable (it must get written to persistent storage). Database practitioners often refer to these properties of database transactions using the acronym ACID. ==Transactional databases== A transactional database is a DBMS that provides the ACID properties for a bracketed set of database operations (begin-commit). Transactions ensure that the database is always in a consistent state, even in the event of concurrent updates and failures. All the write operations within a transaction have an all-or-nothing effect, that is, eitNested transactions, for example, are transactions which contain statements within them that start new transactions (i.e. sub-transactions). Multi-level transactions are a variant of nested transactions where the sub-transactions take place at different levels of a layered system architecture (e.g., with one operation at the database-engine level, one operation at the operating-system level). . ==Distributed transactions== Database systems implement distributed transactions as transactions accessing data over multiple nodes. A distributed transaction enforces the ACID properties over multiple nodes, and might include systems such as databases, storage managers, file systems, messaging systems, and other data managers. In a distributed transaction there is typically an entity coordinating all the process to ensure that all parts of the transaction are applied to all relevant systems. Moreover, the integration of Storage as a Service (StaaS) within these environments is crucial, as it offers a virtually infinite pool of storage resources, accommodating a range of cloud-based data store classes with varying availability, scalability, and ACID properties. This integration is essential for achieving higher availability, lower response time, and cost efficiency in data-intensive applications deployed across cloud-based data stores. ==Transactional filesystems== The Namesys Reiser4 filesystem for Linux supports transactions, and as of Microsoft Windows Vista, the Microsoft NTFS filesystem supports distributed transactions across networks. There is occurring research into more data coherent filesystems, such as the Warp Transactional Filesystem (WTF). ==See also== ACID Concurrency control Critical section Post void Database transaction schedule ==References== ==Further reading== Philip A. Bernstein, Eric Newcomer (2009): Principles of Transaction Processing, 2nd Edition, Morgan Kaufmann (Elsevier), Gerhard Weikum, Gottfried Vossen (2001), Transactional information systems: theory, algorithms, and the practice of concurrency control and recovery, Morgan Kaufmann, ==External links== c2:TransactionProcessing https://docs.oracle.com/database/121/CNCPT/transact.htm#CNCPT016 https://docs.oracle.com/cd/B28359_01/server.111/b28318/transact.htm
References
- ACID vs BASE Databases - Difference Between Databases - AWS · retrieved 2025-11-27 · rev 1367893426
Cite this reference
MLA "ACID vs BASE Databases - Difference Between Databases - AWS." 2025-11-27. https://aws.amazon.com/compare/the-difference-between-acid-and-base-database/. Accessed 24 November 2026.
Chicago "ACID vs BASE Databases - Difference Between Databases - AWS." 2025-11-27. https://aws.amazon.com/compare/the-difference-between-acid-and-base-database/.
APA encyclopegia.org. (2025). ACID vs BASE Databases - Difference Between Databases - AWS. Retrieved November 24, 2026, from https://aws.amazon.com/compare/the-difference-between-acid-and-base-database/
- What is a Transaction? (Windows) · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "What is a Transaction? (Windows)." 2026-11-20. http://msdn.microsoft.com/en-us/library/aa366402(VS.85).aspx. Accessed 24 November 2026.
Chicago "What is a Transaction? (Windows)." 2026-11-20. http://msdn.microsoft.com/en-us/library/aa366402(VS.85).aspx.
APA encyclopegia.org. (2026). What is a Transaction? (Windows). Retrieved November 24, 2026, from http://msdn.microsoft.com/en-us/library/aa366402(VS.85).aspx
- Performance Enhancements for Database Transactions · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "Performance Enhancements for Database Transactions." DINCĂ, Ana-Maria; AXINTE, Sabina-Daniela; BACIVAROV, Ioan (2022-12-29). 2026-11-20. http://dx.doi.org/10.19107/ijisc.2022.02.02. Accessed 24 November 2026.
Chicago "Performance Enhancements for Database Transactions." DINCĂ, Ana-Maria; AXINTE, Sabina-Daniela; BACIVAROV, Ioan (2022-12-29). 2026-11-20. http://dx.doi.org/10.19107/ijisc.2022.02.02.
APA DINCĂ, Ana-Maria; AXINTE, Sabina-Daniela; BACIVAROV, Ioan (2022-12-29). (2026). Performance Enhancements for Database Transactions. Retrieved November 24, 2026, from http://dx.doi.org/10.19107/ijisc.2022.02.02
- A model for concurrency in nested transactions systems · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "A model for concurrency in nested transactions systems." Beeri, C. 2026-11-20. https://doi.org/10.1145%2F62044.62046. Accessed 24 November 2026.
Chicago "A model for concurrency in nested transactions systems." Beeri, C. 2026-11-20. https://doi.org/10.1145%2F62044.62046.
APA Beeri, C. (2026). A model for concurrency in nested transactions systems. Retrieved November 24, 2026, from https://doi.org/10.1145%2F62044.62046
- Özsu, M. Tamer; Valduriez, Patrick (2011). Principles of Distributed Database Systems, Third Edition . Springer. Bibcode : 2011podd.book.....O . doi : 10.1007/978-1-4419-8834-8 . ISBN 978-1-4419-8833-1 . Wikipedia revision 1367893426, retrieved 2026-11-21 · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "Özsu, M. Tamer; Valduriez, Patrick (2011). Principles of Distributed Database Systems, Third Edition . Springer. Bibcode : 2011podd.book.....O . doi : 10.1007/978-1-4419-8834-8 . ISBN 978-1-4419-8833-1 . Wikipedia revision 1367893426, retrieved 2026-11-21." Özsu, M. 2026-11-20. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "Özsu, M. Tamer; Valduriez, Patrick (2011). Principles of Distributed Database Systems, Third Edition . Springer. Bibcode : 2011podd.book.....O . doi : 10.1007/978-1-4419-8834-8 . ISBN 978-1-4419-8833-1 . Wikipedia revision 1367893426, retrieved 2026-11-21." Özsu, M. 2026-11-20. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Özsu, M. (2026). Özsu, M. Tamer; Valduriez, Patrick (2011). Principles of Distributed Database Systems, Third Edition . Springer. Bibcode : 2011podd.book.....O . doi : 10.1007/978-1-4419-8834-8 . ISBN 978-1-4419-8833-1 . Wikipedia revision 1367893426, retrieved 2026-11-21. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Data Storage Management in Cloud Environments: Taxonomy, Survey, and Future Directions · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "Data Storage Management in Cloud Environments: Taxonomy, Survey, and Future Directions." Mansouri, Yaser; Toosi, Adel Nadjaran; Buyya, Rajkumar (2017-12-11). 2026-11-20. https://doi.org/10.1145/3136623. Accessed 24 November 2026.
Chicago "Data Storage Management in Cloud Environments: Taxonomy, Survey, and Future Directions." Mansouri, Yaser; Toosi, Adel Nadjaran; Buyya, Rajkumar (2017-12-11). 2026-11-20. https://doi.org/10.1145/3136623.
APA Mansouri, Yaser; Toosi, Adel Nadjaran; Buyya, Rajkumar (2017-12-11). (2026). Data Storage Management in Cloud Environments: Taxonomy, Survey, and Future Directions. Retrieved November 24, 2026, from https://doi.org/10.1145/3136623
- Linux.org · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "Linux.org." "Linux. 2026-11-20. https://www.linux.org/. Accessed 24 November 2026.
Chicago "Linux.org." "Linux. 2026-11-20. https://www.linux.org/.
APA "Linux. (2026). Linux.org. Retrieved November 24, 2026, from https://www.linux.org/
- MSDN Library · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "MSDN Library." 2026-11-20. https://msdn.microsoft.com/en-us/library/ff361664(v=vs.110).aspx. Accessed 24 November 2026.
Chicago "MSDN Library." 2026-11-20. https://msdn.microsoft.com/en-us/library/ff361664(v=vs.110).aspx.
APA encyclopegia.org. (2026). MSDN Library. Retrieved November 24, 2026, from https://msdn.microsoft.com/en-us/library/ff361664(v=vs.110).aspx
- The Design and Implementation of the Warp Transactional Filesystem · retrieved 2026-11-20 · rev 1367893426
Cite this reference
MLA "The Design and Implementation of the Warp Transactional Filesystem." "The Design and Implementation of the Warp Transactional Filesystem" (PDF). 2026-11-20. https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-escriva.pdf. Accessed 24 November 2026.
Chicago "The Design and Implementation of the Warp Transactional Filesystem." "The Design and Implementation of the Warp Transactional Filesystem" (PDF). 2026-11-20. https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-escriva.pdf.
APA "The Design and Implementation of the Warp Transactional Filesystem" (PDF). (2026). The Design and Implementation of the Warp Transactional Filesystem. Retrieved November 24, 2026, from https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-escriva.pdf
- ACID vs BASE Databases - Difference Between Databases - AWS . · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "ACID vs BASE Databases - Difference Between Databases - AWS ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "ACID vs BASE Databases - Difference Between Databases - AWS ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA encyclopegia.org. (2026). ACID vs BASE Databases - Difference Between Databases - AWS . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- What is a Transaction? (Windows) . msdn.microsoft.com . 7 January 2021. · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "What is a Transaction? (Windows) . msdn.microsoft.com . 7 January 2021." What is a Transaction? (Windows). 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "What is a Transaction? (Windows) . msdn.microsoft.com . 7 January 2021." What is a Transaction? (Windows). 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA What is a Transaction? (Windows). (2026). What is a Transaction? (Windows) . msdn.microsoft.com . 7 January 2021. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- Performance Enhancements for Database Transactions . · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "Performance Enhancements for Database Transactions ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "Performance Enhancements for Database Transactions ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA encyclopegia.org. (2026). Performance Enhancements for Database Transactions . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- Data Storage Management in Cloud Environments: Taxonomy, Survey, a . · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "Data Storage Management in Cloud Environments: Taxonomy, Survey, a ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "Data Storage Management in Cloud Environments: Taxonomy, Survey, a ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA encyclopegia.org. (2026). Data Storage Management in Cloud Environments: Taxonomy, Survey, a . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- Linux.org . · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "Linux.org ." Linux. 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "Linux.org ." Linux. 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA Linux. (2026). Linux.org . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- MSDN Library . 4 February 2013. retrieved 16 October 2014 · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "MSDN Library . 4 February 2013. retrieved 16 October 2014." MSDN Library. 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "MSDN Library . 4 February 2013. retrieved 16 October 2014." MSDN Library. 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA MSDN Library. (2026). MSDN Library . 4 February 2013. retrieved 16 October 2014. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
- The Design and Implementation of the Warp Transactional Filesystem . · retrieved 2026-08-04 · rev 1367893426
Cite this reference
MLA "The Design and Implementation of the Warp Transactional Filesystem ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426. Accessed 24 November 2026.
Chicago "The Design and Implementation of the Warp Transactional Filesystem ." 2026-08-04. https://en.wikipedia.org/w/index.php?oldid=1367893426.
APA encyclopegia.org. (2026). The Design and Implementation of the Warp Transactional Filesystem . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1367893426
Cite this article
MLA
"Database transaction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/database-transaction. Accessed 24 November 2026.
Chicago
"Database transaction." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/database-transaction.
APA
encyclopegia.org. (2026). Database transaction. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/database-transaction
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON