getBoolean in 12c JDBC Driver and java.sql.SQLException: Fail to convert to...
There's no Boolean data type in Oracle database. When getBoolean method is called on result set object internal conversion takes place. According to Oracle documentation this internal conversion is...
View ArticleUpgrading RAC from 11.2.0.4 to 12.2.0.1 - Grid Infrastructure
This post gives the highlights of upgrading grid infrastructure of a two node RAC from 11.2.0.4 to 12.2.0.1. There's an earlier post of upgrading GI from 11.2.0.4 to 12.1.0.2.When upgrading to Oracle...
View ArticleUpgrading RAC from 11.2.0.4 to 12.2.0.1 - Database
After upgrading grid infrastructure from 11.2.0.4 to 12.2.0.1 the next step is the upgrade of RAC software and the database itself. There are earlier post which upgraded 11.2.0.4 to 12.1.0.1. The...
View ArticleDowngrade Grid Infrastructure from 12.2.0.1 to 11.2.0.4
This post list steps for downgrading grid infrastructure from 12.2.0.1 to 11.2.0.4. The upgrade to 12.2 GI was completed successfully on all nodes. No irreversible changes such as...
View ArticleUpgrading RAC from 12.1.0.2 to 12.2.0.1 - Grid Infrastructure
This post gives highlights of upgrading grid infrastructure from 12.1.0.2 to 12.2.0.2. The 12.1.0.2 is running on on RHEL 6.4 (the minimum version for RHEL 6 supported for 12.2) in a role separate...
View ArticleUpgrading RAC from 12.1.0.2 to 12.2.0.1 - Database (non-CDB and CDB)
After upgrading the GI from 12.1.0.2 to 12.2.0.1 the next phase is to upgrade the database software and the actual databases. This cluster has two standard edition 2 RAC databases. One is a non-CDB...
View ArticleDowngrade Grid Infrastructure from 12.2.0.1 to 12.1.0.2
This post list steps for downgrading grid infrastructure from 12.2.0.1 to 12.1.0.2. The grid infrastructure upgrade has been successful on all nodes. If upgrade to 12.2 had failed on any of the nodes...
View ArticleUpgrading Oracle Single Instance with ASM (Oracle Restart) from 11.2.0.4 to...
This post lists the steps for upgrading an Oracle restart environment (Single instance non-CDB on ASM) from 11.2.0.4 to 12.2.0.1. The 11.2.0.4 setup was on RHEL 6.4. The current versions of the GI...
View ArticleUnable to obtain current patch information due to error: 20001, ORA-20001:...
After upgrading single instance oracle restart setup to 12.2 from 11.2.0.4 following is observed in the alert logUnable to obtain current patch information due to error: 20001, ORA-20001: Latest xml...
View ArticleRAID 10 vs RAID 5 Some Empirical Evidence
There are many trade-offs between RAID 10 (or 1+0) and RAID 5 in terms of cost and performance. It's considered RAID 10 better in terms of writes compared to RAID 5, which has a overhead associated...
View ArticleJDBC Auto Commit and Log File Sync
By default when a connection is checked out of a JDBC connection pool (either Oracle Data Source or UCP), it has auto commit set to true. This means for DMLs, after each statement execution a commit...
View ArticleOracle Data Guard on 12.2 CDB with Oracle Restart
This post lists the steps for setting up an Oracle data guard on 12.2 with Oracle restart. Both primary and standby uses ASM for data file storage. The primary database is a CDB with two PDBs. The...
View ArticleCreating Data Guard Broker for an Existing 12.2 Data Guard Setup with CDB
This post list the steps for adding a data guard broker to an existing 12.2 Data Guard setup. There's an earlier post on setting up data guard broker on 12cR1. The primary database is called prodcdb...
View ArticleFlashback Primary DB in a Data Guard - PDB vs non-CDB vs CDB
This post shows the steps of recovering the standby after a PDB is flashback on the primary DB. Later on shows the same on a non-CDB and CDB. It's assumed that standby DB has flashback on.Flashback a...
View ArticleCreating a PDB in a Data Guard Configuration
Oracle Data guard configuration used in this post is the 12.2 data guard configuration created earlier. The primary DB has enabled_PDBs_on_standby='*'. What needs to be done when creating a PDB in the...
View ArticleDBCA With Silent Option Fails on CDB when Oracle Text Option is Present
Creating a database using a dbca -silent option fails on a CDB when Oracle text option is present. Following commands tries to create a CDB using a template. The DB the template was created from had...
View ArticlePlugging non-CDB as a PDB into a CDB in the Same Host
This post shows the steps of plugging a non-CDB into a CDB when both DBs reside on the same host. Both DBs run out of the same Oracle home and has the same database options (non-CDB must have either...
View ArticleUsing Openfiler to Create iSCSI Targets on VirtualBox
This post list steps for installing openfiler and creating iscsi targets that could be used as storage for Oracle DBs. It list steps for creating single path iscsi targets and multipath iscsi targets....
View ArticleInstalling Docker CE on RHEL 7
RHEL is not listed as a platform for Docker CE. But it is still possible to install Docker CE on OEL7 and RHEL7 using the centOS repository.This post list the steps for installing Docker CE on RHEL7.1....
View ArticleCreate, Plug/Unplug, Patch, Export/Import and Backup Oracle DB in Docker
An earlier post showed the steps for installing docker in RHEL 7. This post shows steps for creating an Oracle image and how to create a database container plus few other maintenance work such as...
View Article