Mar 28: Statistics on Partitioned Tables - Contents
When Jonathan Lewis decided it was time to post a list of the Partition Stats posts on his blog and Noons suggested I made them easier to track down, I listened. So this post will link to the others and, at least in the short term, I've also included links in the side-bar on the right over there.
Part
1 - Default options - GLOBAL AND PARTITION
Part
2 - Estimated Global Stats
Part
3 - Stats Aggregation Problems I
Part
4 - Stats Aggregation Problems II
Part
5 - Minimal Stats Aggregation
Part 6a - COPY_TABLE_STATS - Intro
Part 6b - COPY_TABLE_STATS - Mistakes
Part 6c - COPY_TABLE_STATS - Bugs and Patches
Part 6d - COPY_TABLE_STATS - A Light-bulb Moment
To be continued ....
P.S. It was a lot easier doing this than actually finishing off Part 6 and I'm insanely busy at the moment.
P.P.S. My ultimate intention is to re-write the blog posts as a more considered, easier-to-read article but who knows when that might happen?
Mar 28: Time Matters: Throughput vs. Response Time - Part 2
He also pointed out a recent blog post discussing similar subjects at Neil Gunther's blog although I must admit I've only had a quick glance at it because I'm up to my eyeballs in mail at the moment
Mar 16: My New Laptop
I mentioned previously that I'd ordered myself one of these. After suffering performance problems with my 11.2/OEL/VMWare/Parallelism demos at UKOUG, I was determined that wouldn't happen again and that it was time for a new laptop, complete with Core i7, 8G RAM and an SSD. In the event, Dell came up with a 6 week lead-time, so I cancelled the order. Of course, as soon as I did that, they solved their lead-time issues and raised a new order on my behalf which I'm still trying to get returned! But that's another story.
I started to look at alternatives (but there weren't many because the laptop Core i7 hasn't been available long) and came across the Sony VPCF11Z1E. No SSD, but a Blu-Ray drive and I've been more than happy with my previous Vaio over the last couple of years. Better still, my mate Jari checked out John Lewis and I could pick one up the next day. It all looked a bit consumer/multimedia orientated and I was a bit concerned about the dimensions and weight, but performance was the main priority and I could always stick an SSD in it later if I decided that would help. The other issue (and I was talking to another conference speaker who had shared this experience) was that I'd left it late, the conference was approaching and so it was a bit of a hurried purchase. If Apple had a Core i7 model out now, that would have been on the list too.
The next day it turned up with the minimum of fuss (John Lewis are great) and I opened the box excitedly. Only to feel let down
The thing just seemed so big and heavy. Worse, still, when I powered it on and started using it, I noticed the fan noise as much as the absolutely stunning screen. Definitely not in the same league as the ISP4400 in the bedroom, but the laptop equivalent. Mmmm. Not the "isn't my new toy great" moment I'd been expecting. It also didn't fit into my existing laptop bag which was a key part of my smooth operation commuting to London. In fact, it was difficult to see why I'd bothered and I kept looking longingly at my old Vaio as I moved stuff between the two machines.
Mads insisted she thought it was great, as did Jari (but then he would, having talked me into it! LOL), but I was searching for things to like about it. Eventually they started to appear and I've become much happier with it over the past few weeks.
- The screen is simply stunning and one benefit of a wide screen is that it's not a bad replacement for the dual monitor set-up at work. Tom Kyte is right - screen estate is a big deal.
- Throw in Blu-Ray and should I ever want to watch a movie it's amazing, based on my first experience with District 9.
- I love Sony keyboards.
- I hate numeric keypads and offset keyboards on a laptop. Might be useful if I played games a bit more.
- I ran the same Swingbench tests on the old and new laptop against the same VM (and no, I'm not going into details - this is consistent across many different tests). Old laptop - 35,000 Transactions Per Minute. New laptop - 180,000 TPM. Ah! Now I remember why I bought it*
- Despite it being a bit bigger than I'd like, it's nowhere near as bad as Marco managed to make it look in this carefully-arranged stunt-shot!
By the time I reached Hotsos, I was feeling much better about it and when Kevin Closson was talking about the advantages and disadvantages of SMT, I was keen to try it. Damn! Consumer-grade nonsense again! I've never seen fewer BIOS options in my life! Date/Time, system password and a solitary option to enable VT. So at least Sony let you enable VT now which is an improvement on the past, but ... sigh. I'm going to have to go hunting for ways of accessing more advanced BIOS options so that I can break my next set of demos
All in all, I'm happy I bought it now, but it's definitely not recommended if you're a road warrior. Even with my new rucksack, it's a little on the heavy side and you can imagine how quickly you can tear through battery power (particularly if you decide to run intensive benchmarks)!
*Top tip, though. It doesn't matter how powerful your new laptop is and how elegantly VMWare allows you to move your demos on to it, if you forget to install the Windows Loopback Adaptor, it will all count for nothing and you'll look and feel like a clown
P.S. Couldn't resist sneaking a look in that Dell box, wondering if I'd made a mistake. What a relief. It was just as big, seemed heavier, looked pretty but I'd definitely rather have the Sony!
Mar 16: Hotsos 2010 - Summary
I'm glad I went to the Hotsos Symposium again this year. Attending conferences is an expensive business when you're a contractor as it means more lost income, so I can't go to every conference I'd like to attend but this one should probably remain near the top of my list.
Lows
- My presentation, obviously. There was a funny moment in the office today when I was looking at the OEM Top Activity page - because, yet again, it had highlighted a performance problem we were previously unaware of - and our architect said perhaps I shouldn't be using it because I couldn't be trusted not to break OEM!
- Somehow contriving to miss both of Richard Foote's presentations but at least I was able to enjoy his entertaining company at dinner one night.
- The weather - not what I had in mind at all!
Highs
- The people, as always. Not only are there lots of smart speakers and attendees at Hotsos, but the informal setting makes it easier to catch up with them. It was particularly good to get time to speak properly to a few people I've only met briefly before, buy Kerry Osborne that beer and to see Polish Paul Matuszyk there after I recommended it to him 4 years ago! As for Monique, she's one of a kind
- Disco Night. Can I request that we have more party nights themed on women wearing glittery mini-dresses and Oracle geeks dancing in duck costumes?
- Alex G playing chopsticks on the piano in a large suite. I was expecting something a little more elegant!
- Quite a few presentations, not least, Bob Sneed's CPU QoS, Kevin Closson ranting intelligently about where we are today and where we're heading, Alex G reducing the room to fits of laughter whilst reinforcing the Battle Against Any Guess message and Wolfgang's Anatomy of a SQL Tuning Session.
- Feeling inspired to think about performance even more now that I'm back in the office.
So, expensive or not, I'm glad I went but next year I might stick to text-mode demos that don't need a network connection!
Mar 16: Hotsos 2010 - Day 5 - Training Day with Tanel Poder
It was a busy room with a very high percentage of attendees staying for the additional day. I suppose once people were actually allowed out of the office in the current economic climate, they figured they might as well pack in as much learning as they could. Tanel described it as one of the peaks of his career and I can understand that. It's an honour to present at the Symposium, so a whole day must be a pretty special privliege, but he's more than earned it with the number of good presentations and blog posts he's come up with.
It didn't get off to a good start, though, as there was a problem with the focus of the projectors, but that was soon adjusted a little and people were happy as long as it was good enough to read the text.
Speaking of text, he kicked off spending quite a bit of time talking about using the right tools for the job - sqlplus, basically
- When diagnosing Oracle problems reported by others, I ask them to stop using TOAD, their JDBC application or whatever it is they're using and login to sqlplus. Once the problem is recreated there, I know it's a real problem.
- On windows I use the CMD prompt version of sqlplus too and can't stand sqlplusw (but I should perhaps keep that quiet because lots of others seem to like it
- On Linux he spent a lot of time on RLWRAP and command line completion and there were some really good ideas in there that I don't use enough so I'm going to revisit them.
He showed some neat and entertaining tricks with colours that I took some photos of but they wouldn't really do them justice. I'm expecting him to have a movie playing from sqlplus next year
While talking about his Snapper tool, he drew the comparisons between it and ASH data, which he was pretty positive about and mentioned how ASH data is like a DW fact table with multiple dimensions that allow flexible and relatively complex drill-down into specific dimensions to help diagnose performance issues. That's something I talk about quite a lot when I'm teaching people about ASH.
But he came at it more from the angle of his own Snapper tool, which is cool if you've never taken a look and between that and the section on latchprof and latchprofx, demonstrated pretty effectively that these tools allow you to look at most problems and to limit your investigations to those that matter. For example, for someone who is known for his work on diagnosing latch contention problems (amongst other things) he was very careful to point out that you shouldn't become obsessed by latch contention unless it's causing a problem! He didn't stop there, though, next up was the utility that I know a few people have been waiting for - the Mother Of All Tuning Scripts, or MOATS.
I wouldn't want to steal any of Tanel's thiunder by blogging about it in too much detail, I'm sure he'll do that himself, but MOAT is a bit like a top utility for Oracle. Although other such tools exist, e.g. OraTop, I've had a quick look and I think MOAT is probably more extensive and only requires some PL/SQL and SQL. I was pleased to see him acknowledge that it was something that he worked on with Adrian Billington who is the guy behind oracle-developer.net and someone who I've enjoyed a few beers with since I started working in London again.
Next up were SQL Performance Tools and thank goodness he re-emphasised that using the EXPLAIN PLAN FOR command is asking for trouble, particularly as there are far better tools these days to look at the plan from the child cursor instead. (My TOAD equivalent for this in the office is to berate people for using that bl**dy ambulance! LOL)
Unfortunately there were some growing Production problems at work that demanded my attention so I had to bail out early to work in my room which meant that I missed most of the SQL Tuning and Visualisation sections but I knew the Perfsheet content already and you can count on me revisiting the whole day once I'm back in the office. I particularly liked his course notes - not too detailed to be unwieldy, but just enough detail to remind me of the day.
Although it was a really enjoyable day, I obviously knew a lot of the content already, partly because I have similar interests and partly from reading Tanel's blog. It made me wonder why people who go to Hotsos don't read blogs and stuff the rest of the year, because I sensed a lot of the content was completely new to some others in the room. I suppose now they've found his blog, they might start.
After a few hours working in my room, things were sorted out and I could go to the bar across the street for a burger and a few beers with Marco. As soon as we walked in, Tanel shouted over and there were was an interesting little crew in there, with Tanel basking in the glow of a job well done. It was a shame about the incredibly loud karaoke or I might have stayed longer but it's safer to keep me away from karaoke - although I was quite looking forward to the Estonian version
The "Adrian Billington must be allowed out to a conference" campaign starts here! We won't take no for an answer.

Comments