TRACE IN ORACLE DATABASE
Current session trace: NORMAL TRACE: alter session set tracefile_identifer=’XXX’; — trace identifier alter session set sql_trace = true; FULL LEVEL TARCE with WAIT and BIND : alter session set tracefile_identifer=’XXX’;…
cmclean.sql : Cleaning the Concurrent Manager tables
To cleanup running and pending requests we use , If we stop concurrent managers using abort options then concurrent requests will be in running state ,Next when we start concurrent…
HOW TO FIND APPS PASSWORD – R12
Simple way to find out apps password in R12, Please review below for the same 1) Connect to SYSTEM or SYS USER 2) Create Function for to decrypt the encrypted…
DATABASE SIZE (datafiles + tempfiles + redologfiles)
To get accurate size of the database, We have to combined the sizes of all datafiles, tempfiles and redologfiles. select round ((++)/1024/1024/1024,2) “DB_size_in_GB” from ( select sum(bytes) data_size from dba_data_files…
Function not available to this responsibility : When accessing CUSTOM FORM
After fresh clone, Application technical team used to report that ‘Function not available to this responsibility’ error when they are trying to access custom form. CAUSE: Missing the entry of…
EBS LOGIN URL from database:
Connect to apps user $sqlplus apps/apps QUERY 1: SELECT home_url FROM icx_parameters; QUERY 2: SELECT profile_option_value FROM fnd_profile_option_values WHERE profile_option_id= (SELECT profile_option_id FROM fnd_profile_options WHERE profile_option_name = ‘APPS_FRAMEWORK_AGENT’) AND…
DATABASE HANGS
ERROR MESSAGE IN ALERTLOG FILE: ORACLE Instance PROD – Archival Error ORA-16038: log 4 sequence# 9961 cannot be archived ORA-19502: write error on file “”, block number (block size=) ORA-00312:…
RMAN COLD BACKUP AND RESTORE
Simple RMAN script to take cold database backup: For taking RMAN cold database backup, Database should be in mount status, Which can be noticed from below scipt. mkdir -p /BACKUP/PROD…
NID Utility in Oracle – RENAME DATABASE
DBNEWID (NID) utility was introduced in Oracle 10g, Which can change the database identifier (DBID) and the database name (DBNAME). NID utility allows us to change Only DBID Only DBNAME…
ORA-27125: unable to create shared memory segment when run DBCA
I have installed 10gR2 on linux environment, When running DBCA it got filed with below error ORA-27125: unable to create shared memory segment SOLUTION: cd $ORACLE_HOME/bin mv oracle …