{
  "date": "2014-05-12T08:58:00",
  "slug": "exploring-oracle-se-a-ee-performance-statistics-with-orachrome-lighty",
  "link": "https://www.dbi-services.com/blog/exploring-oracle-se-a-ee-performance-statistics-with-orachrome-lighty/",
  "title": {
    "rendered": "Exploring Oracle SE &amp; EE performance statistics with Orachrome Lighty"
  },
  "content": {
    "rendered": "<h2>By Franck Pachot</h2>\n<p>.</p>\n<ol>\nAt dbi services, we really like Lighty for Oracle, a tool which helps exploring performance statistics whether they originate from AWR (available only in Enterprise Edition with Diagnostic Pack option) or from Statspack (available via Standard Edition). As a matter of fact, we like it so much that we have became Orachrome Partner.</p>\n<p>If you want to try it out for yourselves, there is a free trial <a href=\"https://orachrome.com/download.php\">here</a>. If you have Statspack installed (see spdoc.txt in ORACLE_HOME/rdbms/admin to install it), you can immediately use Lighty.</p>\n<p>Let me show you how to install it. First, you have to define a connection (shortcut: Ctrl-A):</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty001.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty001.png\"><img decoding=\"async\" title=\"CaptureLighty001.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty001.png\" alt=\"CaptureLighty001.PNG\" /></a></p>\n<p>It is a jdbc connection without the need to install anything else. You just need the listener host, port, and service:</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty002.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty002.png\"><img decoding=\"async\" title=\"CaptureLighty002.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty002.png\" alt=\"CaptureLighty002.PNG\" /></a></p>\n<p>As you are on Oracel Standard Edition, you don&#8217;t have Diagnostic Pack nor tuning Pack.<br />\nBut you have installed Statspack, and you will install L-ASH very soon:</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty003.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty003.png\"><img decoding=\"async\" title=\"CaptureLighty003.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty003.png\" alt=\"CaptureLighty003.PNG\" /></a></p>\n<p>Now, you can install L-ASH as documented. But the goal of this post is to show what you can get it immediately. Go to the menu: Reports &gt; DB Statistics &gt; Past Activity (Statspack)<br />\nYou can select a day and see the snapshots. The color bar immediately shows when the activity was high:</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty004.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty004.png\"><img decoding=\"async\" title=\"CaptureLighty004.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty004.png\" alt=\"CaptureLighty004.PNG\" /></a></p>\n<p>Then you can choose the graphical equivalent for my preferred Statspack sections:<br />\nTop Events:</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty005.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty005.png\"><img decoding=\"async\" title=\"CaptureLighty005.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty005.png\" alt=\"CaptureLighty005.PNG\" /></a></p>\n<p>Top Segments (change the Statspack level to 7 for that):</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty007.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty007.png\"><img decoding=\"async\" title=\"CaptureLighty007.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty007.png\" alt=\"CaptureLighty007.PNG\" /></a></p>\n<p>And of course Top SQL Statements:</p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CaptureLighty006.PNG\" href=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty006.png\"><img decoding=\"async\" title=\"CaptureLighty006.PNG\" src=\"https://www.dbi-services.com/blog/wp-content/uploads/sites/2/2022/04/CaptureLighty006.png\" alt=\"CaptureLighty006.PNG\" /></a></p>\n<p>For each statement (click on its sql_id) you will have everything: SQL text, execution plan, statistics.<br />\nIf you like the tool, it&#8217;s time to go further and install L-ASH so that you can mine from the Activity Viewer tab, which is the most valuable feature of Lighty for Oracle.</p>\n",
    "protected": false
  }
}
