WEB开发网
开发学院数据库Oracle Oracle Freelist和HWM原理及性能优化 阅读

Oracle Freelist和HWM原理及性能优化

 2007-05-10 12:19:16 来源:WEB开发网   
核心提示: free list 的信息通常保留在segment header中,这里给出segment header block dump片段加以说明:nfl = 3, nfb = 1 typ = 1 nxf = 0SEG LST:: flg: UNUSED lhd: 0x00000000 ltl:

free list 的信息通常保留在segment header中,这里给出segment header block dump片段加以说明:

nfl = 3, nfb = 1 typ = 1 nxf = 0
  SEG LST:: flg: UNUSED lhd: 0x00000000 ltl: 0x00000000
  SEG LST:: flg: USED lhd: 0x03c00233 ltl: 0x03c00233
  SEG LST:: flg: USED lhd: 0x03c00234 ltl: 0x03c00234
  SEG LST:: flg: UNUSED lhd: 0x00000000 ltl: 0x00000000
  Segment Header:
  ==> nfl: number of free lists/block
  ==> nfb: number of free list blocks + segment header
  ==> typ: block type
  ==> nxf: number of transaction free lists
  Segment List:
  ==> flg: flag USED or UNUSED the free list
  ==> lhd: head of free list
  ==> ltl: tail of free list

在每一个块中都有一个标记flg用来表明块是否链入了 free list链中。如果这个标志置上,该块中后向指针指向free list链中下一个块的DBA。如果当前块是链的最末尾的块,该后向指针值为0。这里给出位于free list上的block dump的片段

Block header dump: 0x03c00235
  Object id on Block? Y
  seg/obj: 0xe2d8 csc: 0x00.6264c61 itc: 1 flg: O typ: 1 - DATA
  fsl: 1 fnx: 0x3c00234 ver: 0x01
  ==> Seg/obj Object ID in dictionary
  ==> csc SCN of last block cleanout
  ==> itc Number of ITL slots
  ==> flg O = On freelist , - = Not on freelist
  ==> typ 1 = DATA 2 = INDEX
  ==> fsl ITL TX freelist slot
  ==> fnx DBA of NEXT block on freelist

上一页  1 2 3 4 5 6 7 8  下一页

Tags:Oracle Freelist HWM

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接