Category: Database

Query HBase from Tomcat

We installed Tomcat 6.0.39 (we weren’t running JDK 1.7), as well as hbase. To get this to work, we copied the following jar’s from the hadoop and hbase installation directories to the tomcat lib directory. -rw-r–r– 1 serengeti serengeti 5212641…

Why isn’t my cursor being shared?

This is a decent way to determine why a cursor isn’t being shared, resulting in cache locking during parsing (134 minutes total yesterday, which is very high historically)… SQL> select count(*),sql_id from gv$active_session_history where event = ‘library cache lock’ group…

AWR like jobs in SQL Server

This morning when I arrived at the office, there were several emails related to a high CPU utilization issue on a SQL Server that occurred around 4:45AM this morning. Since SQL Server 2005 does not have the anticipated performance repository…

High latch free waits on Oracle XA transactions

We experienced large waits as well as the associated CPU spikes, when using distributed XA transactions in an ATG/JBOSS application server to Oracle database environment. Oracle “support” was, per usual, of absolutely no help is diagnosing the situation. I honestly…

Joining data in Pig

If you are an RDBMS person that is used to joining data from tables, you will be happy to know that this capability exists in Pig. Below is a very simple example. grunt> fs -cat /people 1,1,steve howard 2,1,becky howard…