To get the details of audit records for user sessions
select os_username "O/S User", /*Operating system username used.*/username "User", /*Oracle username of the account used.*/terminal "Terminal", /*Terminal ID...
View ArticleQuery to check the everyday redo logs information
SELECT A.*,Round(A.NUMBER_of_LOGS*B.AVG#/1024/1024) Daily_Avg_MbFROM(SELECTTo_Char(First_Time,'YYYY-MM-DD') DAY,Count(1) NUMBER_OF_LOGS,Min(RECID) MIN_RECID,Max(RECID) MAX_RECIDFROMv$log_historyGROUPBY...
View ArticleTo list table blocks, empty blocks, extent count, and chain block count
SELECT blocks as BLOCKS_USED, empty_blocksFROM dba_tablesWHERE table_name=TNAME;SELECT chain_cnt AS CHAINED_BLOCKSFROM dba_tablesWHERE table_name=TNAME;SELECT COUNT(*) AS EXTENT_COUNTFROM...
View ArticleORA-609 : opiodr aborting process unknown ospid
Cause:The ORA-609 error is thrown when a client connection of any kind failed to complete or aborted the connectionprocess before the server process was completely spawned.Beginning with 10gR2, a...
View ArticleR12.2 Autoconfig failing with ORA-06512: at “APPS.ADX_PRF_PKG”, line 83
In the proces of upgrading from R12.1.3 to R12.2.4. I encountered an issue with autoconfig on database side Below is the excert from error logafdbprf.sh started at Mon May 4 23:09:23 PDT 2016The...
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.sh under $COMMON_TOP/admin/scripts/<context_name>3....
View ArticleLog files in Oracle EBS Release 12.1.3 and Oracle EBS Release 12.2.4
The Log files locations in Oracle EBS Release 12.1.3 and Oracle EBS R 12.2.4 are given below:1.Instance startup and configuration Log files are located for INST_TOP in Oracle Release 12.1.3 are...
View ArticleFind Roles and Privelages for USER
Following query will be useful to findout Roles and Privileges assigned to a user.Here, used SCOTT as User:COL "USER,HIS ROLES AND PRIVILEGES" FORMAT a100set linesize 300 pages 1000SELECTLPAD('',...
View ArticleORA-1166 file number 101 is larger than MAXDATAFILES (100)
In the process of upgrading EBS R12 DB from 11.2.0.3 to 11.2.0.4 using DBUA. The end of the upgrade, DBUA fails with following error message.During the DBUA, I have selected option 'move the database...
View ArticleSteps to Run Expdp Impdp Jobs in Background with nohup mode
How to Run Expdp Impdp Jobs in BackgroundStep 1: Create export or import parameter file$ cat...
View ArticleArticle 9
Query to find current cache hit ratio in databaseBelow query represents the exact cache hit ratio happening currently in databaseThe minimum figure of 89% is quoted below, but depending on the type of...
View ArticleArticle 8
To find the dependent packages or objects related to a packageBelow query is used to find the dependencies for an objects or a packageSo we can avoid the invalidation of objects before compilation...
View ArticleArticle 7
Steps to start and stop Node-manager in weblogicStarting node-manager :export MW_HOME=/u01/app/oracle/middlewareexport WLS_HOME=$MW_HOME/wlserver_10.3echo "Starting Node Manger"nohup...
View ArticleArticle 6
Steps to start and stop a WebLogic domain and managed serverStart a WebLogic domain and managed server :export MW_HOME=/u01/app/oracle/middlewareexport...
View ArticleArticle 5
Weblogic Reports and forms services Start/StopStart a WebLogic Forms and Reports Services :export MW_HOME=/u01/app/oracle/middlewareexport DOMAIN_HOME=$MW_HOME/user_projects/domains/ClassicDomainexport...
View ArticleSteps to Tune Redologs undo Checkpoints for Contention,Waits and...
-- #############################################################################################---- %Purpose: Tuning Redologs und Checkpoints (Contention, Waits, Number/Duration of Checkpoints)----...
View ArticleSteps to Reclaim Unused Space From Indexes and Tables
-- #############################################################################################---- %Purpose: How to reclaim UNUSED_SPACE from Indexes and Tables using DBMS_SPACE.UNUSED_SPACE----...
View ArticleSteps to know the Execution Plan of a DML statment
-- #############################################################################################---- %Purpose: Displays the execution plan for a SQL DML statement---- The SQL statement should be in a...
View ArticleSTEPS TO ANALYZE TABLE LIST CHAINED ROWS
-- #############################################################################################---- %Purpose: Show block chaining (chained rows) with ANALYZE TABLE LIST CHAINED ROWS---- Use: Needs...
View ArticleSteps to know the rollback segments used by a user
-- #############################################################################################---- %Purpose: Show which Users are accessing which Rollback Segments.---- It is sometimes useful to know...
View Article