{"id":4552,"date":"2015-04-14T10:43:20","date_gmt":"2015-04-14T08:43:20","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/"},"modified":"2015-04-14T10:43:20","modified_gmt":"2015-04-14T08:43:20","slug":"yesterdays-awr-straight-to-the-goal","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/","title":{"rendered":"Yesterday&#8217;s AWR Straight to the Goal"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nYesterday I was a speaker at Collaborate15 and did my presentation about reading an AWR report. That was great. Many people (and not enough seats).<\/p>\n<p>Here are some aswers about questions that came later.<\/p>\n<p>I did that presentation at DOAG last year in a much bigger room. But because of the bigger room there was no questions, and because of the tension I felt in that big room, I made it too fast. Yesterday&#8217;s was better in my opinion, able to cover everything, including questions, in one hour.<\/p>\n<p>I was a bit surprised by the number of people having Diagnostic Pack. About 50%. This is not the case with my customers. Probably there are biggest companies in US that can affort higher licence costs.<\/p>\n<p>Anyway some people are in EE without Diagnostic Pack, or in SE and they run Statspack. I said that they can do exacltly the same approach as long as the take level 7 statspack reports.<\/p>\n<h3>Statspack level<\/h3>\n<p>How do you set it? Here is how to do after installing Statspack:<\/p>\n<pre><code>SQL&gt; exec STATSPACK.MODIFY_STATSPACK_PARAMETER (i_snap_level=&gt;7, i_modify_parameter=&gt;'true', i_instance_number=&gt;null);<\/code><\/pre>\n<p>If you are in RAC, just do the same for each instance, with the right instance number.<\/p>\n<p>There is a warning I always add when I give our <a href=\"index.php\/products\/dbi-insite-workshops\/oracle-performance-tuning-training\">tuning workshop<\/a>\u00a0: if you do it afterwards, please run one snapshot just to check there is no problem. From my experience, I have seen the following issues:<\/p>\n<ul>\n<li>System swapiness was configured high. The instance was quite idle, so a big part of the shared pool had been swapped. The level 7 snapshot has to read lot of cursor and execution plan information from shared pool and then the system is stuck for a while, bringing all that back in memory. The solution: configure the instance properly (swapiness=0)<\/li>\n<li>No automatic stats gathering were done on PERFSTAT schema. Bad statistics made the insert into STATS$SQL_PLAN very bad. Solution: gather statistics properly.<\/li>\n<\/ul>\n<p>Besides that, I don&#8217;t see know any problem having level 7 as the default. It adds segment statistics and it adds execution plan.<\/p>\n<h3>Predicates in explain plan<\/h3>\n<p>I said that predicates are missing in the plans. <a href=\"\/awr-dont-store-explain-plan-predicates\">Here<\/a> is the reason. And &#8211; maybe &#8211; <a href=\"https:\/\/community.oracle.com\/ideas\/2494\">here<\/a> is a way to have that fixed one day. Please vote up for that idea on OTN.<\/p>\n<h3>Presentation material<\/h3>\n<p>Some people that were not at IOUG Collaborate have asked if the presentation is public. Not yet. I&#8217;ve submitted it for other events this year, so it cannot be public. But maybe you can try to drop me a mail.<br \/>\nPeople being there can download the pdf and white paper from <a href=\"http:\/\/coll15.mapyourshow.com\/6_0\/sessions\/session-details.cfm?ScheduleID=3535\">here<\/a>.<\/p>\n<h3>Get deeper<\/h3>\n<p>You want to go further than the AWR report? You can query AWR views.<br \/>\nLearn that at Maris Elsins session today: <a href=\"http:\/\/coll15.mapyourshow.com\/6_0\/sessions\/session-details.cfm?ScheduleID=3548\">Mining the AWR: Alternative Methods for Identification of the Top SQLs in Your Database<\/a><\/p>\n<h3>Conclusion<\/h3>\n<p>Please, don&#8217;t forget to give feedback from the Collaborate app.<br \/>\nThanks a lot to the attendees, as well as the IOUG Forum organisation.<\/p>\n<blockquote class=\"twitter-tweet\" lang=\"en\"><p>6 minutes to go and the room is already full for <a href=\"https:\/\/twitter.com\/FranckPachot\">@FranckPachot<\/a>! Congrats <a href=\"http:\/\/t.co\/jHY7n9Po0P\">pic.twitter.com\/jHY7n9Po0P<\/a><\/p>\n<p>\u2014 Ludovico Caldara (@ludodba) <a href=\"https:\/\/twitter.com\/ludodba\/status\/587758341323001857\">April 13, 2015<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . Yesterday I was a speaker at Collaborate15 and did my presentation about reading an AWR report. That was great. Many people (and not enough seats). Here are some aswers about questions that came later. I did that presentation at DOAG last year in a much bigger room. But because of the [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[199,59],"tags":[],"type_dbi":[],"class_list":["post-4552","post","type-post","status-publish","format-standard","hentry","category-hardware-storage","category-oracle"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Yesterday&#039;s AWR Straight to the Goal - dbi Blog<\/title>\n<meta name=\"description\" content=\"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can&#039;t read it from beginning to the end. I&#039;ll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Yesterday&#039;s AWR Straight to the Goal\" \/>\n<meta property=\"og:description\" content=\"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can&#039;t read it from beginning to the end. I&#039;ll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-04-14T08:43:20+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Yesterday&#8217;s AWR Straight to the Goal\",\"datePublished\":\"2015-04-14T08:43:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\"},\"wordCount\":523,\"commentCount\":0,\"articleSection\":[\"Hardware &amp; Storage\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\",\"name\":\"Yesterday's AWR Straight to the Goal - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2015-04-14T08:43:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"description\":\"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can't read it from beginning to the end. I'll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Yesterday&#8217;s AWR Straight to the Goal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Yesterday's AWR Straight to the Goal - dbi Blog","description":"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can't read it from beginning to the end. I'll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/","og_locale":"en_US","og_type":"article","og_title":"Yesterday's AWR Straight to the Goal","og_description":"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can't read it from beginning to the end. I'll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.","og_url":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/","og_site_name":"dbi Blog","article_published_time":"2015-04-14T08:43:20+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Yesterday&#8217;s AWR Straight to the Goal","datePublished":"2015-04-14T08:43:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/"},"wordCount":523,"commentCount":0,"articleSection":["Hardware &amp; Storage","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/","url":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/","name":"Yesterday's AWR Straight to the Goal - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2015-04-14T08:43:20+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"description":"AWR report has a lot of information helpful to analyse your database performance during a time window. But you can't read it from beginning to the end. I'll show how I read it, navigating through the relevant sections only, and avoiding misinterpretation by checking how it addresses the scope of the performance issue. And getting straight to the goal: improve the end-user response time. This presentation features a practical example covering some commonly encountered cases. We look only at the sections that are also available in Statspack - so the method can be used on Standard Edition as well.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/yesterdays-awr-straight-to-the-goal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Yesterday&#8217;s AWR Straight to the Goal"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/4552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=4552"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/4552\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=4552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=4552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=4552"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=4552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}