profile picture

database developer discussion

Database Long Transactions

In a database, a transaction is a unit of work that is performed as a single logical operation. Transactions are used to ensure the consistency and integrity of data, by allowing multiple operations to be executed as a single atomic unit. If any of the operations in a transaction fail, the entire transaction is rolled back, and the database is returned to its previous state. One problem that can arise with transactions is the issue of long transactions.

Read more...