Build 64bit OCILIB Libraries for CodeBlocks
I tend to compile with gcc, in a bash session, on Windows 7. I use Code::Blocks as my IDE of choice and one of my projects, well, quite a few, use the excellent OCILIB library for accessing Oracle...
View ArticleOracle Deadlock Analysis
There’s a new utility to assist in diagnosing the underlying cause of Oracle deadlocks. Interested? You can download source code as well as binaries for Linux and Windows at...
View ArticleENQ: TS – Contention
Thanks to http://www.dbaglobe.com/2010/08/drop-temporary-tablespace-hang-with-enq.html it was a simple matter to resolve the above enqueue wait on an attempt to drop a previously default temporary...
View ArticleRMAN-20033: control file SEQUENCE# too low
Have you ever seen the error RMAN-20033: control file SEQUENCE# too low and wondered what could be causing it? If you look on MOS, you will probably see that the error is caused by the control file in...
View ArticleGenerate Entity Relationship Diagrams from a SQL Script.
Sometimes, just occasionally, you find yourself as a DBA on a site where, for some strange and unknown reason, you don’t have an Entity Relationship Diagram (ERD) for the database that you are working...
View ArticleSnorkelling in the Oracle Listener Logs.
(Snorkelling is not quite as in depth as a “deep dive”!) Attempting to parse a listener.log will probably bend your brain, but I needed to do it recently to determine which unique servers and/or...
View ArticleIMPDP Hangs, or Appears to Hang – But Has it?
You know the score, you are running an impdp and it looks to have hung up. You’ve watched the log file (or on screen messages) and it’s sitting at something like: Processing object type...
View ArticleOracle RMAN for Beginners – Part 4
So far I have managed to dump and recover a database running in ARCHIVELOG mode. That is the most sensible mode for a production database and will be the case for the rest of this small RMAN guide....
View ArticleOracle RMAN for Beginners – Part 3
At the end of Oracle RMAN for Beginners – Part 2 I had created a few backups of the ant12 database. In this part, I explore how to trash a database and recover from that trashing using the cold backups...
View ArticleOracle RMAN for Beginners – Part 2
At the end of Oracle RMAN for Beginners – Part 1 I was ready to begin a backup of the ant12 database. Read on … Cold Backup – Backupset Type There are two different types of cold backup. The first uses...
View ArticleOracle RMAN for Beginners – Part 1
Introduction One of the things a DBA needs to be aware of, is RMAN. This has been around since Oracle 8 (or was it 8i?) and has been improving since then. It’s almost pretty good at 11.2! One of the...
View ArticleSlightly Weird Oracle Stuff
I knew you could do this: SQL> select 1234567890 as abc from dual; ABC ---------- 1234567890 or SQL> select 1234567890 abc from dual; ABC ---------- 1234567890 But I didn’t know that this worked...
View ArticleDeprecated Parameter Warning on Database Startup
You know the feeling, your 10g or 11g database displays a warning message about your use of deprecated parameters at startup, but it doesn’t say which parameters are deprecated? You could look through...
View ArticleCan We Have 10g and 11g on the Same Server?
If you install 10g and 11g on the same server, which one do you wish to supply the executables for “oraenv”? If you install 10g first and allow 11g to overwrite the files in /usr/local/bin when you run...
View ArticleRemoving “Rogue” Expensive Oracle Options After Upgrading to 10.2.0.x.
Install 10.2.0.1 – the base release – of Oracle and deselect the various Enterprise Edition Options – these cost money and we don’t like that, especially if we don’t use them. Patching to 10.2.0.5 (in...
View ArticleNorm’s Law of Computing
Software efficiency halves every 18 months thus compensating for Moore’s Law. Cheers.
View ArticleA Day in London with Cary Millsap
Yesterday I had the pleasure of a day trip to London to attend the Mastering Oracle Trace Data session with Cary Millsap. The day got off to a great start as I arrived at the railway station in Leeds...
View ArticleJonathan Lewis Has A New Book Coming Soon ….
Great news! (At least for us Oracle types anyway.) Jonathan Lewis has a new book coming out. The working title appears to be “A look at the internal mechanics of the important bits of Oracle for people...
View ArticleThis Page Intentionally Left Blank …
Except, it’s not! WTF is it all about? You open a report, or a book and see a page with no text on it except this page intentionally left blank. Except, because of that bit of text, it’s no longer...
View ArticleWondering Why The Oracle Databases Won’t Start With A SLES Reboot?
Me too. Took ages to hit the “duh” moment, then it became pretty obvious! The file /etc/init.d/oracle also known as rcoracle to root users can be used to do a number of things such as starting the...
View Article