SlideShare a Scribd company logo
Crack The Complexity Of Oracle
Applications R12 Workload
Ajith Narayanan
Oracle ACE Associate
8th- Nov -2014, Bangalore, India.
2
GE Title or job number
12/14/2015
Ajith Narayanan
 10+ years of Oracle [APPS] DBA/Technical Architect
experience.
 Oracle ACE Associate
 Blogger :- http://oracledbascriptsfromajith.blogspot.com
 Member:-OAUG, AIOUG
 AIOUG Real Application Clusters SIG Leader
 Ex-Website Chair (2011-2013) – Oracle RACSIG
http://www.oracleracsig.org
Who Am I
3
GE Title or job number
12/14/2015
1. Introduction
2. Challenge
3. Workload Characterization
4. Instrumentation
5. Collection
6. Classifying Workload
7. Measure
8. Interpret
9. Conclusion
10. Q&A
Agenda
4
GE Title or job number
12/14/2015
 Oracle Applications R12 is one of the flagship products
from Oracle .
 Oracle Apps R12 implementations are quite large with more
and more customizations done over a time.
 Being a huge product with 200+ products packaged most of
the architects and DBA's find it difficult to understand
the workload trend of the system.
 Customization's further contribute to the complexity.
Take Away
 End of this session, we should be able get the functional
perspective of our EBS system workload and its impact in 360º
Introduction
Functional User View
Logical Developer View
Physical Computer view
5
GE Title or job number
12/14/2015
 Oracle Application R12 has a very rich techstack.
 Understanding each components, analyzing the sizing
requirements for each of these components is really tricky
and tedious job.
 Forms, Reports, Self Service Applications, Concurrent Programs
 We will be trying to understand Workload characterization
process by identifying classes of workload, measuring those
classes and then identifying their impact to the business.
Challenge
6
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
7
GE Title or job number
12/14/2015
 We should be starting our analysis from the database
(Matrices related to our workload)
 Understand the business process that is responsible for the
peak workload.
 Know the workload in functional perspective to have a clear
picture ( Batch, Forms, Self Service, Java, FMW, OA
Framework Etc.)
 For the critical business process and related workloads, we
should be ensuring that enough resources are available,
since they are not available for compromises.
Workload Characterization
8
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
9
GE Title or job number
12/14/2015
 Forms Workload –Must be explained on the degree at which it
impacts business.
 apps.fnd_login_resp_forms
 apps.fnd_logins
 apps.fnd_form_tl
 apps.fnd_login_resp_forms
 apps.fnd_application_tl
Instrumentation
10
GE Title or job number
12/14/2015
 Batch workload
 Apps.fnd_concurrent_requests
 Self-Service Applications
 apps.icx_sessions
 DBMS_APPLICATION_INFO package
 set_client_info
 set_module
 set_action procedures
Instrumentation
11
GE Title or job number
12/14/2015
 Additional attributes to extended SQL trace data as well.
Instrumentation
• Identify foreground sessions with “SYS$USERS” & background
sessions with “SYS$BACKGROUND”.
12
GE Title or job number
12/14/2015
Instrumentation
• Client Identification:- Use, DBMS_SESSION.SET_IDENTIFIER
 Application Information
13
GE Title or job number
12/14/2015
Instrumentation
• Module Information (With action performed)
• ASH – Active Session History
 Once a session disconnects the details are not available through the
V$SESSION based views,
 ASH overcomes this problem with ability to catch sessions that might
have otherwise been missed using the V$SESSION view.
 The data is sampled at 1 second interval, so the data is more granular
than most attempts at sampling the V$SESSION based views.
14
GE Title or job number
12/14/2015
Instrumentation
• Tools Advantage (SQL*Plus commands )
SQL> set pages 9999
SQL> show appinfo
appinfo is ON and set to "SQL*Plus"
SQL> set appinfo on;
SQL> show appinfo
appinfo is ON and set to "SQL*Plus"
SQL> set appinfo "AjithNarayanan"
SQL> variable mod varchar2(30)
SQL> variable act varchar2(30)
SQL> execute dbms_application_info.read_module(:mod,:act);
PL/SQL procedure successfully completed.
SQL> print mod
MOD
--------------------------------
AjithNarayanan
SQL> print act
ACT
--------------------------------
SQL> show appinfo
appinfo is ON and set to "AjithNarayanan"
SQL> set appinfo off
SQL>
15
GE Title or job number
12/14/2015
Instrumentation
• OACore JVM usage can provide a 360 degree view of the
Application workload using GCViewer.
16
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
17
GE Title or job number
12/14/2015
Collection
• In an Oracle Applications system for example, concurrent
manager jobs have a broad enough mix of runtimes that
collection by interval is usually not very productive.
• Forms users on the other hand tend to stay connected for a
longer period of time and a logoff trigger misses the peaks
and valleys of that type of workload.
• OACore JVM usage by modules can provide a 360º view
(GCViewer).
18
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
19
GE Title or job number
12/14/2015
Classifying Workload
• Once we have instrumentation in place & data collection done,
We need to classify the workload with a functional
perspective.
• Some important modules used by the E-Business R12 are:
– Oracle Financials: Accounts Payable, Accounts Receivable, Fixed Assets,
General Ledger
– Human Resource Management System
– Customer Support: Service
– Supply Chain Management (SCM): Logistics, Order Management, Purchasing,
Shipping
– Self-Service Applications: Employee Self-Service, iExpenses, iProcurement,
Oracle Time & Labor
20
GE Title or job number
12/14/2015
Classifying Workload
• Sample of collecting useful information for classifying the
workload.
• Once the classification of our system workload is complete,
We now will have. the functional perspective of the total
work.
21
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
22
GE Title or job number
12/14/2015
Measure
• After workload classes are identified then measurements can
be grouped by class and summarized.
23
GE Title or job number
12/14/2015
Workload
Characterization
Instrumentation
Collection
Classify
Measure
Interpret
24
GE Title or job number
12/14/2015
Interpret
• Interpretation leads to
• Understanding the overall impact of each workload class on
the total workload.
• Charts can be easily created by co-relating the workload
class and the resource usage metrics
• Decisions can then be made about work shift allocations or
redistribution, and about possibly re-scheduling work to
non-critical time periods.
25
GE Title or job number
12/14/2015
Interpret
Application SQLstmts
Processes
User Experience
Oracle OperatingSystem
Work CPUSubsystem
Time (Time Based Analysis) IOSubsystem
Memory Subsystem
Network Subsystem
Massive CPU Bottleneck
99% CPU
1% (Wait) Latching
CPU Intensive SQL
Get more CPU power (Short Term)
or Look if high CPU consuming
SQLs can be avoided from running
at peak hours
1% wait time for acquiring cache
buffer chain latches – Add CBC
latches
TOP SQLs by CPU – Tune the
SQL or Reduce the number of
executions
26
GE Title or job number
12/14/2015
Interpret
Application SQLstmts
Processes
User Experience
Oracle OperatingSystem
Work CPUSubsystem
Time (Time Based Analysis) IOSubsystem
Memory Subsystem
Network Subsystem
IO Read bottleneck
30% CPU
70% Wait (Single Block
Sync Read)
High Physical Read
SQLs
Add more devices – More IO read
capacity
Keep blocks in buffer cache
Cache the key tables (Beneficial
only if the blocks are repeatedly
touched)
TOP SQLs by Physical Reads or
Executions (Tune it or Reduce its
executions
27
GE Title or job number
12/14/2015
Conclusion
• This session brings awareness of few basic and already
existing, small & powerful features in Oracle that can do a
lot of help in understanding our system workload,
• These features can provides us with all necessary leads to
start tuning the system for optimal performance and
sustainability.
28
GE Title or job number
12/14/2015
Q&A
29
GE Title or job number
12/14/2015
Thank You!
Contact:- ajithpathiyil@gmail.com

More Related Content

What's hot

Oracle real application clusters system tests with demo
Oracle real application clusters system tests with demoOracle real application clusters system tests with demo
Oracle real application clusters system tests with demo
Ajith Narayanan
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWR
pasalapudi
 
OOUG - Oracle Performance Tuning with AAS
OOUG - Oracle Performance Tuning with AASOOUG - Oracle Performance Tuning with AAS
OOUG - Oracle Performance Tuning with AASKyle Hailey
 
Oracle performance tuning_sfsf
Oracle performance tuning_sfsfOracle performance tuning_sfsf
Oracle performance tuning_sfsfMao Geng
 
Performance Tuning Oracle Weblogic Server 12c
Performance Tuning Oracle Weblogic Server 12cPerformance Tuning Oracle Weblogic Server 12c
Performance Tuning Oracle Weblogic Server 12c
Ajith Narayanan
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
Enkitec
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
AiougVizagChapter
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basics
nitin anjankar
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
Abishek V S
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
Kernel Training
 
Database and application performance vivek sharma
Database and application performance vivek sharmaDatabase and application performance vivek sharma
Database and application performance vivek sharma
aioughydchapter
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
John Beresniewicz
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
John Beresniewicz
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Awr + 12c performance tuning
Awr + 12c performance tuningAwr + 12c performance tuning
Awr + 12c performance tuning
AiougVizagChapter
 
How to find what is making your Oracle database slow
How to find what is making your Oracle database slowHow to find what is making your Oracle database slow
How to find what is making your Oracle database slow
SolarWinds
 
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12sidg75
 

What's hot (20)

Oracle real application clusters system tests with demo
Oracle real application clusters system tests with demoOracle real application clusters system tests with demo
Oracle real application clusters system tests with demo
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWR
 
OOUG - Oracle Performance Tuning with AAS
OOUG - Oracle Performance Tuning with AASOOUG - Oracle Performance Tuning with AAS
OOUG - Oracle Performance Tuning with AAS
 
Oracle performance tuning_sfsf
Oracle performance tuning_sfsfOracle performance tuning_sfsf
Oracle performance tuning_sfsf
 
Performance Tuning Oracle Weblogic Server 12c
Performance Tuning Oracle Weblogic Server 12cPerformance Tuning Oracle Weblogic Server 12c
Performance Tuning Oracle Weblogic Server 12c
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basics
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Database and application performance vivek sharma
Database and application performance vivek sharmaDatabase and application performance vivek sharma
Database and application performance vivek sharma
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Awr + 12c performance tuning
Awr + 12c performance tuningAwr + 12c performance tuning
Awr + 12c performance tuning
 
How to find what is making your Oracle database slow
How to find what is making your Oracle database slowHow to find what is making your Oracle database slow
How to find what is making your Oracle database slow
 
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12
Garbage Collection, Tuning And Monitoring JVM In EBS 11i And R12
 

Similar to Crack the complexity of oracle applications r12 workload v2

Oracle DBA Trainer
Oracle DBA TrainerOracle DBA Trainer
Oracle DBA TrainerP S Rani
 
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginnersKoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
Tobias Koprowski
 
Aspects of 10 Tuning
Aspects of 10 TuningAspects of 10 Tuning
Aspects of 10 Tuning
Sage Computing Services
 
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRsMySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
Mayank Prasad
 
MySQL Performance Schema : fossasia
MySQL Performance Schema : fossasiaMySQL Performance Schema : fossasia
MySQL Performance Schema : fossasia
Mayank Prasad
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload Management
SAP Technology
 
scpo_Technical_Implementation_Basics.pptx
scpo_Technical_Implementation_Basics.pptxscpo_Technical_Implementation_Basics.pptx
scpo_Technical_Implementation_Basics.pptx
Thirupathis9
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g Features
Remote DBA Experts
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And Whatudaymoogala
 
St Hilaire Ajax Start Odtug Nov 2009
St Hilaire   Ajax Start Odtug Nov 2009St Hilaire   Ajax Start Odtug Nov 2009
St Hilaire Ajax Start Odtug Nov 2009
ruiruitang
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
Markus Flechtner
 
Autosys Trainer CV
Autosys Trainer CVAutosys Trainer CV
Autosys Trainer CVDS gupta
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overviewmoin_azeem
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resumeMaruthi YH
 
Planning guide sap business suite 7 2013 landscape implementation
Planning guide sap business suite 7 2013  landscape implementationPlanning guide sap business suite 7 2013  landscape implementation
Planning guide sap business suite 7 2013 landscape implementationLeonardo Parpal Roig
 
SAP HANA SPS10- Workload Management
SAP HANA SPS10- Workload ManagementSAP HANA SPS10- Workload Management
SAP HANA SPS10- Workload Management
SAP Technology
 

Similar to Crack the complexity of oracle applications r12 workload v2 (20)

Oracle DBA Trainer
Oracle DBA TrainerOracle DBA Trainer
Oracle DBA Trainer
 
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginnersKoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
KoprowskiT_SQLRelay2014#2_Southampton_MaintenancePlansForBeginners
 
Aspects of 10 Tuning
Aspects of 10 TuningAspects of 10 Tuning
Aspects of 10 Tuning
 
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRsMySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
 
fresh resume11 (1)
fresh resume11 (1)fresh resume11 (1)
fresh resume11 (1)
 
MySQL Performance Schema : fossasia
MySQL Performance Schema : fossasiaMySQL Performance Schema : fossasia
MySQL Performance Schema : fossasia
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload Management
 
scpo_Technical_Implementation_Basics.pptx
scpo_Technical_Implementation_Basics.pptxscpo_Technical_Implementation_Basics.pptx
scpo_Technical_Implementation_Basics.pptx
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g Features
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
 
Checklist_AC.pdf
Checklist_AC.pdfChecklist_AC.pdf
Checklist_AC.pdf
 
St Hilaire Ajax Start Odtug Nov 2009
St Hilaire   Ajax Start Odtug Nov 2009St Hilaire   Ajax Start Odtug Nov 2009
St Hilaire Ajax Start Odtug Nov 2009
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
 
Autosys Trainer CV
Autosys Trainer CVAutosys Trainer CV
Autosys Trainer CV
 
Ashutosh_Resume
Ashutosh_Resume Ashutosh_Resume
Ashutosh_Resume
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overview
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resume
 
Planning guide sap business suite 7 2013 landscape implementation
Planning guide sap business suite 7 2013  landscape implementationPlanning guide sap business suite 7 2013  landscape implementation
Planning guide sap business suite 7 2013 landscape implementation
 
SAP HANA SPS10- Workload Management
SAP HANA SPS10- Workload ManagementSAP HANA SPS10- Workload Management
SAP HANA SPS10- Workload Management
 

Recently uploaded

Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
Access Innovations, Inc.
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
IP ServerOne
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
Vladimir Samoylov
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Orkestra
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
OWASP Beja
 

Recently uploaded (13)

Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
 

Crack the complexity of oracle applications r12 workload v2

  • 1. Crack The Complexity Of Oracle Applications R12 Workload Ajith Narayanan Oracle ACE Associate 8th- Nov -2014, Bangalore, India.
  • 2. 2 GE Title or job number 12/14/2015 Ajith Narayanan  10+ years of Oracle [APPS] DBA/Technical Architect experience.  Oracle ACE Associate  Blogger :- http://oracledbascriptsfromajith.blogspot.com  Member:-OAUG, AIOUG  AIOUG Real Application Clusters SIG Leader  Ex-Website Chair (2011-2013) – Oracle RACSIG http://www.oracleracsig.org Who Am I
  • 3. 3 GE Title or job number 12/14/2015 1. Introduction 2. Challenge 3. Workload Characterization 4. Instrumentation 5. Collection 6. Classifying Workload 7. Measure 8. Interpret 9. Conclusion 10. Q&A Agenda
  • 4. 4 GE Title or job number 12/14/2015  Oracle Applications R12 is one of the flagship products from Oracle .  Oracle Apps R12 implementations are quite large with more and more customizations done over a time.  Being a huge product with 200+ products packaged most of the architects and DBA's find it difficult to understand the workload trend of the system.  Customization's further contribute to the complexity. Take Away  End of this session, we should be able get the functional perspective of our EBS system workload and its impact in 360º Introduction Functional User View Logical Developer View Physical Computer view
  • 5. 5 GE Title or job number 12/14/2015  Oracle Application R12 has a very rich techstack.  Understanding each components, analyzing the sizing requirements for each of these components is really tricky and tedious job.  Forms, Reports, Self Service Applications, Concurrent Programs  We will be trying to understand Workload characterization process by identifying classes of workload, measuring those classes and then identifying their impact to the business. Challenge
  • 6. 6 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 7. 7 GE Title or job number 12/14/2015  We should be starting our analysis from the database (Matrices related to our workload)  Understand the business process that is responsible for the peak workload.  Know the workload in functional perspective to have a clear picture ( Batch, Forms, Self Service, Java, FMW, OA Framework Etc.)  For the critical business process and related workloads, we should be ensuring that enough resources are available, since they are not available for compromises. Workload Characterization
  • 8. 8 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 9. 9 GE Title or job number 12/14/2015  Forms Workload –Must be explained on the degree at which it impacts business.  apps.fnd_login_resp_forms  apps.fnd_logins  apps.fnd_form_tl  apps.fnd_login_resp_forms  apps.fnd_application_tl Instrumentation
  • 10. 10 GE Title or job number 12/14/2015  Batch workload  Apps.fnd_concurrent_requests  Self-Service Applications  apps.icx_sessions  DBMS_APPLICATION_INFO package  set_client_info  set_module  set_action procedures Instrumentation
  • 11. 11 GE Title or job number 12/14/2015  Additional attributes to extended SQL trace data as well. Instrumentation • Identify foreground sessions with “SYS$USERS” & background sessions with “SYS$BACKGROUND”.
  • 12. 12 GE Title or job number 12/14/2015 Instrumentation • Client Identification:- Use, DBMS_SESSION.SET_IDENTIFIER  Application Information
  • 13. 13 GE Title or job number 12/14/2015 Instrumentation • Module Information (With action performed) • ASH – Active Session History  Once a session disconnects the details are not available through the V$SESSION based views,  ASH overcomes this problem with ability to catch sessions that might have otherwise been missed using the V$SESSION view.  The data is sampled at 1 second interval, so the data is more granular than most attempts at sampling the V$SESSION based views.
  • 14. 14 GE Title or job number 12/14/2015 Instrumentation • Tools Advantage (SQL*Plus commands ) SQL> set pages 9999 SQL> show appinfo appinfo is ON and set to "SQL*Plus" SQL> set appinfo on; SQL> show appinfo appinfo is ON and set to "SQL*Plus" SQL> set appinfo "AjithNarayanan" SQL> variable mod varchar2(30) SQL> variable act varchar2(30) SQL> execute dbms_application_info.read_module(:mod,:act); PL/SQL procedure successfully completed. SQL> print mod MOD -------------------------------- AjithNarayanan SQL> print act ACT -------------------------------- SQL> show appinfo appinfo is ON and set to "AjithNarayanan" SQL> set appinfo off SQL>
  • 15. 15 GE Title or job number 12/14/2015 Instrumentation • OACore JVM usage can provide a 360 degree view of the Application workload using GCViewer.
  • 16. 16 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 17. 17 GE Title or job number 12/14/2015 Collection • In an Oracle Applications system for example, concurrent manager jobs have a broad enough mix of runtimes that collection by interval is usually not very productive. • Forms users on the other hand tend to stay connected for a longer period of time and a logoff trigger misses the peaks and valleys of that type of workload. • OACore JVM usage by modules can provide a 360º view (GCViewer).
  • 18. 18 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 19. 19 GE Title or job number 12/14/2015 Classifying Workload • Once we have instrumentation in place & data collection done, We need to classify the workload with a functional perspective. • Some important modules used by the E-Business R12 are: – Oracle Financials: Accounts Payable, Accounts Receivable, Fixed Assets, General Ledger – Human Resource Management System – Customer Support: Service – Supply Chain Management (SCM): Logistics, Order Management, Purchasing, Shipping – Self-Service Applications: Employee Self-Service, iExpenses, iProcurement, Oracle Time & Labor
  • 20. 20 GE Title or job number 12/14/2015 Classifying Workload • Sample of collecting useful information for classifying the workload. • Once the classification of our system workload is complete, We now will have. the functional perspective of the total work.
  • 21. 21 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 22. 22 GE Title or job number 12/14/2015 Measure • After workload classes are identified then measurements can be grouped by class and summarized.
  • 23. 23 GE Title or job number 12/14/2015 Workload Characterization Instrumentation Collection Classify Measure Interpret
  • 24. 24 GE Title or job number 12/14/2015 Interpret • Interpretation leads to • Understanding the overall impact of each workload class on the total workload. • Charts can be easily created by co-relating the workload class and the resource usage metrics • Decisions can then be made about work shift allocations or redistribution, and about possibly re-scheduling work to non-critical time periods.
  • 25. 25 GE Title or job number 12/14/2015 Interpret Application SQLstmts Processes User Experience Oracle OperatingSystem Work CPUSubsystem Time (Time Based Analysis) IOSubsystem Memory Subsystem Network Subsystem Massive CPU Bottleneck 99% CPU 1% (Wait) Latching CPU Intensive SQL Get more CPU power (Short Term) or Look if high CPU consuming SQLs can be avoided from running at peak hours 1% wait time for acquiring cache buffer chain latches – Add CBC latches TOP SQLs by CPU – Tune the SQL or Reduce the number of executions
  • 26. 26 GE Title or job number 12/14/2015 Interpret Application SQLstmts Processes User Experience Oracle OperatingSystem Work CPUSubsystem Time (Time Based Analysis) IOSubsystem Memory Subsystem Network Subsystem IO Read bottleneck 30% CPU 70% Wait (Single Block Sync Read) High Physical Read SQLs Add more devices – More IO read capacity Keep blocks in buffer cache Cache the key tables (Beneficial only if the blocks are repeatedly touched) TOP SQLs by Physical Reads or Executions (Tune it or Reduce its executions
  • 27. 27 GE Title or job number 12/14/2015 Conclusion • This session brings awareness of few basic and already existing, small & powerful features in Oracle that can do a lot of help in understanding our system workload, • These features can provides us with all necessary leads to start tuning the system for optimal performance and sustainability.
  • 28. 28 GE Title or job number 12/14/2015 Q&A
  • 29. 29 GE Title or job number 12/14/2015 Thank You! Contact:- ajithpathiyil@gmail.com