Prev | Current Page 429 | Next

Rick Greenwald, Robert Stackowiak, Jonathan Stern

"Oracle Essentials: Oracle Database 11g"

However, the redo log contains much less information than the
entire data block for the changed data, so it??™s much ???cheaper??? to write to disk. Oracle
writes the redo information to disk as soon as a transaction commits and defers
writing the changed data blocks to the database until several sets of changed blocks
can be written together. Oracle can restore the database using the redo logs, and
these procedures cut down on time-consuming I/O operations.
Figure 8-2. Multiversion read consistency
Alpha
Carol
Darryl
Edward
Frank
Greenie
Beta
Client A
(SCN 112)
111
111
111
111
113
111
111
111
Client B
(SCN 113)
Value SCN
When Client B reads the rows, the changes made
to the "Edward" row with a later SCN are skipped.
198 | Chapter 8: Oracle Multiuser Concurrency
However, when you??™re considering the performance of a database, you have to think
about more than simple I/O operations. It doesn??™t really matter how fast your database
runs if your transaction is waiting for another transaction to release a lock.


Pages:
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
Pozycjonowanie wózek podnośnikowy ręczny owerloki eksiegarnia internetowe kursy angielskiego