Home | Previous Page | Next Page   Modifying Data > Interrupted Modifications >

Transactions

The solution to all these potential problems is called the transaction. A transaction is a sequence of modifications that must be accomplished either completely or not at all. The database server guarantees that operations performed within the bounds of a transaction are either completely and perfectly committed to disk, or the database is restored to the same state as before the transaction started.

The transaction is not merely protection against unforeseen failures; it also offers a program a way to escape when the program detects a logical error.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]