首页 >数据库 >mysql教程 > 通过案例学调优之--动态视图(v$bh和x$bh)

通过案例学调优之--动态视图(v$bh和x$bh)

WBOY
WBOY原创
2016-06-07 16:48:03987浏览

通过案例学调优之--动态视图(v$bh和x$bh)v$bh与x$bhv$bh:非常详细地记录了数据块在数据缓冲区内的使用情况,一条记录对应一个block的详细记录。v$bh来自于基表x

13:07:20 SYS@ test1 >desc v$bh  Name                                                              Null?    Type  ----------------------------------------------------------------- -------- --------------------------------------------  FILE#                                                                      NUMBER  BLOCK#                                                                     NUMBER  CLASS#                                                                     NUMBER  STATUS                                                                     VARCHAR2(10)  XNC                                                                        NUMBER  FORCED_READS                                                               NUMBER  FORCED_WRITES                                                              NUMBER  LOCK_ELEMENT_ADDR                                                          RAW(4)  LOCK_ELEMENT_NAME                                                          NUMBER  LOCK_ELEMENT_CLASS                                                         NUMBER  DIRTY                                                                      VARCHAR2(1)  TEMP                                                                       VARCHAR2(1)  PING                                                                       VARCHAR2(1)  STALE                                                                      VARCHAR2(1)  DIRECT                                                                     VARCHAR2(1)  NEW                                                                        CHAR(1)  OBJD                                                                       NUMBER  TS#                                                                        NUMBER  LOBID                                                                      NUMBER  CACHEHINT                                                                  NUMBER
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn