数据库被挂起时怎么办

You notice that the performance of your production 24/7 Oracle 12c database has significantly degraded. 
Sometimes you are not able to connect to the instance because it hangs.
 You do not want to restart the database instance.
How can you detect the cause of the degraded performance?
A.Enable Memory Access Mode, which reads performance data from SGA.
B.Use emergency monitoring to fetch data directly from SGA for analysis.
C.Run Automatic Database Diagnostic Monitor (ADDM) to fetch information from the latest 
  Automatic Workload Repository (AWR) snapshots.
D.Use Active Session History (ASH) data and hang analysis in regular performance monitoring,
E.Run ADDM in diagnostic mode.
Answer: C
Explanation:
*In most cases, ADDM output should be the first placethat a DBA looks when notified of a performance problem.
*Performance degradation of the database occurs when your database was performing optimally in the past, 
such as 6 months ago, but has gradually degraded to a point where it becomes noticeable to the users. 
The Automatic Workload Repository (AWR) Compare Periods report enables you to 
compare database performance between two periods of time.
While an AWR report shows AWR data between two snapshots (or two points in time), 
the AWR Compare Periods report shows the difference between two periods 
(or two AWR reports with a total of four snapshots). 
Using the AWR Compare Periods report helps you to identify detailed performance attributes 
and configuration settings that differ between two time periods.
Reference: Resolving Performance Degradation Over Time
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值