IBM 000-8697 Manual do Utilizador Página 407

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 702
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 406
Data Consistency, Recovery, and Migration 4-35
Write Tape Header Page
Archive blobpages
The second task facing tbtape is to prevent database server processes from
overwriting blobspace blobpages before they have been archived. Since
blobpages do not pass through shared memory, the strategy of archiving
from the physical log (described in the preceding section) is insufficient in
itself. In addition, tbtape must postpone all changes to blobpages until after
the blobpage is archived.
To accomplish this, tbtape blocks allocation of blobpages in each blobspace
chunkuntiltbtapehasreadandarchivedallused blobpagesinthechunk.As
soon as the chunk is archived, blobpage allocation in that chunk resumes.
One implication of this implementation is that during an online archive,
blobs cannot beinsertedinto a blobspaceuntilthe blobspace chunkhas been
archived.Sincechunksarereadandarchivedbytbtapeinorderofthechunk
identification numbers, you can minimize this inconvenience by creating
blobspaces early, ensuring a low chunk ID number.
Write Tape Header Page
After tbtape and tbinit have synchronized activities, tbtape writes a tape
header page to the archive device. The tape header page contains the
following information:
The tape device block size (TAPEBLK)
The size of tape (TAPESIZE)
A flag that indicates the tape is for an archive
A timestamp that indicates the date and time of the archive
The archive level
The ID number of the logical log file that contains the checkpoint
record that began the archive
The physical location of that checkpoint record in the logical log file
Ifthearchivedevice(TAPEDEV)isdefinedas/dev/null,tbtape doesnotwrite
apagetothedevice. Instead,tbtape updatestheactivePAGE_ARCH reserved
page with the same information that would have been written to the header
page. (Refer to the precedinglist.) Thecheckpoint informationis alsocopied
to the active PAGE_CKPT (checkpoint) reserved page.
Vista de página 406
1 2 ... 402 403 404 405 406 407 408 409 410 411 412 ... 701 702

Comentários a estes Manuais

Sem comentários