That's it. I'm tired of hitting IO limits with Oracle SQL (both the stuff I write and the stuff others have written that I end up maintaining). So, today during lunch I'm going to buy the Oracle SQL Tuning Pocket Reference
That's just to tide me over until I either buy Mastering Oracle SQL or Oracle SQL - High Performance Tuning. I'll take a look at each one and decide which one I think is better.
Anyone out there have both that could comment?
I just got Mastering Oracle SQL. It's a nice book, but I don't think it really focuses on tuning. It seems to be more concerned with features. I haven't really looked at it much, though, so there may be tuning advice throughout.
Oracle Performance Tuning from O'Reilly has a section on tuning SQL. I got it for five bucks!
Get Oracle Performance Tuning, if you really need to know some tricks on tuning.. Pity though, the last edition was published in 1996, quite a bit has changed since then (especially with the optimizers).. Some of their advice is still valid, (minimizing joins, exists, avoiding INs).. Mastering SQL is more about the neat features of Oracle SQL rather than tuning specifically,as jdavidb noted.. (a former co-worker had it, so I went through it a while back)
You might also want to try Ixora scripts or Oracle tuning for some general tuning tips..