【技巧】Oracle之dump使用(1)

【技巧】Oracle之dump使用(1)

  Oracle的dump命令与dump函数

  一.Memory Dumps

  1).Global Area

  ALTER SESSION SET EVENTS ‘immediate trace name global_area level n’;

  1 包含PGA

  2 包含SGA

  4 包含UGA

  8 包含indrect memory

  2).Library Cache

  ALTER SESSION SET EVENTS ‘immediate trace name library_cache level n’;

  1 library cache统计信息

  2 包含hash table histogram

  3 包含object handle

  4 包含object结构(Heap 0)

  3).Row Cache

  ALTER SESSION SET EVENTS ‘immediate trace name row_cache level n’;

  1 row cache统计信息

  2 包含hash table histogram

  8 包含object结构

  4).Buffers

  ALTER SESSION SET EVENTS ‘immediate trace name buffers level n’;

  1 buffer header

  2 level 1 + block header

  3 level 2 + block contents

  4 level 1 + hash chain

  5 level 2 + hash chain

  6 level 3 + hash chain

  8 level 4 + users/waiters

  9 level 5 + users/waiters

  10 level 6 + users/waiters

  5).Buffer

  ALTER SESSION SET EVENTS ‘immediate trace name buffer level n’;

  n为某个指定block的rdba,该命令可以转储某个block在buffer中的所有版本。

  6).Heap

  ALTER SESSION SET EVENTS ‘immediate trace name heapdump level level’;

  1 PGA摘要

  2 SGA摘要

  4 UGA摘要

  8 Current call(CGA)摘要

  16 User call(CGA)摘要

  32 Large call(LGA)摘要

  •  
  • 在线报名

 
     姓 名:
     性 别:
     联系电话:
     qq:
    验证码:
 
·报名须知·
点击咨询 点击咨询
点击咨询 点击咨询 点击这里给我发消息
  •  
  • 学员作品
学员作品
Oracle学校 | Oracle学校 | 技术学堂 | Oracle简介 | 关于中心 | 人才加盟 | 联系我们 | 点击咨询
2012Copyright © 北京市大兴区华腾职业技能培训学校 版权所有 友情链接QQ
学校地址:北京市海淀区北三环中路27号 商房大厦六层 马甸桥东(国美电器楼上)
报名热线:400-690-8516 010-82013489 82015141 京ICP备11042126号 京公网安备110102004701