ORA-06512: ORACLE_OCM.MGMT_DB_LL_METRICS on Alert Log
On a new install 11.2.0.3 following could be observed on the alert logErrors in file /opt/app/oracle/diag/rdbms/db/db1/trace/db1_j004_5824.trc:ORA-12012: error on auto execute of job...
View ArticleORA-04063: package body "XDB.DBMS_CSX_INT" has errors
Following could be observed in the database alert log (11.2.0.3) during a schema export.Errors in file /opt/app/oracle/diag/rdbms/db/db/trace/db_dw00_5669.trc:ORA-00604: error occurred at recursive SQL...
View ArticleUpgrading RHEL 6 OS in a 11gR2 RAC Environment
This post upgrade the RHEL 6 OS on severs which are running 11gR2 RAC. Current kernel is $ uname -r2.6.32-220.el6.x86_64 and the database patch level is opatch lsinventory -local | grep PatchOracle...
View ArticleONS Client Connections
On 11gR2 the onsctl debug output shows the clients IP subscribe to ONS in the client connection section (unlike in 11gR1). The IP is listed in ipv6 format.Client connections: ID CONNECTION ADDRESS PORT...
View ArticleMoving 11gR2 RAC to New Set of ASM Diskgroups
This post is for a situation that require moving the RAC components from current set of ASM disk groups to new set of ASM disk group. Situation could arise in the form of moving to higher redundancy...
View ArticleChanging Public IP, VIP and SCAN IP in 11gR2 RAC
The post list the steps for changing the public IP, VIP and SCAN IP. It must be mentioned that only the IPs are changed in this case. The subnet mask, the public and VIP interface all remain the same....
View ArticleORA-31693: Table data object failed to load/unload and ORA-01031:...
ORA-31693 and ORA-01031 could be seen when exporting the full schema with flashback_time clause.ORA-31693: Table data object "SCHEMA"."Table_name" failed to load/unload and is being skipped due to...
View ArticleApril 2013 PSU (11.2.0.3) Manual Steps for Apply/Rollback Patch
April PSU for 11.2 also follows the same pattern as the January PSU when it comes to manual steps for applying the patch. The document ID listed for manual steps (1494646.1) is same one listed for...
View ArticleRMAN-06025: no backup of archived log for thread X with sequence Y and...
"Restore validate" command could be used to determine if the backups are intact and could be used for a restore operation without any issue. The command could be used to validate database restore as...
View ArticleScript For Listing 11gR2 Cluster Resource Status in CRS_STAT Output Format
crs_stat -t is depreciated in 11gR2 and replaced with crsctl stat res -t. Following script could be used to generate resource status output in a format that is similar to crs_stat -t in 11gR1....
View ArticleUnsupported Bind Variable Syntax in PreparedStatments and 10.2/11.1/11.2 JDBC...
Oracle supports two kind of bind variable placeholder syntax in Java PreparedStatments. A bind variable placeholder could be denoted with a colon and a number ":1" or with a question mark "?". However...
View ArticleMigrating Stored Outlines
11gR2 provides a function to migrate stored outline in to SQL plan baselines. In 1359841.1 oracle says stored outline "will be desupported in a future release in favor of SQL plan management" but...
View ArticleDB CPU Greater Than DB Time
According to Oracle documentation DB CPU is a child of DB Time. The document says that parent child relationship of these values is for containment only and child may not add up to the parent. But can...
View ArticleInstalling Oracle 12c Database in RHEL 6
Oracle has released the 12c database software and could be downloaded from https://edelivery.oracle.com/. This blog post goes through the installation of 12c in RHEL 6 and highlights any differences to...
View ArticleUpgrading from 11gR2 (11.2.0.3) to 12c (12.1.0.1) Grid Infrastructure
The environment used for upgrade is 11gR2 environment installed on RHEL 6 with role separation (with PSU 11.2.0.3.6 applied on the GI HOME). It had the listener port changed from default 1521 and scan...
View ArticleUpgrading from 11gR2 (11.2.0.3) to 12c (12.1.0.1) RAC
The earlier post showed the steps for upgrading grid infrastructure from 11gR2 to 12c. This post list the steps for upgrading the RAC software to 12c. Since 11gR2 upgrades are out of place as such...
View ArticleUpgrading 11.2.0.3 Database to 12.1.0.1 Using DBUA
After upgrading grid infrastructure and RAC software next step is to upgrade the actual database. This could be done manually or using DBUA. There are several metalink notes (listed at the end of the...
View ArticleConnect Through - Connect Without Knowing the Password
At times it may be necessary to grant access to a database schema but not necessarily give the password for the login. Granting connect through comes useful in such cases. Below example demonstrate the...
View Articlejava.sql.SQLException: Could not commit with auto-commit set on When Using...
When a jdbc connection is checked out the data pool it's auto commit status is true. When using the 12c driver calling commit on a connection that has auto commit true will result in following...
View ArticleConverting 11gR2 RAC from Standard Edition to Enterprise Edition
The existing system is a 11gR2 (11.2.0.3.7) Standard Edition (SE) RAC with role separation on RHEL 6. The blog post lists the steps for converting the SE RAC to Enterprise Edition (EE) RAC. The SE home...
View Article