|
- select * from dba_outstanding_alerts;
- select * from dba_alert_history;
- select * from v$fixed_table where name like 'V$%ADVICE%';
- select * from V$SHARED_POOL_ADVICE;
- select * from V$DB_CACHE_ADVICE;
- select * from V$PGA_TARGET_ADVICE;
- select * from V$MEMORY_TARGET_ADVICE;
- select * from V$SGA_TARGET_ADVICE;
- select * from V$PGA_TARGET_ADVICE_HISTOGRAM;
- select * from v$sga_dynamic_components;
- ----
- select n.NAME, sa.VALUE
- from v_$session s , v_$sesstat sa , v_$statname n
- where s.SID=sa.SID and sa.STATISTIC#=n.STATISTIC#
- and s.TERMINAL='pts/4' ;
-
- select * from v$fixed_table where name like 'V$%CLASS%';
-
- select * from V$SYSTEM_WAIT_CLASS;
-
- select * from dba_objects o where o.owner='HR' and o.object_type in
- ('PROCEDURE','PACKAGE', 'PACKAGE BODY','FUNCTION','TYPE','TRIGGER') ;
-
-
-
- select i.blevel
- from dba_indexes i where i.owner='HR' and i.index_name='I04209_UNAME';
-
- alter index hr.i04209_name rebuild online;
-
- select * from v$fixed_Table where name like 'V$%CACHE%';]
-
- select * from V$DB_OBJECT_CACHE where owner='HR' and name='SECURE_DML';
-
- begin
- dbms_shared_pool.keep('HR.SECURE_DML');
- end;
-
- begin
- dbms_shared_pool.unkeep('HR.SECURE_DML');
- end;
-
复制代码
|
|