Author Archives: Sher khan

About Sher khan

Senior Oracle DBA, Oracle 10g , Oracle 11g OCE ,Oracle 12C and Oracle 11g OPN certified Specialist, OCP Certified in Oracle 9i,10g , 11g and 12C. I am working in Oracle technology since 2004. Currently working in U.A.E Email: sher487@hotmail.com

Backup Database Users

To export selected users daily, you can do it very easily backup.bat  expdp system/password parfile=dailybackup.ora   dailybackup.ora DIRECTORY=dailybackup reuse_dumpfiles=y LOGFILE=Daily.log DUMPFILE=Daily%u.dmp Schemas = scott,hr,system FILESIZE=5gb   Advertisements

Posted in Uncategorized | Leave a comment

How to synchronize windows folder

In have two fodders i.e. source and target. In this demo it is explained that all files from source folder should be copied or update the target folder. As show in the picture I have created some files in source … Continue reading

Posted in Uncategorized | Leave a comment

How to change the file extension using cmd script

To change the files extension in once using script its very easy. I need to change the multiple files extension , it was difficult to change one by one. So I created a script to change at once and reuse … Continue reading

Image | Posted on | Leave a comment

Upload data using sql loader

Make a batch file suppose load_data.bat –content of the file is –you keep the batch and controlfile in the same folder where the datafiles are there. –This script will upload all data files within the same folder whatever fortmat they … Continue reading

Posted in Uncategorized | Leave a comment

RMAN Backup On Remote Machine Disk On Windows

Objective How to take backups on shared disk of another machine on windows machine.. Steps are following Follow the below steps to take backups on remote disk : + Suppose I have a target database on Machine A and the remote … Continue reading

Posted in rman | Leave a comment

Find a session which are generating more archive logs

To find sessions generating lots of redo, you can use either of the following methods. Both methods examine the amount of undo generated. When a transaction generates undo, it will automatically generate redo as well. The methods are: 1) Query … Continue reading

Posted in Performance and Tuning, scripts | Leave a comment

ARCH wait on SENDREQ

  ROBLEM: ARCHIVE process get hang on Primary Database ——– The problem has been that the standby hardware have some faulty backpane. This has caused processes in the standby to go into what is called as “D” state where the … Continue reading

Posted in Oracle DataGaurd | Leave a comment