Erp100论坛's Archiver

xiangzhao 发表于 2008-7-13 10:56

学习动态性能表(12)

[font=宋体]本视图提供对象在[/font][font=Times New Roman]library cache(shared pool)[/font][font=宋体]中对象统计,提供比[/font][font=Times New Roman]v$librarycache[/font][font=宋体]更多的细节,并且常用于找出[/font][font=Times New Roman]shared pool[/font][font=宋体]中的活动对象。[/font]
[font=Times New Roman] [/font]
[b][font=Times New Roman]v$db_object_cache[/font][/b][b][font=宋体]中的常用列:[/font][/b]
[font=Wingdings]l
[/font][font=Times New Roman]OWNER[/font][font=宋体]:对象拥有者[/font]
[font=Wingdings]l
[/font][font=Times New Roman]NAME[/font][font=宋体]:对象名称[/font]
[font=Wingdings]l
[/font][font=Times New Roman]TYPE[/font][font=宋体]:对象类型[/font][font=Times New Roman]([/font][font=宋体]如,[/font][font=Times New Roman]sequence,procedure,function,package,package body,trigger)[/font]
[font=Wingdings]l
[/font][font=Times New Roman]KEPT[/font][font=宋体]:告知是否对象常驻[/font][font=Times New Roman]shared pool(yes/no)[/font][font=宋体],有赖于这个对象是否已经利用[/font][font=Times New Roman]PL/SQL [/font][font=宋体]过程[/font][font=Times New Roman]DBMS_SHARED_POOL.KEEP“[/font][font=宋体]保持[/font][font=Times New Roman]”[/font][font=宋体](永久固定在内存中)[/font]
[font=Wingdings]l
[/font][font=Times New Roman]SHARABLE_MEM[/font][font=宋体]:共享内存占用[/font]
[font=Wingdings]l
[/font][font=Times New Roman]PINS[/font][font=宋体]:当前执行对象的[/font][font=Times New Roman]session[/font][font=宋体]数[/font]
[font=Wingdings]l
[/font][font=Times New Roman]LOCKS[/font][font=宋体]:当前锁定对象的[/font][font=Times New Roman]session[/font][font=宋体]数[/font]

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2007 Comsenz Inc.