IBM 000-8697 Instrukcja Użytkownika Strona 223

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 702
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 222
System Architecture 2-129
Data Pages and Data Row Storage
Storage of Modified Rows
When a row is modified, OnLine attempts to return the modified row to its
current location. If the row size is unchanged, no changes are needed in the
slot table. If the row is smaller than before, OnLine changes the slot table
entry for this row to reflect the new row length. If the row no longer fits,
OnLine attempts to store the row in another location on the same page. If
OnLine can do this, the slot table entry is changed to reflect both the new
starting offset and the new length of the row.
If the modifieddata row is shorterthan a page butcannot beaccommodated
on the current page, a 4-byte forwarding pointer(containing thenew rowid)
is stored on the home page. The data row retains its originalrowid, which is
stored in the index page. The data is moved to the new page and the space
freed by the move is available for other rows. Figure 2-30 illustrates data
storage if the updated row is too large for the home page but shorter than a
whole page.
Przeglądanie stron 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 701 702

Komentarze do niniejszej Instrukcji

Brak uwag