IBM 000-8697 Manual de usuario Pagina 253

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 702
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 252
System Architecture 2-159
Long Transactions
To free a logical log, the log must be backed up to tape and all records with
the logical log must be part of closed transactions. If any record in the log is
part of an open transaction, the log file cannot be freed.
The backup strategy for OnLine requires that the statement that creates a
blobspace and the statements that insert blobs into that blobspace must
appear in separate logical log files.
Therefore, after you create a blobspace, youmust switchto a new logical log
beforeyou caninsert ablob intothat blobspace.Execute tbmode -l toswitch
to a new logical log.
The blobspace logging procedure affects the way that blobspacesare treated
during an archive. Duringan archive, the tbtape process blocks allocationof
blobspace blobpages in a chunk until it has read the chunk and archived all
used blobpages therein. As soon as the chunk is archived, blobpage
allocation in that chunk resumes.
One implication of this procedure is that during an online archive, blobs
cannot be inserted into a blobspace until the blobspace chunk has been
archived.Sincechunksarereadandarchivedbytbtapeinorderofthechunk
identification numbers, you can minimize this inconvenience by creating
blobspaces early, ensuring them a low chunk ID number.
To understand whythearchivemustblockallocation, referto page 4-30 fora
full description of what happens during an archive.
Long Transactions
A long-transaction condition occurs when the logical log fills past the mark
specifiedbythe first long-transaction high-water mark,LTXHWM. The sourceof
the long-transaction condition is an open transaction that is preventing the
operator from freeing logical log files to create additional free space in the
log. (No log file can be freed if any records in the file are associated with an
open transaction.) The open transaction might not be generating many
logical log records itself; the problem might be the duration of the trans-
action. If the open transaction spans several logical log files, records written
byother processes can fillthelogical log whilethe open transactionprevents
individual logical log files from becoming free.
Vista de pagina 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 701 702

Comentarios a estos manuales

Sin comentarios