Category Archives: Life of a Oracle DBA

Update to my earlier #quicktip on setting #plsql scope and warnings.

I noticed a error in my code for setting PLSCOPE_SETTINGS and PLSQL_WARNINGS. QuicTip Logon.sql What I did was get the instance name out of v$instance to figure out if I was connecting to a production environment or one of the lower environments. The … Continue reading

Posted in Database Stuff, Life of a Oracle DBA, PL/SQL | Tagged , , , , , , , , | Leave a comment

Turn off the #http #listener in #Oracle #STIG

Locking down a database (applying STIGs) you need to check to see if the listener is running http. If you don’t need the http service, turn it off. Turning off http will reduce the attack surface. Step 1) Is http … Continue reading

Posted in infosec, Life of a Oracle DBA, Security, Trusted Path | Leave a comment

Oracle DBA Interview tips: It’s not Rocket Science!

I have spent the past several weeks interviewing potential Senior Oracle DBAs. Two made the cut. Why did they make the cut? Most people did not make the cut. Why did they not make the cut? Who got hired? Why … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Tagged , | Leave a comment

Insert performance on a unique constraint.

In the past, I have read about the performance of exception handlers and all that is said is, There is performance overhead. Okay, the generic answer of “performance overhead” tells us nothing. One of the great pleasures of what I … Continue reading

Posted in Database Stuff, Life of a Oracle DBA, pl/sql performance | Leave a comment

Life of an Oracle DBA – The Basics Access Paths: Index Range Scan

A index range scan gets the rowid by getting the adjacent index entries.  Once Oracle has gathered the rowid’s the rows are returned in ascending order. Unless you use sort descending. From our previous example we saw that if you … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of an Oracle DBA – The Basics Access Paths: Index Unique Scan

The index unique scan is good for getting one row from and index and returning the rowid. You will get a index unique scan if you have a unique index or primary key on a table. In this example; we … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of an Oracle DBA – The Basics Access Paths: Table Access By Rowid.

Dang, that just sounds fast, and it is. Rowid points to the datafile:block:location in block. So, what is this good for? How do you get Oracle to access by rowid? If you want to access a specific row or set … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of an Oracle DBA – The Basics Access Paths: Full Table Scan

For the next few weeks I am going to be going over some of the basics of what you need to know to be a good Oracle DBA. Feel Free to speak up if there is something you think I … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of an Oracle DBA: Big Data restore

Over the years my opinion of what big data is has changed. Way back in the VAX days, a 1G database was not only big data it was fricken huge data. Now words like gig, tara, and peta are thrown … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of a Oracle DBA. What is choking my Oracle database server?

The week was dominated by turning. The database server was pegged at 100% CPU all week. I have tuned the offending queries to within an inch of their lives. The customer wants to know, why is this happening? And I’m … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

Life of an Oracle DBA: Grumps, dataguard, upgrades and tuning oh my

There are very few things that will get my dander up. One is waisting my time; the other is “Not My Job.” Last week I experienced both; it took a bit but the person who told me it was not … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment

The life of an Oracle DBA

So you want to be an Oracle DBA?  What does a DBA do? What does my week look like? Frequently my wife asks me what my days are like and just what do I do at work.  Well, I’m going … Continue reading

Posted in Database Stuff, Life of a Oracle DBA | Leave a comment