Automatic Storage Management (ASM) in Oracle Database 10g
Automatic Storage Management (ASM) in Oracle Database 10g Automatic Storage Management (ASM) is a new feature was introduced in Oracle 10g to simplify the storage of Oracle datafiles, controlfiles and...
View ArticleOracle Database 11g installation on Solaris 10
I had installed Oracle Database 11g on Solaris 10 few days back. I thought of documenting the steps for easy reference. Please find below steps for the same Installation Pre-Requisite Refer to Oracle...
View ArticleSetting up user profiles for Grid and Oracle user : Oracle RAC 11gR2 on...
Below is the Solaris user profiles for “grid” and “oracle” user. If you have followed Oracles official documentation for installation ORacle Rac 11gR2. It is best practice to install Oracle clusterware...
View ArticleConfiguring DNS on Solaris 10 (Joining Solaris10 server to Domain)
################ Configure Solaris 10 machine to be on DNS############## 1. Check for file resolv.conf in /etc directory, if it doenst exist create it 2. add below information to the resolv.conf file...
View ArticleDelete files older than X days in Windows and Unix
Sometimes when your running an Oracle database, it becomes necessary to automate some tasks like cleaning your archivelogs. Since in my setup we don’t have a tape drive to which we can backup the...
View ArticleUnix commands for Oracle DBAs
UNIX Commands for DBAs Basic File Navigation The “pwd” command displays the current directory: root> pwd /u01/app/oracle/product/9.2.0.1.0 The “ls” command lists all files and directories in the...
View ArticleInstall Oracle10gR2 on Solaris 10 in few easy steps.
Directions :: First do gunzip then cpio of the file you downloaded from oracle.com 1. Run “gunzip <filename>” on all the files. Eg.: gunzip solarisx86_DB_10_1_0_3_Disk1.cpio.gz 2. Extract the...
View ArticleHow to Add Date and Time to a Filename with Windows Command Line.
Many times it becomes necessary to append date stamp on your export dumps. In Unix systems, shell scripting is very liberal with variables you can define yourself eg: expdate=`date ‘+%d%m%Y’` dat=`date...
View ArticleAUTOMATIC STARTUP AND SHUTDOWN OF ORACLE DATABASE INSTANCES
The following is a basic steps for an automatic start up and shutdown Oracle instances during UNIX system startup or shutdown. The process of startup and shutdown for Oracle on different UNIX Operating...
View ArticleMonitor User Processes and Send Email Shell Script Solaris10
Sometimes on a system it is important to know the maximum user processes does not increase so much that it consumes all shared memory. Recently we had an incident in our ORganization where a rogue...
View ArticleSchema Replication using Oracle Goldengate 11g (Installation & Configuration)
GoldenGate is touted by Oracle as its future for data replication. It will slowly phase out Oracle Streams and will be more closely coupled with Oracle products. Golden Gate is relatively simpler to...
View ArticleNotepad++ find and replace string with a new-line
Most of the times DBA’s need to edit blocks of PL/SQL or SQL scripts and perform some modifications. Notepad++ is a very powerful and lightweight tool to perform edits. Lets say you have a document...
View ArticleShell Script to Monitor AIX Filesystem and Send Email
The Below Shell Script checks the Filesystem mount points and using AWK outputs all filesystem exceeding 90% space to a file called diskspacepoll. Once that is done the sed command removes any special...
View ArticleShell Script to Monitor Oracle Tablespace and Send Email Alert Only If...
export MMSG=/tmp/$$.mail export ADDR="email address here" export ORACLE_HOME=/u02/app/oracle/product/11.2.0/dbhome_1 export ORACLE_SID=appdev1 file=/tmp/${$}_`date +%Y%m%d` sqlplus -s system/password...
View ArticleCompare 2 Servers RPM and Install RPM from Text File List
1. Generate RPM list on Old Server rpm -qa --queryformat='%{NAME}\n' | sort > serverold.txt 2. Generate RPM list on New Server rpm -qa --queryformat='%{NAME}\n' | sort > servernew.txt 3. Copy...
View Article
More Pages to Explore .....