Removing a Failed Node From the Cluster
This post list steps for removing a failed node from a cluster. The steps differs from steps in the previous node deletion posts (11gR1,11gR2 and 12c) such that one node has suffered a catastrophic...
View ArticleGUID Directory Not Created for PDBs During Full Restore in 12.1.0.2
Each database (non-CDB, CDB, PDB) on 12c has a generic unique identifier (GUID) associated with it. This GUID will not change throughout the life of the container/non-CDB. The 12c Admin guide says "the...
View ArticleResetlogs Fails with ORA-00349
During a database restore on a separate server from the source DB following error occurred during open resetlogs.RMAN> alter database open resetlogs;RMAN-00571:...
View ArticleMove a PDB Between Servers
This post list the steps for moving a PDB from it's current CDB to another CDB on a different server. The detonation CDB and the PDB are patched to the same level. Destination CDB patchesSQL> select...
View ArticlePlugging a SE2 non-CDB as an EE PDB Using File Copying and Remote Link
This post list two methods for plugging a non-CDB on standard edition 2 (SE2) as a pluggable database on enterprise edition (EE) CDB. One is using a XML description file which also includes copying the...
View ArticleRemote Cloning of a PDB
Similar to non-CDB, PDB too could cloned over a remote link. In this case both source and remote DBs are CDBs and one PDB is cloned on the local DB. As the first step create a TNS entry and a link on...
View ArticleInsert a File as BLOB Using DBMS_LOB
Following script could be used to insert a file as a BLOB into a table. The file to be inserted must reside in the location referred by the database directory LOADF. File name in this case data.log....
View ArticleMoving PDB from RAC CDB to Single Instance CDB
The RAC CDB and the non-RAC CDB are both 12.1.0.2 SE2 instances. Currently the single instance CDB doesn't have any PDB plugged on it. SE2 CDBs only support single tenancy due to license restriction....
View ArticleChange in 12c JDBC Behavior - setDate & getDate Does Not Truncate Timestamp
The 12c driver (12.1.0.2, ojdbc7.jar) certified for JDK7 and JDK8 does not truncate or set to "00:00:00" the time component when called with setDate and getDate methods. Same could be observed for 12c...
View ArticlePlugging a Non-CDB (pre-12c) into CDB Using Transportable DB (TDB) /...
In previous post it was shown how a 12c non-CDB could be plugged in as a PDB. This post shows steps for plugging a pre-12c DB (anything pre-12c is by default non-CDB) as a PBD using transportable DB...
View ArticleORA-39127: unexpected error from call to...
While doing an export (expdp) following error was encountered. Processing object type DATABASE_EXPORT/ROLEORA-39127: unexpected error from call to...
View ArticleASMCMD cp Fails on CIFS
Copying a file using asmcmd cp to a CIFS location fails as followsASMCMD> cp annnf0_ARCHIVE_LOG_0.382.923545643 /mnt/dbbackupcopying...
View ArticleFirst Look at 12.2 (12.2.0.1) Installation, CDB & PDB Creation
Oracle database 12.2 (12.2.0.1) for on-premises is now available. This is an brief look at the changes on 12.2 compared to previous version of 12c. Full list of changes (new, depreciate and...
View ArticleUpgrading Oracle Single Instance with ASM (Oracle Restart) from 12.1.0.2 to...
This post lists the steps for upgrading an Oracle restart environment (Single instance non-CDB on ASM) from 12.1.0.2 to 12.2.0.1. The 12.1 setup was on RHEL 7 and had a OS upgrade from RHEL 7.0 to RHEL...
View ArticleInstalling 12cR2 (12.2.0.1) RAC on RHEL 6 with Role Separation - Clusterware
This post is not a step by step guide to installing 12cR2 RAC but list the main differences in the installation process compared to previous versions and things to look out for. One of the main...
View ArticleInstalling 12cR2 (12.2.0.1) RAC on RHEL 6 with Role Separation - Database
Following the clusterware installation the next step is to install database software and create the database. The database software isn't much different from that of 12.1 database software...
View ArticleBoot in Single User Mode on RHEL 7
On RHEl7 booting in single user mode is done with the use of rescue mode. RHEL7 documentation states that in RHEL7 rescue mode is equivalent to single user mode. In this mode the system attempts to...
View ArticleEnabling Automatic AWR Snapshots on PDB
Oracle 12.2 allows AWR snapshots to be taken both at CDB and PDB level. CDB level snapshots will contain both CDB and PDB statistics. AWR report will list the containers whose statistics are available...
View ArticleUpgrading to 12.2.0.1 Using 12.1.0.2 Backups
This post list the steps for upgrading a 12.1.0.2 single instance CDB to 12.2.0.1 using the backups of 12.1.0.2 DB. The database is restored using the higher version (12.2.0.1) oracle binaries. The...
View ArticleUpgrading to 12.2.0.1 Using 11.2.0.4 Backups
This post list steps for upgrading a 11.2.0.4 single instance DB to 12.2.0.1 (non-CDB) using backups of the 11.2.0.4. There are two similar posts one for upgrading from 11.2.0.4 to 12.1.0.2 and another...
View Article