Archive for April, 2011

Getting started with map reduce

Saturday, April 23rd, 2011

Map Reduce is a computer technology algorithm that is built on the age old concept of functional programming.  The goals of functional programming can be simplistically described as: every program returns a value “map” lists of values to functions Map Reduce uses pieces of this methodology, defined as the following: Map – This function... »

Posted in Database, Hadoop | No Comments »

MySQL mysqlbinlog vs. Oracle logmnr

Thursday, April 21st, 2011

MySQL provides the mysqlbinlog utility to parse binary transaction logs for any number of purposes which may include replication, auditing, or troubleshooting. Oracle also provides this functionality through a PL/SQL package called dbms_logmnr, more commonly referred to as “Log Miner”. MySQL is very convenient in that all you need to enter at the command... »

Posted in Database, Oracle, PL/SQL | No Comments »

Accessing ASM via FTP

Thursday, April 14th, 2011

This is a documented feature, but I wanted to post my notes so I could reference them if needed. All you basically have to do to set this up is: install XML DB (package dbms_xdb). This is installed if you create a database with DBCA by default. Set the ftp port used by XML... »

Posted in Database, Oracle | No Comments »

Automatically switching connections over with Dataguard and zero code changes

Friday, April 8th, 2011

In 10.2.0.4, I tested the ability of off the shelf code to automatically connect to a database that has been “switched over to”. A switchover is a graceful exchange of database responsibilities that prevents a split brain scenario where two databases are taking traffic at the same time. In a switchover, dataguard guarantees, by... »

Posted in Database, Oracle | No Comments »

Format output of crsctl status for RAC 11gR2

Friday, April 1st, 2011

crs_stat -t in 10g was great because you could just print it out and grep for OFFLINE or UNKNOWN to determine if there was a problem.  11g deprecated the use of crs_stat -t.  It’s not just that you shouldn’t use it because it will be removed in a future release, it also will print... »

Posted in Database, Oracle | 6 Comments »