Database Blog

Resolving ORA-65122: GUID Conflicts During Pluggable Database Creation in Oracle

Introduction: Creating a new Pluggable Database (PDB) in Oracle is a routine task for DBAs. However, errors like ORA-65122: Pluggable database GUID conflicts with the GUID of an existing container can sometimes arise, particularly when using the CREATE PLUGGABLE DATABASE command. In this blog, we’ll explore a real-world scenario where this error occurred, analyze its cause, and provide steps to resolve it effectively. Error: ORA-65122: Pluggable database GUID conflicts with the GUID of an existing container. SQL> create pluggable database TEST2_NEW using ‘/tmp/dba/PROD2_txfr.xml’ nocopy tempfile reuse; create pluggable database TEST2_NEW using ‘/tmp/dba/PROD2_txfr.xml’ nocopy tempfile reuse * ERROR at line 1: ORA-65122: Pluggable database GUID conflicts with the GUID of an existing container. Cause: The ORA-65122 error occurs when the GUID (Globally Unique Identifier) of the new PDB being created matches the GUID of an existing PDB or container. In this case, the source file (PROD2_txfr.xml) used for creating the PDB contained metadata that resulted in a GUID conflict with an existing container. This issue often arises when using the USING clause with XML metadata generated from an existing database or when a PDB is being recreated from a source that retains its original GUID. Solution: To resolve this, the AS CLONE clause was added to the creation command. This clause instructs Oracle to treat the new PDB as a clone of the source, generating a unique GUID to avoid conflicts. The modified command was: SQL> create pluggable database TEST2_NEW as clone using ‘/tmp/dba/PROD2_txfr.xml’ nocopy tempfile reuse; Pluggable database created. SQL> sho pdbs; CON_ID    CON_NAME        OPEN MODE  RESTRICTED 2        PDB$SEED        READ ONLY  NO 3        TEST2_NEW       MOUNTED SQL> Conclusion: Errors like ORA-65122 can interrupt routine DBA operations, but understanding their root cause and using features like the AS CLONE clause can provide an efficient resolution. This scenario highlights the importance of careful planning and testing during PDB creation to ensure a smooth process. By adopting the best practices outlined above, you can avoid similar issues and enhance database operations in your Oracle environment.

Read More

SQL server MAX server memory configuration

SQL server MAX server memory configuration Introduction:- This document addresses SQL Server memory issues, including errors in resource pools internal and default, which impact query execution and system performance. It provides…

Read More

SQL Server Database not accessible suspect mode.

SQL Server Database not accessible suspect mode. Introduction:- This document provides a concise guide for troubleshooting and resolving SQL Server databases in suspect mode, which prevents user access. It outlines…

Read More

Importance of Synchronizing ebs_system and system Passwords Post AD-TXK 15 Upgrade in Oracle EBS

Introduction: Managing EBS environments effectively requires attention to detail, especially after upgrades like AD-TXK 15. One critical aspect is ensuring password synchronization for seamless ADOP cycles. Understanding the Issue :…

Read More

Resolving DBTechStack Errors Caused by Insufficient Temporary Space in Oracle EBS

Introduction: Oracle E-Business Suite (EBS) Rapid Clone is a critical tool for creating copies of an EBS environment. However, issues may arise during the cloning process due to system configuration…

Read More

How to overcome ORA-20002

Introduction Oracle EBS DBAs often face frustration when seemingly simple tasks take an unexpectedly long time to resolve. One common example is assigning a responsibility, only to encounter a generic…

Read More

𝗖𝗵𝗼𝗼𝘀𝗶𝗻𝗴 𝘁𝗵𝗲 𝗥𝗶𝗴𝗵𝘁 𝗦𝘁𝗼𝗿𝗮𝗴𝗲 𝗢𝗽𝘁𝗶𝗼𝗻 𝗶𝗻 𝗢𝗖𝗜 𝗳𝗼𝗿 𝗘𝗕𝗦 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀

Selecting the appropriate storage for Oracle E-Business Suite (EBS) in Oracle Cloud Infrastructure (OCI) is crucial, as different storage types delivers varying levels of performance. Key factors to consider for…

Read More

Resolving ORA-20001: Synonym Does Not Point to an Editioning View in ADOP Phase of Oracle EBS

Introduction  During the ADOP (Online Patching) process of Oracle E-Business Suite (EBS), you might encounter the following error message while running Autoconfig as part of adop phase=prepare: ORA-20001: Synonym does…

Read More

Resolving Port Conflicts During ADOP Validation in Oracle E-Business Suite

Introduction: The ADOP (Autonomous Database Operations) process is a crucial component of the Oracle E-Business Suite (EBS) used during patching, cloning, and upgrades. During the validation phase of ADOP, a series of…

Read More

Detect symbolic link directories in Oracle

With the de-support of UTL_FILE_DIR with Oracle Database 18c. There’s a major behavior change in Oracle 18c/19c: No symbolic links for Data Pump directories. So if you have created a…

Read More