In the process of converting a non-CDB database to a PDB database, once you describe a non-CDB database into and xml file and then try creating a PDB using this xml file, your CREATE PLUGGABLE DATABASE command may fail with this error message.
Oracle Installation guides, Linux Administration tips for DBAs, Performance Tuning tips, Disaster Recovery, RMAN, Dataguard and ORA errors solutions.
No contents from my website can be published anywhere else without my permission. Test every solution before implementing in the production environment.
Thursday, January 29, 2015
Tuesday, January 27, 2015
OEM 12c Job Failing With "ERROR: Failed to create command process"
I received OEM alert that
one of my OEM 12c Cloud Control jobs is failing with message Error: Failed to
create command process. Job activity page was showing details as follows
Monday, January 26, 2015
ORA-01031 insufficient privileges during switchover using DGMGRL
If you have Dataguard
broker configured in your Dataguard environment and you are doing a switchover
using DGMGRL, you may see ORA-013031 as you can see in the following.
[oracle@SGPvGMSIMDG01 ~]$ dgmgrl sys / |
Sunday, January 25, 2015
ORA-01031 While Creating or Accessing a View
ORA-01031: insufficient privileges
If your CREATE VIEW, CREATE MATERIALIZED VIEW or SELECT statement on a view is failing with this error message, it means that you are using a table in your view which is in another schema and there are some privilege issues. Reason for this error could
Saturday, January 24, 2015
ORA-00942 table or view does not exist
ORA-00942: |
table or view does not exist |
This is one of the most
common errors which end users faces, returned by the Oracle RDBMS, and the
meanings of this error message is that table, view, materialized view or
cluster you are trying to access (SELECT, INSERT. UPDATE or DELETE).
Wednesday, January 21, 2015
Error 1031 received logging on to the standby
In a Dataguard environment, if you see messages similar to the following in the alert log file of your Primary database, there could be multiple reasons for these errors.
#########################################
Error 1031 received logging on to the standby
PING[ARC1]: Heartbeat failed to connect to standby 'mydb_standby'. Error is 1031.
Error 1031 received logging on to the standby
PING[ARC1]: Heartbeat failed to connect to standby 'mydb_standby'. Error is 1031.
Tuesday, January 20, 2015
ASM Disks Stamping on Windows
When we start the installer for the Grid Infrastructure installation, and select either “Install and configure Oracle Grid Infrastructure for a Cluster” or “Install and configure Oracle Grid Infrastructure for a Standalone Server” option on the first screen
Monday, January 19, 2015
ORA-65139: Mismatch between XML metadata file and data file
While converting a non-CDB database to a PDB database, sometimes
I was able to do this, but sometimes I was facing the following error.
################################
SQL>
create pluggable database pdb2 using '/u01/oracle/noncdb.xml';
Sunday, January 18, 2015
Autostart of Pluggable Databases
In Oracle 12.1.0.1, you would need to start all
pluggable database manually after the startup of the Container Database. To
automate the startup of pluggable databases, you have 2 options. First option is
to create a system trigger (having pluggable database “open”commands for the
pluggable databases) which fires at container database startup and opens the pluggable database(s). Trigger
code would be something like this.
Saturday, January 17, 2015
Creating ASM Disks using ASMLib
While installing oracle 11.2.0.4 grid infrastructure (same is true for 12c) on Oracle Linux 6 (x86_64), “Create ASM Disk Group” screen of installation wizard prompted to select the disks for the creation of a diskgroup, as you see in bellow screenshot. This installation screen would appear if you select “Install and Configure Grid Infrastructure for a Cluster
Thursday, January 15, 2015
Configuring RMAN Backup
Here I will explain how to configure very basic and
very simple RMAN backup job to take daily backup (incremental level 0), which
can be used by anyone at any OS platform and for any version of Oracle Database
- difference will only be the file system paths which will be different in
Windows and Unix based platforms.
Wednesday, January 14, 2015
ORA-03264 cannot drop offline datafile of locally managed tablespace
On one of my customer’s site, I was told that they
want to drop a datafile which is offline for past one year. One year ago some
novice person tried to add the datafile with a name which was not correct
according to him and while trying to rename it,
Monday, January 12, 2015
Configuring Oracle Dataguard for RAC
Before we start, first you should check my article Configuring Oracle Dataguard, for a single node primary database and single node standby database; because configuring Dataguard for RAC is not much different than setting up Dataguard for single node database. During this article, I would be referring to the aforementioned document rather than
Sunday, January 11, 2015
Configuring Oracle Dataguard
Following is a step by step guide to configure Oracle Dataguard using physical standby database for Oracle database. If you have RAC environment, you can follow this document to configure dataguard. OS platform for this example is Oracle Linux 6 (x86_64), but same steps can be followed to configure dataguard for other platforms.
Saturday, January 10, 2015
Database Growth History and Forecast for 10g and 11g
For 12c container/pluggable Database, you can use
Database Growth History and Forecast for 12c and Above, and Tablespace Growth History and Forecast for 12c and Above scripts.
For 10g, 11g tablespace growth history and
forecast, you can use Tablespace Growth History and Forecast for 10g and 11g)
script.
Thursday, January 8, 2015
Performing Disaster Recovery using RMAN
Here I will be explaining how to perform disaster recovery of a database server where server has been lost because of hardware failure and needs everything to be prepared from scratch. This would require that a same type of server has been provisioned which has matching resources as we had on the actual production server. Before moving forward,
Wednesday, January 7, 2015
Converting a non-CDB database to a PDB
Here I would explain how do we convert a non-CDB (non-container database) to a PDB (pluggable database) in an existing CDB (container database) on the same host as well as on a different host. For this example, I used Oracle 12.1.0.2 software version and this example assumes that there is already a container database with name “mycdb”
Upgrading Grid Infrastructure 11g to 12c
In this post I will be
demonstrating the steps to upgrade Oracle Grid Infrastructure (GI) 11g
(11.2.0.4) to Grid Infrastructure 12c (12.1.0.2). Since ASM runs from GI home,
ASM would be upgraded automatically while the upgrade of GI. First release
version of 12c was 12.1.0.1 and for this example, I would be using 12.1.0.2. As
we know that
Monday, January 5, 2015
PRCA-1057 Failed to retrieve the password file location used by ASM asm
PRCA-1057 : Failed to retrieve the password file location used by ASM asm PRCR-1097 : Resource attribute not found: PWFILE
After upgrading your grid infrastructure 11g to 12c, you will notice that executing command “srvctl config asm” returns abovementioned error messages.
Sunday, January 4, 2015
Upgrading Oracle 11g Database to 12c using DBUA
For manual upgrade guide from 11g to 12c or 12.1.0.1 to 12.1.0.2, click here
Here I would be discussing how to upgrade Oracle 11g (11.2.0.4) database to 12c (12.1.0.2) on the same server. This upgrade process was done on Linux 6 (x86_64). I used DBUA (Database Upgrade Assistant) to perform this upgrade. DBUA
Here I would be discussing how to upgrade Oracle 11g (11.2.0.4) database to 12c (12.1.0.2) on the same server. This upgrade process was done on Linux 6 (x86_64). I used DBUA (Database Upgrade Assistant) to perform this upgrade. DBUA
Subscribe to:
Posts (Atom)
Popular Posts - All Times
-
This error means that you are trying to perform some operation in the database which requires encryption wallet to be open, but wallet is ...
-
Finding space usage of tablespaces and database is what many DBAs want to find. In this article I will explain how to find out space usage ...
-
ORA-01653: unable to extend table <SCHEMA_NAME>.<SEGMENT_NAME> by 8192 in tablespace <TABLESPACE_NAME> This error is q...
-
You may also want to see this article about the ORA-12899 which is returned if a value larger than column’s width is inserted in the col...
-
This document explains how to start and stop an Oracle cluster. To start and stop Grid Infrastructure services for a standalone installatio...
-
If database server CPU usage is showing 100%, or high 90%, DBA needs to find out which session is hogging the CPU(s) and take appropriate ...
-
If you want to know how we upgrade an 11g database to 12c using DBUA, click here . For upgrading 12.1.0.1 to 12.1.0.2 using DBUA, ...
-
By default AWR snapshot interval is set to 60 minutes and retention of snapshots is set to 8 days. For better and precise investigation of...
-
SWAP space recommendation from Oracle corp. for Oracle 11g Release 2 If RAM is between 1 GB and 2 GB, SAWP should be 1.5 times the s...
-
This article explains how to install a 2 nodes Oracle 12cR1 Real Application Cluster (RAC) on Oracle Linux 7. I did this installation on O...