Metraipolis › archive › dc_7536f872fb9e

Database transaction — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Database_transaction
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-06T08:56:22.787Z
SHA-256 of the archived text
7e0d3bc124e72d5edc917bc995bd305de1380b5cdeb28362085ff92b2d99e133
Stable URL of this page
https://metraipolis.com/documento/dc_7536f872fb9e

How to cite

Database transaction — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Database_transaction (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_7536f872fb9e (Metraipolis archive dc_7536f872fb9e, sha256 7e0d3bc124e72d5edc917bc995bd305de1380b5cdeb28362085ff92b2d99e133)
BibTeX
@misc{dc7536f872fb9e,
  title = {Database transaction — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Database_transaction},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_7536f872fb9e; sha256 7e0d3bc124e72d5edc917bc995bd305de1380b5cdeb28362085ff92b2d99e133},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Database_transaction. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «database»).
Fonte: Wikipedia in inglese, voce «Database transaction» — https://en.wikipedia.org/wiki/Database_transaction
Wikidata Q848010 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q848010
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Database_transaction?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1367893426, consultata il 2026-10-06T08:20:55.288Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 780861da54a40047bf38209473c0425446cc636be98cbc27a35c717e98e40425