Transaction
Meaning in databases & SQL, with examples
In databases & SQL, transaction means: A group of database operations that are treated as one unit: either all of them succeed together or none of them is applied.
In Turkish: işlem, transaction
How it is used
The classic example is a money transfer: the debit and the credit must both happen or neither. You begin or open a transaction, then commit or roll it back. Long-running or open transactions hold locks and cause trouble, so DBAs watch for them.
Example sentences
Wrap the stock update and the order insert in a single transaction.
A transaction has been open for two hours and is blocking the nightly job.
Common collocations
- begin a transaction
- commit a transaction
- roll back a transaction
- open transaction
- transaction log
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Transactions and Concurrency
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
