随笔分类 - awr分析
摘要:http://www.oraclefans.cn/forum/showtopic.jsp?rootid=4806ROW CACHE LOCK等待事件是一个共享池相关的等待事件。是由于对于字典缓冲的访问造成的。P1 - Cache IdP2 - Mode HeldP3 - Mode Requestedmode 和REQUEST的取值:KQRMNULL 0 null mode - not lockedKQRMS 3 share modeKQRMX 5 exclusive modeKQRMFAIL 10 fail to acquire instance lock如果是RAC...
阅读全文
摘要:http://www.dbaleading.com/Article.asp?id=40http://www.ardentperf.com/2007/09/12/gc-buffer-busy-waits-in-rac-finding-hot-blocks/使用ash1、从dba_hist_snapshot中查得相关时间窗口select min(begin_interval_time) min, max(end_interval_time) max from dba_hist_snapshotwhere snap_id between 12831 and 12838;MIN ...
阅读全文
摘要:http://blog.sina.com.cn/s/blog_854ec93b01018rwt.htmlOracle_AWR_报告分析实例讲解1、选择能够代表性能问题的时间段:因为数据库的负载总是集中在一段时间内。2、shared pool主要包括library cache和dictionary cache:library cache用来存储最近解析(或编译)后SQL、PL/SQL和Java classes等。library cache用来存储最近引用的数据字典。发生在library cache或dictionary cache的cache miss代价要比发生在buffer cache的代价
阅读全文
摘要:http://t.askmaclean.com/thread-1484-1-1.html10.2.0.5.0+RACElapsed: 60.32 (mins) DB Time: 582.45 (mins) AAS非常高,说明负载很高gc buffer busy 12,815,419 22,761 2 65.1 ClusterCPU time 7,283 20.8 gc cr multi bloc...
阅读全文
摘要:http://yangtingkun.itpub.net/post/468/526943客户产品数据库上午出现了严重的性能问题,简单记录一下问题的诊断和解决过程。可以看到,数据库的DB TIME已经涨到了非常高的地步,这说明系统正经受着非常严重的性能问题:Snap IdSnap TimeSessionsCursors/SessionBegin Snap:717031-3月-12 08:00:5039510.5End Snap:717231-3月-12 09:00:2768911.7Elapsed:59.61 (mins)DB Time:17,270.93 (mins)从TOP 5看,等待事件中
阅读全文
摘要:http://blog.csdn.net/robinson1988/article/details/6077944AWR中有 DB time这个术语,那么什么是DB time呢?Oracle10gR2 官方文档 给出了详细解释(Oracle10gPerformance Tuning Guide 5.1.1.2 Time Model Statistics)The most important of the time model statistics is DB time. This statistics represents the total time spent indatabase cal
阅读全文
摘要:http://www.eygle.com/digest/2009/02/awr_db_time.html在Oracle Database 10g中引入了DB time指标,其实这并不算是新概念。先摘录一些官方的说明(Oracle Database Performance Tuning Guide 10g Release 2 (10.2) B14211-01)DB TimeAmount of elapsed time (in microseconds) spent performing Database user-level calls. This does not include the ti
阅读全文
摘要:http://digifish.i.sohu.com/blog/view/41915667.htmolivenan网友在itpub上提问,statspack报表中的Rollback per transaction %达到93.97%,对系统是否有影响,偶以前也曾经也遇到过这个问题,现将这个问题做个解答,希望对这个问题比较困惑的同学有所帮助,实际情况就是:statsapck报表中的rollback per transaction%比例过高对系统没有什么不利影响。如果想对这个问题有所理解,必须对以下两个问题的概念比较清楚:1 了解user rollback与transaction rollback
阅读全文
摘要:http://www.oraclefans.cn/forum/showtopic.jsp?rootid=400231.5.10如何优化LOGFILESYNC在一个提交十分频繁的系统中,我们经常会看到LOGFIELSYNC等待事件排在TOEVENTS中。这种情况下,我们可能就需要针对LOGFILESYNC等待事件进行优化了。首先我们会看一下这个等待事件平均的等待时长,正常情况下这个等待事件的平均等待时间不会超过10毫秒,如果等待时间太长,那说明LOGWRITER每次写入的时间过长,如果能够优化一下REDOLOG文件的存储,使之存放到更快的磁盘上,可以减少这个等待事件的单次等待时间。不过往往理论上
阅读全文