Category Archives: Uncategorized

Surprising calibrate_io result

Recently I used DBMS_RESOURCE_MANAGER.calibrate_io to measure disk I/O performance using a call like this: DECLARE l_latency PLS_INTEGER; l_iops PLS_INTEGER; l_mbps PLS_INTEGER; BEGIN DBMS_RESOURCE_MANAGER.calibrate_io (num_physical_disks => 10, max_latency => 20, max_iops => l_iops, max_mbps => l_mbps, actual_latency => l_latency); DBMS_OUTPUT.put_line(‘Max IOPS = ‘ … Continue reading

Posted in Uncategorized | 3 Comments

Free MIT Computer Science Classes Online

This is very cool: There are a bunch of nice computer science classes online from MIT: Free online MIT computer science classes Here is an introductory computer science class: Intro to computer science Here is a graded version of the same … Continue reading

Posted in Uncategorized | 3 Comments

Simple C program for testing disk performance

I dug up a simple C program that I wrote years ago to test disk performance.  I hesitated to publish it because it is rough and limited in scope and other more capable tools exist. But, I have made good … Continue reading

Posted in Uncategorized | 2 Comments

db file parallel read on Linux and HP-UX

In my previous post I described how I could not explain why I got better db file parallel read wait times in a test on Linux than I got running the same test on HP-UX.  I have discovered that the Linux … Continue reading

Posted in Uncategorized | Leave a comment

db file parallel read faster on Linux than HP-UX?

I am still working on comparing performance between an HP-UX blade and a Linux virtual machine and I have a strange result.  I tried to come up with a simple example that would do a lot of single block I/O. … Continue reading

Posted in Uncategorized | 3 Comments

Simple test of DB server CPU speed

I’m trying to compare two types of database servers and it looks like one has a faster CPU than the other.  But, the benchmark I have used runs a complicated variety of SQL so it is hard to really pin … Continue reading

Posted in Uncategorized | Leave a comment

DDL_LOCK_TIMEOUT to sneak in change on active system

I need to change a view and an index on an active production system.  I’m concerned that the change will fail with a “ORA-00054: resource busy” error because I’m changing things that are in use.  I engaged in a twitter … Continue reading

Posted in Uncategorized | Leave a comment

PLAN_HASH_VALUE calculation different HP-UX and Linux?

I’m trying to compare how a query runs on two different 11.2.0.3 systems.  One runs on HP-UX Itanium and one runs on 64 bit x86 Linux.  Same query, same plan, different hash value. HP-UX: SQL_ID 0kkhhb2w93cx0 ——————– update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,exts … Continue reading

Posted in Uncategorized | 4 Comments

sar -d on Linux

I started using sar -d to look at disk performance on a Linux system this week and had to look up what some of the returned numbers meant.  I’ve used sar -d on HP Unix but the format is different. … Continue reading

Posted in Uncategorized | 4 Comments

DCLI to back up Oracle home and inventory before patch

I was preparing for my weekend patch of our Exadata system and I needed to back up all of our Oracle homes and inventories on our production system.  On our 2 node dev and qa clusters I just ran the backups … Continue reading

Posted in Uncategorized | Leave a comment