A database transaction is a unit of interaction with a database management system or similar system that is treated in a coherent and reliable way independent of other transactions that must be either entirely completed or aborted. Ideally, a database system will guarantee all of the ACID properties for each transaction. In practice, these properties are often relaxed somewhat to provide better performance.
In some systems, transactions are also called LUWs for Logical Units of Work.
A simple transaction is usually issued to the database system in a language like SQL in this form:
If one of the queries fails the database system may rollback either the entire transaction or just the failed query. This behaviour is dependent on the DBMS in use and how it is set up. The transaction can also be rolled back manually at any time before the commit.
Databázová transakce | Databasetransaktion | Transaktion (Informatik) | Transacción | Transaction (base de données) | Transazione (database) | תנועה (מערכות מידע) | Transactie (dataopslag) | トランザクション | Transakcja (informatyka) | Транзакция | Giao dịch cơ sở dữ liệu
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Database transaction".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world