For those few of you out there more newb than even me, this can make a huge difference. Easy explanation of the power of AUTOTRACE in SQL*Plus, via Tom Kyte. Basically quick and easy way to get query plan and statistical data. This is usually a sign that you need... [Read More]
Constraints and the CBO
In my recent research into Oracle's CBO, I had read a snippet from Jeff Moss' blog about constraints being particularly extra helpful to the CBO. Tom Kyte had two consecutive blog posts about this topic in the beginning of the year. The first applies to general purpose and OLTP databases,... [Read More]
Compound Primary Keys Must Die
It turns out that a lot of the headaches of the past few weeks at work are all due to an incredibly shitty primary key on a large warehouse table. Before I get into specifics there, I'd like to formally proclaim my allegiance to the use of surrogate keys and... [Read More]
Reverse Key Indexes
So I started reading the Oracle 10g DBA Handbook because I've deluded myself into thinking that I'll just memorize everything in there. The first chapter seemed to cover very basic stuff that even I had a grasp on, but it didn't take long for me to learn something new. 18... [Read More]
On the Oracle vs RedHat thing ...
This article is a great analysis of exactly what the recent Oracle announcement means for us customers. Basically: 0.25% savings!