Fuad Arshad

Syndicate content
This is Just stuff i find on Oracle From various different sources or from my own personal experience
Updated: 15 hours 46 min ago

Duplicate in Oracle 10 to a remote server

Tue, 2008-08-19 07:48
One of my fellow DBA's ran into a problem when trying to get duplicate working for restoring the database to another server.
After we resolved the issue and learned the lesson that a simple mistake can lead to hours of rman frustration . I thought it would be interesting to document .

The problem

Duplicate development database to new development server.

Tool Used

Rman command line

Server

AIX 5.3

After the DBA took the backup and had the backup NFS mounted on the system. He was unable to run duplicate on the new node. All auxialliary setup was complete and had seemed perfect.
An Rman catalog was used and Rman kept complaining that there were no backups to restore.

We tried a couple of things

remounted the NFS with the options rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0

based on Note:424785.1 which we thought didnt work

Looked at Note:356199.1 and set event="10298 trace name context forever, level 32"

This didnt help either

The duplicate script was simple

connect target test/test@test
connect catalog abc/abc@abc
connect auxiliary aux/aux@aux
run {
duplicate target database to aux
}

The commands were being executed from the auxiliary server and network config was testedto be valid.

The Solution

The problem turned out to be that the dev database was changed to be an archivelog database and the archive logs were not backed up as part of the backup process. Rman kept generating an SCN that was in the archivelogs that it could not find in the catalog at all( I'm guessing since it was connected to the target it got the info from there).
As soon as the archive logs were backed up and made available the duplicate worked like a charm.

Moral of the Story : Rman needs less cryptic messages

Technorati Tags: , , _uacct = "UA-614142-1"; urchinTracker();

My First Openworld

Mon, 2008-08-18 11:32
Well thanks to the folks at Oracle I get to go to my First Oracle Openworld. While i have had the opportunity to go to IOUG and Hotsos have never had the chance to make it to Openworld.
Here is a list of the sessions i plan to attend based on my initial run thru of the schedule builder. I'm still hoping to get into the exam cram on sunday and maybe find more sessions of value

Sunday, Sep 2108:30-10:00Remove From ScheduleOracle Real Application Clusters Scalability Panel10:00-11:30Remove From ScheduleOracle Security Risks13:00-14:30Remove From ScheduleSecurity Roundtable16:00-17:30Remove From ScheduleStorage: A New Paradigm for Databases (IOUG)17:45-19:00
Keynote: James Carville and Mary MatalinMonday, Sep 2209:00-11:00
Oracle Keynote: Charles Phillips and Chuck Rozwat11:30-12:30Remove From ScheduleApplication Diagnostics for DBAs: Visibility into Your Application That the Middle-Tier Administrator Cannot Provide You

13:00-14:00Remove From ScheduleImplementing Oracle Active Data Guard 11g as an Active Standby Database for Production Reporting
14:30-15:30Remove From SchedulePerformance Fundamentals for Oracle Database 10g and Oracle Database 11g16:00-17:00Remove From ScheduleOracle Database Performance: A Comprehensive View Including Linux, Scalability, New Platforms, and Solid State 17:30-18:30Remove From ScheduleHow to Prevent SQL InjectionsTuesday, Sep 2309:00-10:00Remove From ScheduleInside Oracle Database 11g Optimizer: Removing the Mystery09:00-10:00
Executive Solution Session: Intelligently Communicate with Customers and Optimize Billing Operations11:30-12:30Remove From ScheduleAdvanced Performance Diagnostics: What the GUI Doesn’t Tell You13:00-14:00Remove From ScheduleOracle Active Data Guard: Standby on Steroids, Disaster Recovery Included14:30-16:30
Keynote: Paul S. Ottelini, Intel and Thomas Kurian, Oracle17:00-18:00Remove From ScheduleAnalyze Oracle Data Guard 11g to Improve Its Operation and Performance
Wednesday, Sep 2408:00-09:00Remove From ScheduleMorning How-To Session: Top 10 Things to Do to Green Your Life and Save Money09:00-10:00Remove From ScheduleOracle Advanced Compression: Throw Away Half of Your Disks, and Run Your Database Faster11:30-12:30Remove From ScheduleEncrypt All Application Data: Oracle Database 11g Tablespace Encryption13:00-14:00Remove From ScheduleSQL Tuning Roundtable with the Experts14:30-16:30
Keynote: Larry Ellison, Oracle and Mark Hurd, HP 17:00-18:00Remove From ScheduleChange, Change, Change ...Thursday, Sep 2508:00-09:00Remove From ScheduleMorning How-To Session: Treading Lightly on the Planet--How to Reduce Your Carbon Footprint09:00-10:00Remove From ScheduleAdvanced Oracle Troubleshooting: No Magic Is Needed--A Systematic Approach Will Do10:30-11:30Remove From ScheduleOracle ACE Director Birds-of-a-Feather Tips and Techniques Panel
12:00-13:00Remove From ScheduleOffloading Work to Your Standby Database in Oracle Database 11g (IOUG)13:30-14:30Remove From ScheduleReal-World Database Performance Roundtable 15:00-16:00Remove From ScheduleReorganizing Objects
_uacct = "UA-614142-1"; urchinTracker();

Dataguard 11g - No more same hardware/software requirement(partially)

Thu, 2008-08-07 21:03
While trying to look at dataguard as a reporting environment i found a very neat and fundamentally cost saving feature added on to dataguard in Oracle 11.
According to the Docs

"As of Oracle Database 11g, Data Guard provides increased flexibility for Data Guard configurations in which the primary and standby systems may have different CPU architectures, operating systems (for example, Windows & Linux), operating system binaries (32-bit/64-bit), and Oracle database binaries (32-bit/64-bit).


This is very interesting and actually provide a lot of cost savings to companies that have systems using Windows based servers and can purchase cheaper linux boxes and make that available . The problem is based on the matrix in note 413484.1 pretty much only Windows and Linux can live in a mixed environment . AIX and Solaris can only live with the same architecture. _uacct = "UA-614142-1"; urchinTracker();

Oracle 9.2 desupport and Oracle 10 Upgrade tips

Mon, 2008-07-21 13:22
For all those folks who were living in the 9.2 world with the extended fee waived . It seems that July 31st is the date when oracle takes away that support and customers will have to pay for extended support which will go thru 2010 . Metalink Note 392222.1 has details about this .
As far as 10.2 upgrades go Oracle has been working on documents like the Oracle 10.2 Upgrade companion and SQLTXPLAIN for working with upgrades. The Upgrade COmpanion can be found as Note : 466181.1 and has alot of good info about the upgrade process as well as safeguards for the database. I'm still workign on trying out the stored outlines suggestion to see if that helps in a situation where oracle would change an explain for the worse _uacct = "UA-614142-1"; urchinTracker();

iPhone first impressions (Non Oracle)

Sun, 2008-07-20 02:37
So i got my iphone yesterday and based on 2 days worth of testing . I found the iphone to be a definite step up from my blackberry. I think its still not fully enterprise ready with no support for Lotus notes first or third party . I guess i've heard IBM is supposed to working on an appstore app. App store apps have so far been v1 and in the 2 days i've been using it i've had constant crashes and the accelerometer and other apps have been slow to respond. I've not been very happy with the mail app since it doesnt go widescreen . without a physical keyboard it gets hard to type email in normal mode. The GPS is good but somehow not very accurate. The battery life on 3G is horrible but disabling 3G give it more than 5 hrs.
Apps like twitterific and pandora are real nice and web browsing is awesome. i wish i could download podcast over wifi but seems the itunes store only provides purchases online.

I'm still learning the iphone so might find better ways of doing things and maybe a way to sync my lotus notes calendar to my phone . _uacct = "UA-614142-1"; urchinTracker();

TroubleShooting Oracle Performance Book

Fri, 2008-06-13 19:40
With troubleshooting Oracle Performance becoming so complicated and
time consuming it is good that people like Jonathan Lewis are writing books like Cost based Oracle Fundamentals.
Now Jonathan brings word that Christian Antogini of the Oak Table Network is publishing the book Troubleshooting Oracle Performance
I just preordered this book from Amazon and hope this continues the tradition of good books from the members of the oak table network
_uacct = "UA-614142-1"; urchinTracker();

RAT and 10.2.0.4

Sun, 2008-06-08 09:30

Just put in 10.2.0.4 in development and got RAT included . i wonder how licensing works on this .

SQL*Plus: Release 10.2.0.4.0 - Production on Wed Jun 4 09:21:18 2008

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options



Doug Burns just bloged about this here.

It seems that everyone started to noticing this change in their environments.

_uacct = "UA-614142-1"; urchinTracker();