Mason Performance Tuning Guide v1.1
Mason Performance Tuning Guide v1.1
Approvals:
Document Control
Mason_Performance_Tuning_Guide.docx
Page 1
Change Record
Date Author Version Change Reference
Reviewers
Name Position
Distribution
Copy No. Name Location
1 Issue Track http://support.tricoresolutions.com
Mason_Performance_Tuning_Guide.docx
Page 2
TABLE OF CONTENTS
TABLE OF CONTENTS................................................................................................................3
Section A. Introduction....................................................................................................................4
Section B. Performance guide.........................................................................................................6
Mason_Performance_Tuning_Guide.docx
Page 3
Section A. Introduction
Document structure
This document has following structure:
Section 1 This section will list all the checks and fixes to be
performed on EBS PROD to resolve performance issue
Related Documents
This guide is based on and should be used together with the standard
Oracle database and Applications document sets provided by the
Oracle Corporation.
Mason_Performance_Tuning_Guide.docx
Page 4
Performance Tuning Checks and Steps
(1) Issue-1 :
(a) Check for blocking locks and clear them if INACTIVE for long time.
(b) Check if GSS is run on ALL schemas and custom schemas like XXMSN
MAX(LAST_ANALYZ
---------------
23-SEP-18
USER_CONCURRENT_QUEUE_NAME MAX_PROCESSES
RUNNING_PROCESSES COUNT(CWR.REQUEST_ID)
------------------------------------------------------- ------------- -----------------
---------------------
MRP Manager 1 1 1
Conflict Resolution Manager 1 1 140
Mason Trailer Close Manager 7 7 2379
Standard Manager 25 25 7
Mason Report Manager 15 15 2
Mason Wave Manager 50 50 1009
6 rows selected.
Mason_Performance_Tuning_Guide.docx
Page 5
(d) Check which SQL_ID is being run by concurrent Programs
(e) Check is there are more than one execution/hash plans for discovered
specific SQL_ID
PLAN_HASH_VALUE INST_ID
--------------- ----------
2885720150 2
2885720150 1
From OEM check which plan is best and use the best one.
(f) Run SQL Tuning Advisor from OEM for specific SQL_ID to see
suggestions on performance improvement plans . Running sql tuning
advisor may also give a new better plan, for implementing new better
plan, we need to take approval from Ryan before implementing it
(g) Check if any profile is enable on current plan, if so , try disabling it from
OEM ( Please do not delete profile option )
1 row selected.
(h) Check if the sql_plan now for the sql, has picked up new execution plan
automatically or not. Monitor to see if the performance has improved
Mason_Performance_Tuning_Guide.docx
Page 6
(2) Issue-2 :
Found that Concurrent manager "Mason Trailer Close Manager" has about 4000+
requests pending normal
Found that most of the pending requests are for program "Interface Trip Stop"
FYI – it is normal to see 4000+ of these request queued up at certain times throughout
the day when we close out a large batch of trailers; however, the Interface Trip Stop
concurrent program appears to be running longer than expected (due to system slowness),
which seems to have the queue backed up more than normal today
(a) Check for blocking locks and clear them if INACTIVE for long time.
(b) Check if GSS is run on ALL schemas and custom schemas like XXMSN
MAX(LAST_ANALYZ
---------------
06-NOV-18
7 rows selected.
Mason_Performance_Tuning_Guide.docx
Page 7
select sid,serial#,status,last_call_et,module,event,action, sql_id from v$session where sid='80'
order by LAST_CALL_ET desc
(e) Check is there are more than one execution/hash plans for discovered specific
SQL_ID
PLAN_HASH_VALUE INST_ID
--------------- ----------
18556180 2
18556180 1
(f) Run SQL Tuning Advisor from OEM for specific SQL_ID to see suggestions on
performance improvement plans . Running sql tuning advisor may also give a new better
plan, for implementing new better plan, we need to take approval from Ryan before
implementing it
(h) Requested approval from Ryan to add suggested profile, once we have approval we can
implement profile
SQL> !date
Wed Nov 7 13:56:48 CST 2018
Mason_Performance_Tuning_Guide.docx
Page 8