摘要: Advisory Framework所有的Advisory Framework都是基于AWR(Automatic workload Repository)的.Enterprise Manager and AdvisorsDBMS_AVISOR Package ProcedureDescriptionCREATE_TASKCreates a new task in the repositoryDELETE_TASKDelete a task from the repositoryEXECUTE_TASKInitiates execution of the taskINTERRUPT_TASKS. 阅读全文
posted @ 2013-05-30 17:22 ArcerZhang 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 检测出网络瓶颈、CPU瓶颈、锁竞争、I/O问题、内存参数设置、发现应用问题(SQL语句所占资源多,负载重)等,ADDM可以根据上述瓶颈问题,可以给出科学合理的建议.如果oracle配置不当(规划日志文件),ADDM也会给出科学合理的建议.oracle中有很多专家,有的擅长SQL,有的擅长空间管理.假如想请专家分析SQL语句,ADDM就可以主动分析,有的专家需要“请”才会主动服务.假如将ADDM比作医生专家的话,那么ADDM就是全科专家;oracle中有很多其他专家,大部分都是专科医生.Automatic Databae Diagnostic Monitor(ADDM)Runs after ea 阅读全文
posted @ 2013-05-30 16:17 ArcerZhang 阅读(213) 评论(0) 推荐(0) 编辑
摘要: SQL> select tablespace_name,contents from dba_tablespaces;TABLESPACE_NAME CONTENTS------------------------------ ---------SYSTEM PERMANENTSYSAUX PERMANENTUNDOTBS1 UNDOTEMP TEMPORARYUSERS ... 阅读全文
posted @ 2013-05-30 15:48 ArcerZhang 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Oracle Optimizer:OverviewThe Oracle optimizer determines the most efficient execution plan and is the most important step in the processing of any SQL statement.The OptimizerEvaluates expressions and conditionsUses object and system statisticsDecides how to access the dataDecides how to join tablesD 阅读全文
posted @ 2013-05-30 13:39 ArcerZhang 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 主动式维护被动是维护(critical)AWR本身就是一个数据库,专门用来存放数据库本身运行信息的,通直接的用户数据、业务数据无关.AWR是oracle自我管理的一个基础.OjbectivesAfter completing this lesson,you should be able to :Manage optimizer statisticsManage the Automatic Workload Repository(AWRUse the Automatic Database Diagnostic Monitor(ADDM)Describe and use the advisory 阅读全文
posted @ 2013-05-30 11:31 ArcerZhang 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Remote database job是11g的新特性Creating a Job Array--1、Declare variables of types sys.job and sys.job_array:DECLARE newjob sys.job; newjobarr sys.job_array;--2、Initialize the job array:BEGIN newjobarr := SYS.JOB_ARRAY();--3、Size the job array to hold the number of jobs needed:newjob... 阅读全文
posted @ 2013-05-30 10:26 ArcerZhang 阅读(208) 评论(0) 推荐(0) 编辑
摘要: plachholder 阅读全文
posted @ 2013-05-30 09:37 ArcerZhang 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 问题描述:在sys用户下直接授权grant create job to U3/grant create any job to U3,执行成功后,切换到U3用户后,执行dbms_scheduler.create_chain('my_chain1');会报权限不足的错误.不知道为什么?begin dbms_scheduler.create_chain('my_chain1');end;/ 4 begin*ERROR at line 1:ORA-01031: insufficient privilegesORA-06512: at "SYS.DBMS_ISC 阅读全文
posted @ 2013-05-30 07:33 ArcerZhang 阅读(548) 评论(1) 推荐(0) 编辑