I am demonstrating how we can drop the database in RAC environment manually in Oracle12c(12.1.0.2.0) version. I have two node RAC and the database name is TEST. The instance names are TEST1 & TEST2. Verify the instance [oracle@host01 ~]$ srvctl status database -d TEST Instance TEST1 is running on node host01 Instance TEST2 is running […]
All posts by Skant Gupta
Oracle Cloud (DBaaS): Migration “On-prem” database to Cloud Using RMAN Cross-Platform Transportable PDB
This article was written by Skant Gupta and Joel Perez in Oracle OTN. If you want to be updated with all our articles send us the Invitation or Follow us: Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/ or Join our LinkedIn group: Oracle Cloud DBaaS This method can be used only if the on-premises platform is little endian, and […]
How To Find DBID in NOMOUNT State
Oracle Database identifier in short DBID is an internal, unique identifier for an Oracle database. Database administrator must note down the DBID in safe place, so that any miss-happening to the database could be easily identified and recovered. In case it is required to recover SPFILE or control file from autobackup, such as disaster recovery, […]
Schema and Non-Schema Objects in Oracle Database
Oracle database contains schema objects like views, tables, triggers etc., and several other types of objects which are also stored in the database but are not contained in a schema. A schema is a collection of logical structures of data, or schema objects which is owned by a database user and has the same name […]
FINDING SCHEMA SIZE FOR A ORACLE DATABASE
SQL> BREAK ON REPORT SQL> COMPUTE SUM LABEL TOTAL OF “Size of Each Segment in MB” ON REPORT SQL> select segment_type, sum(bytes/1024/1024) “Size of Each Segment in MB” from dba_segments where owner=’SYS’ group by segment_type order by 1;
ORA-00245: Control File Backup Failed; Target is Likely on a Local File System
In alert log I got an issue ORA-00245: control file backup failed; target is likely on a local file system. Regarding this issue, I checked the snapshot control file location on rman prompt and observed that it was on local file system. In RAC environment, Snapshot control file backup location should be on a shared […]
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
I am getting ORA-32004 error while starting the database but all the parameters in spfile are fine. This issue came after upgrade the database from 10g to 11.2.0.4.0 SQL> startup ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance How to fix the ORA-32004 error? Cause: ORA-32004 causes because one or more obsolete parameters were specified […]
VI editor shows the error Terminal too wide within Solaris
You may receive the following error when using VI editor within Solaris. I got this error when I was adding tns entry in tnsnames.ora file. $ vi tnsnames.ora Terminal too wide Here, VI will not allow to edit files. For editing you must increase the number of columns as shown below. To resolve this increase […]
Error in Process orapwd.exe and unable to find error file opw.msb
I was trying to install Oracle 11g R2(64bit) on Windows 7 64 bit OS. But While Creating Database using DBCA i got this error. Below is the screenshot. Error in Process: %ORACLE_HOME%\server\bin\orapwd.exe Unable to find error file %ORACLE_HOME%\RDBMS\opw<lang>.msb Resolution: Set proper Home and Path using cmd and launch the dbca. C:\Users\skant>set ORACLE_HOME=C:\Oracle\app\oracle\product\11.2.0\dbhome_1 C:\Users\skant>set PATH=C:\Oracle\app\oracle\product\11.2.0\dbhome_1\server\bin:$PATH:. C:\Users\skant> […]
Multiplex control file in 11gR2 RAC ASM
After creating 11gR2 RAC database, we wanted to enable multiplexing for the control files. Oracle recommends multiplexing the control files . We are using ASM for the storage of control files. At the time of creating the database by dbca we can do multiplexing or we can also do later manually as described below. Goal:- […]