{"id":1582,"date":"2010-03-10T12:00:00","date_gmt":"2010-03-10T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=1582"},"modified":"2010-03-10T12:00:00","modified_gmt":"2010-03-10T12:00:00","slug":"hotsos-2010-day-3-an-excellent-one-part-1","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2010\/03\/10\/hotsos-2010-day-3-an-excellent-one-part-1\/","title":{"rendered":"Hotsos 2010 &#8211; Day 3 &#8211; An excellent one (part 1)"},"content":{"rendered":"<p>Well, that was a nice start to the day! Someone came up to me just before Wolfgang Breitling&#8217;s presentation to point out that something from my presentation had helped him fix a problem at work last night. It was the OEM Raw Data drill-down that shows you the underlying ASH data for sessions, including backgrounds. He&#8217;d used it to identify the timed event leading up to a problem with a crashing smon process. Actually, the more people I speak to, the more I get over the presentation. Most people recognised I made the best of a bad situation but I&#8217;m glad that someone actually learned something, too!<\/p>\n<p>Wolfgang&#8217;s &#8220;Anatomy of a SQL Tuning Session&#8221; was one that I managed to miss at UKOUG and I&#8217;m glad I made it this time. It revolved around taking a single SQL statement that took 9 minutes to execute and walking through various tuning iterations, using modern tools and optimiser possibilities, leading to a sub-second execution time. It was a natural extension of Wolfgang&#8217;s Tuning by Cardinality Feedback that I&#8217;ve often recommended to colleagues. He covered a variety of techniques including :-<\/p>\n<p>&#8211; Converting parts of the statement to scalar sub-queries<br \/>&#8211; Subquery factoring<br \/>&#8211; Transitive closure, with a useful tip that it may be worth experimenting with specifying <em>apparently<\/em> redundant join predicates to give the optimiser more information to work with.<br \/>&#8211; Using the Outline part of 10g DBMS_XPLAN to identify the set of hints that would create a specific plan and then using some of them yourself (but this is far easier if you name your query blocks).<\/p>\n<p>What I particularly liked about this presentation was the way that Wolfgang illustrated execution plan steps and changes with some nice slides, highlighting a few steps at a time. But it made me feel a lot better about my mobile phone going off the previous day when Wolfgang&#8217;s *own* mobile went off during this one &#128521;<\/p>\n<p>Next up was Neil Gunther with &#8220;How to Quantify Oracle Scalability &#8211; Part 1&#8221;, a presentation about applying his Universal Scalability Law (USL) to Oracle systems. There were quite a few high-level points I picked up from this. <\/p>\n<p>People often assume that the purpose of a model is purely to predict the future but it&#8217;s probably just as (or more) useful as a method of validating test results because in his view &#8216;Data comes from the devil and models come from god&#8217;. I&#8217;m not sure I agree with that. Test results, even incorrect results, represent reality to me that can&#8217;t just be explained away by Maths which doesn&#8217;t agree with them but I suspect that&#8217;s my peculiar perspective. I much preferred the suggestion that we use models and data together because, whilst he might not trust my data, maybe I don&#8217;t trust his model yet?<\/p>\n<p>He talked about how the USL allows for the phenomenon of reduced throughput as workload increases which is something I think I&#8217;ve seen before by adding Coherency to Amdahl&#8217;s Law. The USL is definitely worth more investigation. As a non-mathematician, though, I suspect I always struggle with this stuff.<\/p>\n<p>Which was why I was *so* relieved that I made the tough decision to skip Riyaj&#8217;s presentation and stayed for the second part of this two-hander by Peter Stadler &#8211; &#8220;How to Quantify Oracle Scalability &#8211; Part 2&#8221;. This was a more practical examination of the USL in relation to Oracle systems and as someone who is very interested in performance in general and the relationship between Response Time and Throughput in particular, this hit the spot. What was slightly bizarre, though was when I recognised the URL for <a href=\"http:\/\/18.133.199.212\/?p=1470\">this blog post<\/a> and the test results come up on screen. I think I&#8217;m right to say that this is the second consecutive Hotsos Symposium where this one post has been discussed (by Cary Millsap last year) so I must be doing <em>something<\/em> right &#128521;<\/p>\n<p>Peter spent the next 20 minutes or so talking about some of the comments on the post and plugging the results into the USL. I must admit to being slightly surprised by the fact that Peter didn&#8217;t think to drop me a mail to let me know he was going to talk about it so much because I might have missed it and it was fascinating! He talked about the lack of detail in the results, but that was because the blog post had an extremely simple message &#8211; are you looking for High Throughput, Low Response Times or both? Regardless, if he&#8217;d asked me, I could have given him some more information to work with. For example, there was some discussion about measurement errors in data and performing multiple runs to address that which is something I did, but only published one set of fairly representative results.<\/p>\n<p>So it was all a bit strange and unexpected, but utterly fascinating to see someone apply a mathematical approach to my empirical results. I hope that Peter might post the slides and add a URL to the blog post so that everyone can share what he found. I think that&#8217;s the point of the comments thread and of blogging in general &#8211; sharing information and knowledge and building a discussion.<\/p>\n<p>Next I managed to eat a little bit of much-needed lunch with Paul Matuszyk and then had to get ready for my important work call. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, that was a nice start to the day! Someone came up to me just before Wolfgang Breitling&#8217;s presentation to point out that something from my presentation had helped him fix a problem at work last night. It was the OEM Raw Data drill-down that shows you the underlying ASH data for sessions, including backgrounds.&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2010\/03\/10\/hotsos-2010-day-3-an-excellent-one-part-1\/\">Continue reading <span class=\"screen-reader-text\">Hotsos 2010 &#8211; Day 3 &#8211; An excellent one (part 1)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1582","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1587,"url":"http:\/\/orcldoug.com\/blog\/2010\/03\/16\/hotsos-2010-summary\/","url_meta":{"origin":1582,"position":0},"title":"Hotsos 2010 &#8211; Summary","date":"March 16, 2010","format":false,"excerpt":"[One thing that's great about jet-lag is that it allows you to catch up on blogging and all the email that's built up while you've been away at the conference. Not much else you can do at 2:30 in the morning.]I'm glad I went to the Hotsos Symposium again this\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1421,"url":"http:\/\/orcldoug.com\/blog\/2008\/06\/23\/northern-server-technology-day\/","url_meta":{"origin":1582,"position":1},"title":"Northern Server Technology Day","date":"June 23, 2008","format":false,"excerpt":"Last Thursday's Northern Server Technology Day organised by the UKOUG was one of the more enjoyable events I've attended. It helped that there were no hotels, driving or airports involved, just a simple walk to the train station, a 90 minute train journey (free wireless on hand) and a 10\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1586,"url":"http:\/\/orcldoug.com\/blog\/2010\/03\/16\/hotsos-2010-day-5-training-day-with-tanel-poder\/","url_meta":{"origin":1582,"position":2},"title":"Hotsos 2010 &#8211; Day 5 &#8211; Training Day with Tanel Poder","date":"March 16, 2010","format":false,"excerpt":"I generally wouldn't visit the Hotsos Training Day, mainly because I've been away from home and work for long enough, particularly when you add the travelling time at either end, but this time I was determined to attend because Tanel was presenting.It was a busy room with a very high\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":918,"url":"http:\/\/orcldoug.com\/blog\/2005\/11\/02\/ukoug-2005-day-3\/","url_meta":{"origin":1582,"position":3},"title":"UKOUG 2005 &#8211; Day 3","date":"November 2, 2005","format":false,"excerpt":"I was up early, skipped breakfast and ready to go on my busiest day of the conference. I'd volunteered to chair a few sessions to do my bit for the UKOUG but they'd all fallen on the last day!First, Connor McDonald's 'Evolution of SQL and PL\/SQL', which was the usual\u2026","rel":"","context":"With 5 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1687,"url":"http:\/\/orcldoug.com\/blog\/2012\/09\/04\/enkitec-extreme-exadata-expo\/","url_meta":{"origin":1582,"position":4},"title":"Enkitec Extreme Exadata Expo","date":"September 4, 2012","format":false,"excerpt":"(Otherwise known as #E4)Another late post, but a few weeks ago I had the pleasure of attending and speaking at Enkitec's dedicated Exadata conference, E4. The stand-out impressions that I've been babbling away to people about since getting home were :-1) The uniformly good quality of the presentations I was\u2026","rel":"","context":"With 3 comments","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/18.133.199.212\/wp-content\/uploads\/recovered\/JL.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1585,"url":"http:\/\/orcldoug.com\/blog\/2010\/03\/11\/hotsos-2010-day-4\/","url_meta":{"origin":1582,"position":5},"title":"Hotsos 2010 &#8211; Day 4","date":"March 11, 2010","format":false,"excerpt":"First up was Cary Millsap's - Lessons Learned, Version 2010.03 As Cary pointed out, they always try to put the best speakers in the toughest slots - 8:30 in the morning post-party. I think local guys are slightly more reliable too because they might have actually gone home the night\u2026","rel":"","context":"With 10 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=1582"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/1582\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=1582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=1582"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=1582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}