Submitted by dmann on Wed, 03/13/2013 - 18:06
I am throwing together a quickie Play Framework application for a DB process dashboard. I love Play. Its quick, powerful, and does a pretty good job of getting out of your way when you need it to.
But as a cutting edge open source app framework the documentation is sometimes a little behind the curve... Or assumes you are always using h2 for dev and mySQL for production.
Here are some tips on getting your new Play app to play nicely with Oracle via JDBC. Read more about "Playing" Nice with Oracle - Using Play Framework 2.1 with Oracle
Submitted by dmann on Sat, 12/22/2012 - 09:16
Submitted by dmann 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.
Read more about V$OBJECT_MONITORING gotcha...
Submitted by dmann 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. Read more about Golden Gate Lag Graph + Alerting scripts on the way...
Submitted by dmann on Tue, 01/17/2012 - 15:43
...well not yet...
An Infoworld article was released today describing an Oracle vulnerability. The SCN space can be exhausted via bugs or attackers exploiting bugs. Metalink doc: 1376995.1 [Bulletin : Information on the System Change Number (SCN) and how it is used in the Oracle Database] covers a technical description for what SCNs are used for.
You can use this query to find out how close you are to the SCN limit. Read more about Oracle bug announcement - the sky is not falling...
Submitted by dmann on Fri, 10/14/2011 - 17:18
Submitted by dmann on Thu, 01/27/2011 - 22:21
Oracle is supplying some ready-to-run downloadable VMs including Operating Systems, OSes with Oracle already installed and ready-to-run RAC systems. I was hoping to leverage these to save some time for sandbox environments but from what I have seen so far they are only for the enterprise level Oracle VM product. I only have the horsepower to run Oracle VirtualBox which is their workstation level product. It seems they use different formats for each product and while it may be possible to convert VMs backs and forth, I'm just not up for it right now.
Submitted by dmann on Fri, 10/01/2010 - 13:15
Came upon this post
during my travels. Jonathan Lewis reveals how to write a string to the Alert Log, Current Session Trace File, or Both. Also a few misc functions are included.
writes to alert log
writes to session's trace file
writes to both
dbms_system.ksddt - writes a date-time stamp
dbms_system.ksdind(N) - indents text using ":' characters
Read more about Did you know... Writing to the alert log?
Submitted by dmann on Thu, 07/29/2010 - 13:24
I shared a shell script that will check Oracle CDC Queues to make sure they aren't going stale. If your CDC consumer has not picked up changes in 48-72 hours then something may be wrong. The scripts can be customized to alert at any interval, hopefully this will serve as a good 'nudge' to get you going in the right direction.
Everything you need is here.
If you are an OEM user you can probably grab the SQL I shared and modify it for use with OEM User Defined Metrics or alerting.
-Dave Read more about Monitoring Oracle Change Data Capture Queues
Submitted by dmann on Fri, 03/26/2010 - 16:42
I recently fielded a question about getting data out of Oracle quickly. Without much detail on the systems involved here is my answer:
I need to migrate data from Oracle to MySQL quickly (in less than 1 day). What are my options?
Oracle does not supply an out-of-the-box unload utility.
Keep in mind without comprehensive info about your environment (oracle version? server platform? how much data? what datatypes?) everything here is YMMV and you would want to give it a go on your system for performance and timing.