Prev | Current Page 378 | Next

Carl Reynolds and Paul Tymann

"Schaum's Outline of Principles of Computer Science"


Database systems also support the concept of a transaction. A transaction is a group of related changes to
the data, where all changes must occur, or else none must occur. The familiar example is removing funds from
a savings account and depositing those funds in a checking account. We want both the withdrawal and the
deposit to succeed, but if the withdrawal succeeds and the deposit fails, we want the withdrawal to be ???rolled
back??? and the money put back into the savings account. The two changes constitute a single transaction which
must either succeed in its entirety, or be rolled back to have no effects whatsoever. Database systems allow
changes to the data to be grouped into transactions that are either ???committed??? upon full success, or entirely
???rolled back??? upon any failure.
DBMSs also promote data security by organizing use by multiple users. Imagine an enterprise like
Amazon.com where many users from all over the world interrogate the database of available titles, and place
orders, simultaneously. The DBMS coordinates multiuser access so as to preserve data integrity. Changes made
by one user will not interfere with the use of the database by another. The DBMS manages potential conflicts
by providing temporary locks on the data when necessary.


Pages:
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
Biuro rachunkowe Wrocław webmini seo elektroenergetyka24.bieszczady.pl Fundusze Emerytalne leczenie alkoholizmu