Submitted by dave on Wed, 07/25/2012 - 13:03
I have been checking out some usage patterns on a database I am migrating to Exadata. I won't go into the 'drop all of the indexes' herd mentality... but I would like to know what is really being used on this system so we can make some educated guesses about what is really needed. Luckily it is a DW / ETL type of application that has a comprehensive nightly refresh. Yes, a nice way of saying flush and fill. Well at least I know they touch _every_ important object _every_ night.
Submitted by dave on Tue, 07/24/2012 - 12:01
... or just use SQLPLUS to spool to HTML and open with a browser if you are old school :)
I am on week 4 of my newly reimaged work laptop sans Toad. I am trying to make a go of things with SQL Developer only. So far so good. I have a more comprehensive post on my transition in the works but in the meantime I have been filling in some gaps with User Defined Reports. I started collecting them here: https://github.com/dmann99/SQLDevUDRepPack
Submitted by dave on Wed, 07/11/2012 - 05:16
I posted my GoldenGate / Gnuplot lag time alerting shell scripts to a new GitHub repository: http://github.com/dmann99/ggtools
The scripts worked on v8 and I don't think the INFO ALL screen has changed much since then so hoping it will work on v11 with a minimum of changes. I will post a more comprehensive walkthrough after I verify the v11 compatibility...
I also have an Alerting perl script that I will be tidying up and including in the ggtools repository ... but that won't be available until later this month.
Submitted by dave on Tue, 07/03/2012 - 10:34
This is probably old hat for most of my audience but I needed to get this down on paper (or bits actually) for posterity... The granularity of Oracle privileges leaves a lot to be desired...
Submitted by dave on Sun, 07/01/2012 - 10:20
After lots of wrassling with the Drupal schema we're up and running on Drupal 7.
Sometimes it is a pain to be a DBA. I couldn't just let the problems with the schema upgrade alone and built my own script to fix issues so I could get the upgrade to complete successfully.
You may notice the new layout and color scheme. I will tone things down after I experiment a little bit... But may keep it in order to remind me of the exciting new things I hope to bring you in the coming months. OK I gotta go, the fast food colors in this theme are making me crave a Whopper.
Submitted by dave on Tue, 06/26/2012 - 17:31
We have many fingers in the pie where I work. Silos, silos everywhere. The DBA Group is responsible for operations and performance. ETL Admins are responsible for data movement. For a number of reasons we cannot allow the ETL Admins to log in directory as Oracle user. This is what I came up with to make everyone happy.
What is an ETL admin?
Our ETL Admins are users who do not need DBA or ROOT type access, they just need to run ggsci, start stop processes, edit config files, and check status of how things run.
Submitted by dave on Thu, 06/21/2012 - 12:17
Just a quick note to mention I created a notebook page on my site covering the Parallel Processing Shell Script and how to use it to run multiple SQLPlus sessions in parallel.
The page is available here.
-Dave
Submitted by dave on Mon, 06/11/2012 - 17:16
I recently had a customer that wanted to extract one client's data out of a VPD enabled multi-tenant database. They were convinced GoldenGate was the solution... but they were way ahead of me with scheduling resources for implementation before fully fleshing out the problem.
What's the (real) problem?
Submitted by dave on Thu, 06/07/2012 - 12:16
While helping a developer at my company get up and running with some DBI/DBD stuff I came across the Open Source Strawberry Perl distribution for Windows. It is an all-in-one package of Perl interpreter and many common packages required to get productive. Hopefully gone are the days of struggling to find a DBD driver compiled for Windows... From the website:
Submitted by dave on Tue, 03/27/2012 - 23:48
Pointing a private database link at another database without knowing the password...
Prerequisites:
- SOURCEDBA source database which has a schema that owns a private database link
- TARGETDB1, the original target database for the link
- TARGETDB2, a clone of TARGET1 that was renamed to "TARGETDB2"
Why?
Pages