ORA-01666: control file is for a standby database - failover over standby as...
Few and quick steps to open the standby database as primary with failover option. Note that primary is not available to switch over. Dataguad broker not configured.Quick round-up:SQL> select...
View ArticleORA-65086: cannot open/close the pluggable database
During cloning activity we unplugged a pdb and then try to open it but we faced "ORA-65086: cannot open/close the pluggable database " error.-- Unplug a pluggable databaseSQL> ALTER PLUGGABLE...
View ArticleMetric error on OEM 12c/13c - Recollect the metrics from the Target
While working with various targets and OEM, there may be some issues with metric collection. Ti elaborate, let me put one example:Due to some reason one server got hung and it doesn't allow any...
View ArticleTuning ASM re-balance operations in Oracle 12c
The new EXPLAIN WORK FOR statement in 12c measures the amount of work required for a given ASM rebalance operation and inputs the result in V$ASM_ESTIMATE dynamic view. Using the dynamic view, you can...
View ArticleFULL DATABASE CACHING IN 12C
FULL DATABASE CACHINGOracle introduces a new Feature called FORCE FULL DATABASE CACHING in 12C (12.1.0.2) Oracle may choose to bypass the buffer cache for some operations to prevent useful information...
View ArticleListing User's Assigned Responsibility in Application level
The following scripts used for User's responsibility , User Assigned Responsibility Listing in Application level.1.Script for View User's responsibility.SELECT (SELECT application_short_name FROM...
View ArticleTo check trace file of concurrent request
The following query is used for check trace file of concurrent request:Query:SELECT 'Request id: '||request_id ,'Trace id: '||oracle_Process_id,'Trace Flag: '||req.enable_trace,'Trace...
View ArticleGather stats Query for Database,Schema and Table.
Gather Stats for a database :------------------------------- exec dbms_stats.gather_database_stats(estimate_percent => 15, cascade => true);Gather stats for a...
View ArticleTable Recovery using RMAN in oracle 12C
Step 1:Login as sysdba:Sqlplus ‘/as sysdba’Connected to:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit ProductionWith the Partitioning, OLAP, Advanced Analytics and Real Application...
View ArticleHow to find Current Apllication Users Count
SELECT DISTINCT count(*)FROM apps.fnd_user fu, apps.fnd_responsibility fr, apps.icx_sessions icWHERE fu.user_id = ic.user_idAND fr.responsibility_id = ic.responsibility_idAND...
View ArticleORA-03113: end-of-file on communication channel on DB startup
ORA-03113 could be signaled for any of these scenarios: Server machine crashedYour server process was killed at O/S level Network problems Oracle internal errors / aborts on the serverClient...
View ArticleQuery to check backup status
col dbsize_mbytes for 99,999,990.00 justify right head "DBSIZE_MB"col input_mbytes for 99,999,990.00 justify right head "READ_MB"col output_mbytes for 99,999,990.00 justify right head "WRITTEN_MB"col...
View ArticleHow to Generate auth token in Oracle public cloud
Go To compute console ->Click Identity->UsersClick on username and then Auth tokens -> Generate tokenEnter description and then “Generate Token”And copy the value immediately and safe it as...
View ArticleAPEX INSTALLATION WITH HTTP(OHS) SERVER
APEX INSTALLATION WITH HTTP(OHS) SERVERDescription:1.We have to install first apex in our database after we have to install http(OHS) server:1.Apex Installation:Unzip Apex files in specific...
View ArticleTuning SQL Statements Using SQL Tuning Advisor (without Enterprise Manager)
Below are the steps to use SQL Tuning Advisor for particular SQL.1) Create tuning task using SQL_ID2) Execute tuning task3) Generate report for the tuning taskSTEP 1:CREATE tuning tasks for SQL_ID...
View ArticleDisabling Concurrent Managers and Check Internal concurrent manager status.
1.Disabling Concurrent Managers.Description:Sometimes we have to disable some Concurrent Managers.we are create a new single instance CLONE from a E-Business Suite.We can do it from the forms of the...
View ArticleOracle EBS R12.2.x some cloning issues and fixes
1. Oracle pre-clone fails with the following error.======================================================START: Creating WLS config archive.Script Executed in 1321 milliseconds, returning status...
View ArticleOracle EBS R12.2 weblogic server tips
1) Verify weblogic processes.ps -ef|grep weblogic.Serverps -ef|grep -i startWebLogic.sh2) You can find the weblogic port from the below tag of context file.$grep s_wls_adminport $CONTEXT_FILE3) Verify...
View ArticleOutput Post Processor is Down with Actual Process is 0 And Target Process is 1
If you see OPP is Down with Actual Process is 0 And Target Process is 1 then do the following1. Shutdown concurrent server via command adcmctl.sh2. To ensure concurrent manager down; check there is no...
View ArticleScript to find multiple plan hash values for the same SQL ID
select SQL_ID , PLAN_HASH_VALUE , sum(EXECUTIONS_DELTA) EXECUTIONS, sum(ROWS_PROCESSED_DELTA) CROWS, trunc(sum(CPU_TIME_DELTA)/1000000/60) CPU_MINS, trunc(sum(ELAPSED_TIME_DELTA)/1000000/60)...
View Article