Quantcast
Channel: Thinking Out Loud
Browsing all 668 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

RMAN-06023: no backup or copy of datafile # found to restore

There’s a great note from MOS – Checklist for an RMAN Restore (Doc ID 1554636.1) but how many of you review this before performing a restore? If you don’t then you are as guilty as I am. RMAN>...

View Article


Image may be NSFW.
Clik here to view.

restore validate archivelog

A common mistake I see in backup validation is not validating archivelog or Level 1 backup. Here I will demonstrate various methods to validate achivelog. Validate archivelog and does not list details...

View Article


Image may be NSFW.
Clik here to view.

Be Careful when using FRA with Streams

Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 – 64bit Production select state from gv$streams_capture; STATE...

View Article

Image may be NSFW.
Clik here to view.

Find Users with DBA Roles

This sounds like a simple request doesn’t it? Simple if there are no roles which are granted DBA role and allow me to show what can go wrong. Create ROLE “secret”, Grant DBA to “secret”, Grant “secret”...

View Article

Image may be NSFW.
Clik here to view.

In Search of Standing Desk

I came across Evodesk Standing Desk Review http://www.workwhilewalking.com/evodesk-standing-desk-review Could not resist the temptation but reach out to @TreadmillDesker You bark loud but how is...

View Article


Image may be NSFW.
Clik here to view.

Backup file using copy with date append

How many ways are there to backup a file? Copy and append .bak, .sav, .orig, etc … I was looking for a simple, consistent, yet elegant way to do this. Good thing for Google (disclaimer I do own the...

View Article

Image may be NSFW.
Clik here to view.

Find Contents of RMAN backuppiece

RMAN backuppiece listings from OS oracle@arrow:hawklas:/home/oracle $ ll /oradata/backup/ total 216088 -rw-r-----. 1 oracle oinstall 1212416 May 5 11:06 DBF_HAWK_3130551611_20150505_hjq65thu_1_1_KEEP...

View Article

Image may be NSFW.
Clik here to view.

First Impression for Evodesk Desktop Unboxing

Disclaimer: I am not being paid by anyone to write positive or negative review. Opinions are my own based on my limited engineering background. First, packaging is somewhat poor and could be much...

View Article


Image may be NSFW.
Clik here to view.

Part1 Configuration Evodesk

Installation was not bad. Evodesk is the 2nd company I am aware of for using recesss nuts for desktop installation. This makes much more sense than using wood screws. However, pondering if Evodeskk...

View Article


Image may be NSFW.
Clik here to view.

Warning: standby redo logs not configured for thread – BUG

Surprise to find the following error for single instance Data Guard environment: Warning: standby redo logs not configured for thread 3 on boston   This will be fixed with an upcoming patch for the...

View Article

Image may be NSFW.
Clik here to view.

Not Another dbms_redefinition Post

If you follow me on twitter at all, then you will realize I often rant about how demos are too simplistic and do not represent real world issues. Please allow me to demonstrate how to partitioning an...

View Article

Image may be NSFW.
Clik here to view.

Linux Locking using flock

I am faced with a situation on how to creating locking mechanism for RMAN backup. Script dbf.sh backups database and can be run simutaneously if it’s not for the same database. Hence dbf.sh sh running...

View Article

Image may be NSFW.
Clik here to view.

X-Window Fun

When ssh -X to another host, I am able to use X-Windows. [dinh@ca01ts~]$ ssh -X dinh@192.168.1.137 dinh@192.168.1.137's password: Last login: Fri Aug 21 11:55:47 2015 from 10.237.102.38 /usr/bin/xauth:...

View Article


Image may be NSFW.
Clik here to view.

Monitoring RMAN Operations

Just a reference to source and my version of the script. This is for restore since there are OUTPUTS. Script to monitor RMAN Backup and Restore Operations (Doc ID 1487262.1) $ sqlplus / as sysdba...

View Article

Image may be NSFW.
Clik here to view.

Scaling Export and Import Tables Residing in Different Schemas 10gR2

Our team was tasked to unpartion all partition tables. Import: Release 11.2.0.4.0 has PARTITION_OPTIONS=DEPARTITION but we are on Release 10.2.0.4.0 The first step was to find all schemas with...

View Article


Image may be NSFW.
Clik here to view.

SQL Profile and Plan Baseline Notes

Optimizer with Oracle Database 12c Oracle White Paper – June 2013 http://www.oracle.com/technetwork/database/bi-datawarehousing/twp-optimizer-with-oracledb-12c-1963236.pdf What is the difference...

View Article

Image may be NSFW.
Clik here to view.

Using sed to format controlfile trace

Do you find it cumbersome having to format controlfile trace? For the most part, it’s a manual and tedious process. Using sed, it may be possible to automate task. RESUSE overwrites existing...

View Article


Image may be NSFW.
Clik here to view.

Using dynamic variables for shell scripting

So you may ask, why go through all the trouble? Have you ever had to move scripts from one directory to another to find out the script is now broken? This is due to the hard coding of the location for...

View Article

Image may be NSFW.
Clik here to view.

Learning opatch

For most of you, this is probably trivial. Needed to get a list of patches for 4-nodes Exadata. I saw co-worker ssh to each node, source ASM, database environment, run opatch command. Thinking out...

View Article

Image may be NSFW.
Clik here to view.

Not Another dbms_redefinition Post

If you follow me on twitter at all, then you will realize I often rant about how demos are too simplistic and do not represent real world issues. Please allow me to demonstrate how to partitioning an...

View Article
Browsing all 668 articles
Browse latest View live