Database Blog

ORACLE DATABSE CLONING USING COLD BACKUP

ORACLE DATABSE CLONING USING COLD BACKUP DESCRIPTION: The Cold database backup is, while taking backup or doing cloning, we need to shutdown the source database. This method is usually used for test server when database is in no archive log mode. First we want to take a backup of control file, note down the data file location, and finally shut down the database in source database side. Second. Transfer the data file, temp file to target database, create a pfile(init.ora) for target database. Then start the target database in no mount stage, then in there recreate a control file, then open the database in reset logs. Send the datafile,log files and control files to target destination: [oracle@oracle trainee]$ scp -r *.log oracle@192.168.1.122:/u01/shan The authenticity of host ‘192.168.1.122 (192.168.1.122)’ can’t be established. RSA key fingerprint is 9b:35:ae:ab:bf:6b:33:b4:43:86:f5:98:8b:bb:11:1c. Are you sure you want to continue connecting (yes/no)? oracle Please type ‘yes’ or ‘no’: yes oracle@192.168.1.122’s password: redo01.log                     100%  200MB   3.1MB/s   01:05 redo02.log                     100%  200MB   4.0MB/s   00:50 redo03.log                     100%  200MB   3.5MB/s   00:58 [oracle@oracle trainee]$ scp -r users01.dbf oracle@192.168.1.122:/u01/shan oracle@192.168.1.122’s password: users01.dbf                  100% 5128KB   5.0MB/s   00:01 [oracle@oracle trainee]$ scp -r undotbs01.dbf oracle@192.168.1.122:/u01/shan oracle@192.168.1.122’s password: undotbs01.dbf               100%   70MB   3.7MB/s   00:19 [oracle@oracle trainee]$ scp -r temp01.dbf oracle@192.168.1.122:/u01/shan oracle@192.168.1.122’s password: temp01.dbf                100%   32MB   2.9MB/s   00:11…

Read More

APEX INSTALLATION(5.1) in ORACLE12c

APEX INSTALLATION(5.1) in ORACLE12c In this blog we are going install the apex 5.1. Here, i have a database with 12c. So here i explained about this install steps at database directly. If we have a database then, follow below steps.…

Read More

MIGARATION FROM WINDOWS TO LINUX(12.1.0.1 TO 19.0.0)

INTRODUCTION Migration of a windows database 12.1.0.1 to linux database of version 19.0.0, below are the steps to perform the migration.   INSTALLED A DATABASE IN WINDOWS AND CHECKED THE…

Read More

Restore A Loss Of Controlfile Using Autobackup

Follow the steps to Restore A Loss Of Controlfile Using Autobackup:   Step:1 connect to RMAN and view the default parameters using SHOW ALL. Step:2 see the location of control…

Read More

BACKUP DATABASE USING RECOVERY CATALOG.

Steps in Backuping database using Recovery Catalog: What is a Recovery Catalog? RMAN metadata can be stored in either of the two places, Controlfile Recovery catalog Hence recovery catalog is…

Read More

How to Apply a Patch(Patch 30886680: DATABASE APR 2020 RELEASE UPDATE 12.2.0.1.200414)

Steps for applying the patch: Step:1 Check current version of OpatchTool Step:2 Upgrade the Opatch utility Step:3 Take the backup of ORACLE_HOME Step:4 Shutdown the Database and Listener Step:5 Apply…

Read More

Introduction to Materialised views

MATERIALISED VIEWS: Materialized views are schema objects that can be used to summarize, precompute, replicate and distribute data. In mview, the query result is cached as a concrete table that may…

Read More

Active Cloning

Steps to perform Active Cloning : Target database – RAHUL Clone database  – DOYEN 1)create the particular directories for clone database for storing datafiles,controlfiles,log files. mkdir DOYEN then create separate…

Read More

Recover a tablespace using RMAN

Recover a tablespace using RMAN: Step:1 create a tablespace Rahul. Step:2 view the tablespaces present in the database using Select tablespace_name from dba_tablespaces; Step:3 Backup the tablespace and backup the…

Read More

Data Recovery Advisor in Oracle 12c

Data Recovery Advisor feature/utilty was introduced in oracle 12c to identify and repair the failure automatically,before that we have to manually identify and rectify the failure that has occurred using…

Read More