2009年12月17日

关于v$db_object_cache的一些脚本

摘要: 找出在 library cache中所需空间大于100k的PL/SQL对象 select name,sharable_mem,loads from v$db_object_cachewhere sharable_mem>102400 and type in('PACKAGE','PACKAGE B... 阅读全文

posted @ 2009-12-17 23:27 如果蜗牛有爱情 阅读(90) 评论(0) 推荐(0) 编辑

v$db_object_cache

摘要: 官方文档上面说 V$DB_OBJECT_CACHE displays database objects that are cached in the library cache.下面做个试验:session a:SQL> startupORACLE 例程已经启动。Total System Glob... 阅读全文

posted @ 2009-12-17 22:55 如果蜗牛有爱情 阅读(275) 评论(0) 推荐(0) 编辑

关于lock的一些脚本

摘要: 下面的脚本可以查看哪些对象被哪些会话锁定,以及锁定的类型 col usernameformat a10col lock_type format a15col object_name format a15select oracle_username username,session_id sid,d... 阅读全文

posted @ 2009-12-17 13:45 如果蜗牛有爱情 阅读(137) 评论(0) 推荐(0) 编辑

导航