Enable/Disable Maintenanace Mode from SQLPLUS Session (Without adadmin)
We can enable or disable maintenance mode without using adutility (adadmin), Perform the same from SQLPLUS session. Check the current status of Maintenance Mode: select (‘APPS_MAINTENANCE_MODE’) from dual; MAINT = …
RMAN : Perform Block Recovery
We can perform BLOCK RECOVERY with or without RMAN BACKUP, Here is the demonstration of block media recovery with HOT BACKUP and RMAN BACKUP as well. 1) Create tablespace, user…
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…