- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
3#
发表于 2012-2-7 16:36:56
查一下- connect / as sysdba
- spool jvm_stat.log
- set serveroutput on
- set echo on
- set pagesize500
- set linesize 100
- column comp_name format a40
- select comp_name, version, status from dba_registry;
- select owner, status, count(*) from all_objects
- where object_type like '%JAVA%' group by owner, status;
- select owner, object_type, count(*) from all_objects
- where object_type like '%JAVA%' and status <> 'VALID' group by owner, object_type;
- select owner, status, object_type, object_name from all_objects
- where object_name like'%DBMS_JAVA%';
- select owner, status, object_type, object_name from all_objects
- where object_name like'%INITJVMAUX%';
- select * from v$sgastat where POOL = 'java pool' or NAME = 'free memory';
- show parameter pool_size
- show parameter sga
- select owner, object_type, status, dbms_java.longname(object_name) from all_objects
- where object_type like '%JAVA%' and status <> 'VALID';
- spool off
- /
复制代码 |
|