IBM 000-8697 Bedienungsanleitung Seite 397

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 702
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 396
Data Consistency, Recovery, and Migration 4-25
Blobspace Logging
OnLine allocates and deallocates blobpages via the blobspace free-map
pages. (Refer to page 2-148.) If a blobspace blob is deleted during a trans-
action,the entries inthefree-mappage for theblobpagesstoring the blobare
marked for deletion. The blob data is unchanged. If the transaction is
eventually rolled back, OnLine simply reverses the change to the blobpage
status in the free-map page entry. Even if the transaction is committed, the
blobpages remain protected until the logical log file in which the delete
occurredbecomesfree.Thatis,theblobpagesbecome“free”andavailablefor
reuse only after logical log file in which the deletion occurred is no longer
neededfor a data restore.Oneconsequenceofthis strategy is thatyoudonot
seetheeffectof deleting blobspaceblobstoincreaseavailablespaceuntilyou
free the logical log file in which the delete occurred.
Blob Restoration
Howcanablobspaceblob berestoredifthelogicallogrecordsdonotinclude
the data?
The answer is that even though blobspaceblobpages neverpass through the
logical log files, blobpages are copied directly to the logical log backup tape.
OnLine performs the copying as part of the logical log backup procedure.
When you request a logical log backup, you start the tbtape process. (If you
request the logical log backup through DB-Monitor, the monitor process
tbmonitor starts thetbtape processfor you.) Whenthe tbtape utilityprocess
beginsalogicallogbackuptotape,itnotesthelogicallogfileID.Next,tbtape
checks the blobspace free-map pages for every blobspace, looking for
blobpages that were allocated during the time that this logical log file was
current. The current logical log ID number is stored in the blobspace free-
map page each time a blobpage is allocated.
The tbtape process copies each blobpage allocated when this logical log file
was current to the backup tape before any logical log record is copied. Then
tbtape continues the backupprocedure,copyingto tape the recordsfromthe
logical log file. In this way, tbtape creates a permanent record of blobpage
data and associated logical log records without overburdening the capacity
of the logical log files.
For further information about what happens during the logical log backup
procedure, refer to page 4-26.
Seitenansicht 396
1 2 ... 392 393 394 395 396 397 398 399 400 401 402 ... 701 702

Kommentare zu diesen Handbüchern

Keine Kommentare