Correlation between restore time and used space in a datafile

Recently during restore of a large database (over 10 TB) we monitored the alert log looking for messages like «Full restore complete of datafile 42 to datafile copy … Elapsed time: 0:39:32» We saw that the time to restore a 32GB file varied a lot, from around 20 minutes to around 75 minutes. This made me wonder why. We noticed that some of the files belonging to the UNDO tablespace took usually little time, and then I found a couple of more data files that took little time to restore. Then I thought that maybe the UNDO tablespace at the time of the backup had many unused blocks (because there weren’t many active transactions at the time). So I checked the other two files that did not take long time to restore and found out they had lots of free space in them too. ...

August 24, 2014 · 2 min · Øyvind Isene

DBMS_LDAP and ORA-12703

In case you are using the DBMS_LDAP package from a reasonable modern environment you may run into the error: ORA-12703 this character set conversion is not supported The simple solution to this is to run: begin DBMS_LDAP.UTF8_CONVERSION := false; end; / or if you are using SQL*Plus or SQL Developer, just: exec DBMS_LDAP.UTF8_CONVERSION := false

July 23, 2014 · 1 min · Øyvind Isene

Connecting to a guest console in Oracle VM

I struggled to connect to the console of a newly created VM. The VM was created using Oracle VM Manager (OVMM) and despite efforts to install the required packages I could not use the console button in the Manager interface. I noticed that the VNC server built into the VM was listening on 127.0.0.1 only (on the OVM server), you can see this if you check the file vm.cfg for the guest. Without analysing how the OVMM would try to connect to the VNC server on the other host I decided to create an ssh tunnel from my Mac to the OVM server: ...

July 7, 2014 · 1 min · Øyvind Isene

Importing ISOs to Oracle VM using OVM Manager

Just a simple trick to import ISO files to the repository using Oracle VM Manager (OVMM). The import function supports imports through protocols http, https and ftp. If you want to do this in the supported way you can use a simple web server to serve the ISO files for you. Python comes with a simple http server built in. If you have python installed (which is the case on both the OVM server and the OVMM host) you can start it with: ...

July 4, 2014 · 1 min · Øyvind Isene

Real Application Testing - some notes

This post is a mixture of experiences from a recent project and an overview on how to use RAT in a project. Real Application Testing (RAT) is a licensed feature for the Enterprise Edition (EE) of the Oracle database. It was released on 11g, but can be used to test migration of databases from 9i and 10g to 11g (assuming that the source databases have a required version/patch). The term Real is, I reckon, used to hint at a more authentic testing process. The tests are executed based on a capture from a real production system. ...

July 2, 2014 · 11 min · Øyvind Isene

Some thoughts from last PoC

For the second time I have been involved with a proof of concept (PoC) where testing of an alternative hardware platform was the goal. Common for both PoCs were: The other option was Exadata Real Application Testing (RAT) was used to replay production recordings on the new hardware. And for the second time I have concluded that sales people take this too easy. It is not easy and assuming you will outperform previous platform just because you have a bunch of less expensive flash disks, cache cards, and more is arrogant at best. ...

June 22, 2014 · 4 min · Øyvind Isene

42 Reasons to join me at #OUGN14

Oracle User Group Norway (OUGN) organizes the biggest Oracle user conference in Scandinavia. As of March 28, 341 DBAs, developers, managers, sales people, and more have figured out why. Read on for more reasons if you have not registered yet. This year we are breaking many of our own records, for example we have 66 speakers from 15 different countries. We have added another track with a total of 8 different tracks. ...

March 28, 2014 · 6 min · Øyvind Isene

Kurs med Cary Millsap i Oslo dagen før #OUGN14

Vårens store høydepunkt er OUGN sitt vårseminar. Her er programmet og her kan du melde deg på . Drar du til Oslo for å delta på konferansen anbefaler jeg at du flyr inn dagen før for å bli med på et annet stort høydepunkt, nemlig et dagskurs med Cary Millsap i Oslo . Dette er et kurs både for utviklere som integrerer mot Oracle database og for Oracle DBA-er. En bedre presentasjon av kurset finner du på påmeldingssiden . ...

January 18, 2014 · 1 min · Øyvind Isene

Upcoming conferences

OSL - CPH - SFO. Starting on my route in a few hours. Really look forward to see tweeps and a bunch of people from the worldwide Oracle community. Lots of good presentations of course, but also bloggers’ meetup, Oaktable world, RAC Attack, Anchor Steam, and more. I’ll speak at the Bulgarian Oracle User Group conference 22nd to 24th of November. I have heard from many that this is a good conference. First time in Bulgaria means this will be a triple excitement; giving a presentation about something I have thought a lot about, seeing a new country and meeting a possibly different culture. ...

September 20, 2013 · 1 min · Øyvind Isene

Finding corrupt XML files on Linux

Here is an easy command to find corrupt XML-files on a Linux box. A couple of days ago I had a problem with OBIEE and weblogic. Googling and search on My Oracle Support indicated that the failure may be caused by a corrupt XML file. And you know that there are many of them in an OBIEE installation. In fact MOS in Doc 1475146.1 blindly suggests to move a bunch of them to a backup location, because in some cases they had become corrupt for some strange reason. I was not satisfied with just deleting a few random files that have caused problems for others earlier, I wanted to find the file. ...

September 15, 2013 · 2 min · Øyvind Isene