qnli question: How can database transactions ensure accuracy after a crash? sentence: A database transaction is a unit of work, typically encapsulating a number of operations over a database (e.g., reading a database object, writing, acquiring lock, etc.), an abstraction supported in database and also other systems.