标签:repos exec int bms nap rdb time awr code
-----sqlplus中执行(AWR时间段 ) @?/rdbms/admin/awrrpt.sql -----手工生成快照 exec dbms_workload_repository.create_snapshot();--语句三次执行,归入快照 --查询快照 select * from dba_hist_snapshot order by begin_interval_time desc; ---2hud6nnbgr258具体SQL语句 @?/rdbms/admin/awrsqrpt.sql 等同 @$ORACLE_HOME/rdbms/admin/awrsqrpt.sql --删除历史快照 begin dbms_workload_repository.drop_snapshot_range(5777, 5777, 1446169172); end;
标签:repos exec int bms nap rdb time awr code
原文地址:http://www.cnblogs.com/xuzhong86/p/7687925.html