Month: June 2009

Processor architecture

oracle@kcdb01:~> echo “You have $(cat /proc/cpuinfo | grep “physical id” | sort -u | wc -l) $(cat /proc/cpuinfo | grep cores | head -1 | awk ‘{print $4}’) core processors” You have 2 4 core processors oracle@kcdb01:~>

Who’s blocking my java?

Hanging java applications can be a system architects worst nightmare. There are so many pieces in the stack, finding where the true issue lies can be a daunting task. Fortunately, you can dump all threads in a JVM to see…

Renaming an ASM diskgroup in 10g

Since their is no “alter diskgroup rename” command, I tried this on a test system and it works.  Pretty cool, but this not even remotely supported by oracle, so use at your own risk 🙂 With everything down… cd $ORACLE_HOME/rdbms/lib…

Using v$sql_bind_capture

This is a very useful view in 10g. When a user came to me with a performance problem, I used to find myself asking, “What value did you use for the search?”. Not very professional, although it could work. I…

Migrating from raw devices to ASMLIB

Oracle’s Automatic Storage Management (ASM) technology was introduced with releases 10.1 of its flagship database product. It was designed to remove from the database administrator’s task list the need to decide on which disks to place which datafiles. It is…