Posted by David Edwards on Feb 22, 2008
Welcome the the 85th edition of Log Buffer, the weekly review of database blogs. Here we go!
Oracle
We start with the obscure. Eddie Awad has started the Obfuscated SQL Code Contest on his Oracle Community site, thanks to an idea by Chen Shapira. If you’re familiar with this contest’s antecedents, like the obfuscated C or Perl contests, you’ll know how entertaining it is to see people turn their creativity to code that should never exist in the real world. Like Rob van Wijk’s interrogative submission, for example.
Chen herself (just a simple DBA on a complex production system) posts about the right way to handle Oracle on NFS and TCP throttling, reaching into relatively dark corners of Linux, like net.core.rmem and net.core.wmem.
Even the ordinary business of DBA can seem obscure. “Are any of you that run RAC in your production environments backing up your archive logs to an FRA that resides in an ASM disk group (and of course backing up the archive logs to tape from the FRA)?” That’s what Eric S. Emrick asks in his post, RMAN, RAC, ASM, FRA and Archive Logs, FYI.
On Halis way, Hampus Linden shows how to delete an object with a special character in Oracle. He writes, “There are some things in Oracle that are possible but shouldn’t be possible. One thing I love to hate is the fact that you can create tables with almost any name, just as long as you double quote it. . . . Horrible! And what’s even more horrible is that people actually do this.” Hampus attacks the horror with some PL/SQL.
On the Oracle Scratchpad, Jonathan Lewis links to a well regarded article on using Statspack, writing, “It’s been a few years since I last read this article from Connie Dialeris Green of Oracle about how to use Statspack – and I’d forgotten how good it was. . . . If you want to get the best out of Statspack . . . you need to create and validate a sensible hypothesis based on all the information available. This paper instructs you in the method.”
Jonathan also has an item on pushing predicates. “Some time ago I wrote a note . . . about the push_pred() and no_push_pred() hints. I’ve recently discovered a bug in the 9.2 optimizer that means you may find that Oracle will not use ‘join predicate pushing’ when it is obviously a good idea.”
Tim Hall has an article about 11g bits and bobs, “ . . . covering the Miscellaneous New Features section of the OCP upgrade exam.”
From Igor’s Oracle Lab comes an ecumenical piece by Gary Myers, who asserts that, while databases differ, problem-solving approaches don’t. He writes, “This entry is more SQL Server than Oracle, but it is generic in some ways, and its also got the closest I’ve found to v$sql in SQL Server 2005.”
SQL Server
In the SQL Server world, SSQA.net’s blog brings the news that the cumulative update package 6 for SQL Server 2005 Service Pack 2 is now available.
Read the rest of this entry . . .