{"id":854,"date":"2006-02-27T12:00:00","date_gmt":"2006-02-27T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=854"},"modified":"2006-02-27T12:00:00","modified_gmt":"2006-02-27T12:00:00","slug":"something-for-v2","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2006\/02\/27\/something-for-v2\/","title":{"rendered":"Something for V2"},"content":{"rendered":"<p>This is mainly for anyone who has read the early versions of the Hotsos &#8216;How Many Slaves&#8217; paper. It won&#8217;t make as much sense if you haven&#8217;t.<\/p>\n<p>I was doing some more work on multi-user tests at the weekend. I reduced the size of the tables to eliminate disk i\/o (as described in the paper) which worked well. However, the PX slaves weren&#8217;t doing enough work for my liking and I realised that it was because they were joining and sorting small numbers of rows &#8211; 128,000. That&#8217;s because PCTFREE was set to 90 on the test tables. So the query has to read a 170Mb table but then only has to process about a tenth of that once the blocks have been read. I changed the table creation script to PCTFREE 10, inserted more rows and the slaves started doing more work and experiencing more waits.<\/p>\n<p>Then, this morning, it hit me. The same is also true of the single user\/large volume tests which are always I\/O bound. If I had used PCTFREE 10 on the larger tables and inserted more data, that would be likely to move the resource usage balance for the Hash Join\/Group By example towards CPU and memory, which is what I&#8217;d been looking for. Doh! In my efforts to make sure the disks worked hard enough at the start of the tests, I&#8217;d loaded the test against CPU usage.<\/p>\n<p>There&#8217;s no way I have the time to re-run the tests in time to include them in the paper, but I&#8217;ll mention this there and hope to run the tests this week so I can talk about them more in the presentation. If you do want to read the paper, the final version 1.0 will be updated tonight, so I&#8217;d wait until I&#8217;ve done that, if I were you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is mainly for anyone who has read the early versions of the Hotsos &#8216;How Many Slaves&#8217; paper. It won&#8217;t make as much sense if you haven&#8217;t. I was doing some more work on multi-user tests at the weekend. I reduced the size of the tables to eliminate disk i\/o (as described in the paper)&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2006\/02\/27\/something-for-v2\/\">Continue reading <span class=\"screen-reader-text\">Something for V2<\/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-854","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":856,"url":"http:\/\/orcldoug.com\/blog\/2006\/02\/25\/mistakes\/","url_meta":{"origin":854,"position":0},"title":"Mistakes","date":"February 25, 2006","format":false,"excerpt":"It's the lessons you learn or the things you discover when you make mistakes that can be the most useful. Here's an example of that and also of why you shouldn't try to take too many shortcuts. (It might be an interesting exercise for you to see how long you\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":835,"url":"http:\/\/orcldoug.com\/blog\/2006\/03\/14\/px-and-the-magic-of-2\/","url_meta":{"origin":854,"position":1},"title":"PX and &#8220;the Magic of 2&#8221;","date":"March 14, 2006","format":false,"excerpt":"Now that I've had time to sit back and relax and absorb things a little, I thought I should fix a couple of outright bugs in the recent PX paper (Later update - link to the paper) and revisit the conclusions before moving on to testing different aspects. First, the\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":976,"url":"http:\/\/orcldoug.com\/blog\/2005\/05\/29\/px-slave-trace-files\/","url_meta":{"origin":854,"position":2},"title":"PX Slave Trace Files","date":"May 29, 2005","format":false,"excerpt":"It's sad that it takes a Bank Holiday weekend for me to get round to doing some more research on parallel execution. Anyway, I was on the verge of modifying the following line from the PX paper ...The trace files for the slave processes may be created in background_dump_dest, rather\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":840,"url":"http:\/\/orcldoug.com\/blog\/2006\/03\/08\/how-many-slaves\/","url_meta":{"origin":854,"position":3},"title":"How Many Slaves?","date":"March 8, 2006","format":false,"excerpt":"Parallel Execution and the Magic of 2That's my second presentation, at 2:15 today. I've thought long and hard about this one and hope I've made the right decision. I was concerned about how to encapsulate a 50+ page paper into a one hour slot. I hate presentations which are full\u2026","rel":"","context":"With 5 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":902,"url":"http:\/\/orcldoug.com\/blog\/2005\/11\/18\/hotsos-symposium-2006\/","url_meta":{"origin":854,"position":4},"title":"Hotsos Symposium 2006","date":"November 18, 2005","format":false,"excerpt":"My goodness, nearly a week without a blog posting and my review of Jonathan's book still hasn't appeared. It's been a crazy week at work and what little spare time I've had has been spent on getting my server installed. It looks like I won't be able to get wireless\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1464,"url":"http:\/\/orcldoug.com\/blog\/2008\/12\/18\/performance-on-my-mind\/","url_meta":{"origin":854,"position":5},"title":"Performance on my mind &#8230;","date":"December 18, 2008","format":false,"excerpt":"I've been a bit busy recently because I've had a rolling 4 week cold (like lots of people in the office - obviously several colds in quick succession), a couple of presentations at UKOUG (where I'm sure the additional beer didn't help recovery) and then I was in Vienna on\u2026","rel":"","context":"With 3 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/854","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=854"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/854\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}