Script to know the status of jobs Currently Running
SETPAUSEONSETPAUSE'Press Return to Continue'SETPAGESIZE60SETLINESIZE300SETVERIFYOFFSELECTa.job"Job",a.sid,a.failures"Failures", Substr(To_Char(a.last_date,'DD-Mon-YYYY HH24:MI:SS'),1,20)"Last Date",...
View ArticleScript to know the disk file operations
SETPAUSEONSETPAUSE'Press Return to Continue'SETPAGESIZE60SETLINESIZE300COLUMN"File Type"fora20COLUMN"File Operation"fora80selectdecode(p3,0 ,'Other',1 ,'Control File',2 ,'Data File',3 ,'Log File',4...
View ArticleNumber of accounts with passwords that have never been changed
select count(*) from sys.user$where user# in (select user_id from dba_userswhere account_status = 'OPEN')and ((ptime is null)or(ptime is not nulland ptime <= ctime));
View ArticleOldest Password Change Time
select min(ptime) from sys.user$where user# in (select user_id from dba_userswhere account_status = 'OPEN')and ptime is not nulland ptime > ctime;
View ArticleHow to purge/flush a single SQL PLAN from shared pool in Oracle
Purging a SQL PLAN from shared pool is not a frequent activity , we generally do it when a query is constantly picking up the bad plan and we want the sql to go for a hard parse next time it runs in...
View ArticleArticle 4
Query to check the concurrent manager lock This query is used for finding out the concurrent manager locks when shutdown takes long time to down the ICM/CM . Mostly...
View ArticleArticle 3
Library cache lockWhat is "Library cache lock" ?This event controls the concurrency...
View ArticleWhile deploying/Compiling PL/SQL package or spec no response/hangs on current...
Issue:While deploying/Compiling PL/SQL package or spec no response/hangs on current sessionIf you find the session details for your session the event will be as " Library Cache Load Lock"SQL> alter...
View ArticleEBS 12.2 adcfgclone.pl on AP Tier failed with ERROR: Script failed, exit code...
ERRORCreating new WLS domain.Running /app/xxx/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /app/xxx/fs1/EBSapps/comn/clone/FMW/t2pjdk -al...
View ArticleUDE-31623: operation generated ORACLE error 31623
Issue:UDE-31623: operation generated ORACLE error 31623oracle@SAMPLEEBS:~$ expdp oracle/XXXX schemas=Something directory=DUMP_DIR dumpfile=something.dmp logfile=something.logExport: Release...
View ArticleReusable Component - Script to Identify previous day job failure list.
/*This query gives previous day job failure list*/SELECT j.name [Job Name], h.step_id [Step_ID], h.step_name [Step Name], h.run_date [Run Date], h.run_time [Run...
View ArticleReusable Components - Script to Identify Blocking and Missing Indexes in SQL...
Max Blocks--NOTE: From the results in the below script, pick out the Stored Proc from the parent query and--underlying tables from the individual query columns..SELECT TOP 10[Average Time Blocked] =...
View ArticleEnable/Add new langauge in Oracle Apps R12
Enable/Add new langauge in Oracle Apps R121. Check the Character set whether new language you are enabling is supporing or not? 2. Activate new language from License Manager from Oracle Application...
View ArticleHow to use FND debug Log
Step 1: Set up profiles for the User / Responsibility to be used to reproduce the issueFND: Debug Log Enabled -> YES This turns the debugging feature onFND: Debug Log Filename -> NULL Use when...
View ArticleORA-04062: signature of package APPS.FND_DATE has been changed APP-FND-01926
ORA-04062: signature of package APPS.FND_DATE has been changed APP-FND-01926Solution :=======There is a de-synchronization in the time stamps between the package FND_DATEand the program that called it...
View ArticleORA-00955: name is already used by an existing object
ORA-00955: name is already used by an existing object" IssueThe utl_recomp package errors out trying to compile invalidsSQL> exec sys.utl_recomp.recomp_parallel(20);BEGIN...
View Articleadopmnctl.sh: exiting with status 206
ERROR: adopmnctl.sh: exiting with status 206If we face issue while starting opmn managed services likeopmnctl startalladopmnctl.sh: exiting with status 206Solution: Step 1. cd...
View ArticleREP-0069: Internal error REP-57054: In-process job terminated:Finished...
When any concurrent requests with the execution method Oracle Reports are submitted, temp files are created under the path of$INST_TOP/logs/ora/10.1.2/reports/cacheThese files are not purged with the...
View ArticlePRC: Update Project Summary Amounts ends in error ORA-01400
PRC: Update Project Summary Amounts ends in error ORA-01400On a Test instance where the issue exists please apply the steps below:1) Backup the data:Create table CDL_BLP as select * from...
View ArticleORA-12537:Tns connection Closed in Toad
Error : ORA-12537 TNS:connection closed Cause:* In the Sqlnet.ora file the parameter TCP.VALIDNODE_CHECKING is enabled and TCP.INVITEDNODES is set to some specific IP's of the Client...
View Article