oracle ebs database upgrade to 12c
TRANSCRIPT
Session ID:
Prepared by:
Best practices of Upgrading Oracle E-Business Suite database to 12c
10306
Vasu Balla, Pythian
@r12dba
April 2-6, 2017 in Las Vegas, NV USA #C17LV
About MeVasu Balla• Oracle Apps Principal Consultant with Pythian• 15 Years of Oracle Apps DBA Experience• 10th Year with Pythian• Part of Oracle EBS ATG Customer Advisory Board• Based out of Ottawa, Canada• Presented at several Collaborate Conferences
April 2-6, 2017 in Las Vegas, NV USA #C17LV
ABOUT PYTHIAN
© 2014 Pythian Confidential
11,400Pythian currently manages more than 11,400 systems.
400+Pythian currently employs more than 400 people in 200 cities in 35 countries
1997Pythian was founded in 1997
Global Leader In IT Transformation And Operational Excellence
Unparalleled Expertise• Top 5% in databases, applications, infrastructure, Big Data, Cloud, Data
Science, and DevOps
Unmatched Certifications• 9 Oracle ACEs, 4 Oracle ACE Directors, 1 Oracle ACE Associate• 6 Microsoft MVPs, 1 Microsoft Certified Master• 5 Google Platform Qualified Developers• 1 Cloudera Champion of Big Data• 1 Mongo DB Certified DBA Associate Level• 1 DataStax Certified Partner, 1 MVP
Broad Technical Experience• Oracle, Microsoft, MySQL, Oracle EBS, Hadoop, Cassandra, MongoDB,
virtualization, configuration management, monitoring, trending, and more.
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Agenda• Overview of the Upgrade Process• Performance Issues Post Upgrade• Using AWR• Best Practices for optimal performance• Preferences
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Typical Upgrade Process• Install 12c Oracle Home• Install example CD• Apply latest PSU + recommended patches• Upgrade DB to 12c using CLI or DBUA• Complete post upgrade steps
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Basic checklist • Make sure your init.ora params as per recommendations• bde_chk_cbo.sql - EBS initialization parameters - Healthcheck
(Doc ID 174605.1)
• Make sure all required patches are applied• In addition to the Interoperability notes, apply patches from
below note• Things to Consider to Avoid Poor Performance or Wrong
Results on 12.1.0.2 (Doc ID 2034610.1)
• EBS 11i customer make sure to set optimizer_adaptive_features=off ( missing in MOS note)
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Basic Checklist ( Contd…)• Avoid using memory_target (AMM), as its not compatible
with hugepages• Use sga_target ( ASMM) with fixed db_cache_size,
shared_pool_size etc to avoid excessive resize operations• This will ensure that buffer cache or shared pool area
don’t get resized below the db_cache_size and shared_pool_size parameters
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Performance Issues Post DB Upgrade• Very common issues reported to DBA post upgrade• Long running report• A particular form responding slow• OA Framework page just spinning
• Most of these issues are causing by Oracle picking up bad execution plan for a particular SQL• AWR is best tool to solve this problem
April 2-6, 2017 in Las Vegas, NV USA #C17LV
AWR Architecture
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Using AWR• Increase AWR retention period from default 8 days to at
least 45 days• Decrease AWR snapshot interval to 15mins from default
60mins• This will ensure that we have at least one month end
closing activity recorded in AWR at more granular level
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Identify the bad SQL• If the issue is in progress, then identify the offending SQL
using EM or from backend old fashioned way of tracing a session• If the issue happened in the past, then try to run an
AWR/ASH report for that time frame and identity the SQL
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Once SQL_ID is identified• Follow Maris Elsin’s approach to analyze the plan and
create baseline using good plan from AWR
Get the SQL from github - https://github.com/MarisElsins/TOOLS/tree/master/SQL/AWR
April 2-6, 2017 in Las Vegas, NV USA #C17LV
SQL Plan Baseline from AWR
https://www.slideshare.net/mariselsins/mining-awr-v2-trend-analysis
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Best practices• Preserve Good execution plans using custom job
scheduled via dbms_scheduler, As not all good plans are captured by AWR. Refer https://www.slideshare.net/mariselsins/mining-awr-v2-trend-analysis
• Gather database statistics using Oracle E-Business Suite built-in program “Gather Schema Statistics”• Use estimate percent Zero• Lock stats on GT tables (FND_EXCLUDE_TABLE_STATS)
• Schedule Separate Workflow Background Process job with Timeout and Stuck option, just once a day
April 2-6, 2017 in Las Vegas, NV USA #C17LV
References• Interoperability Notes Oracle EBS 12.2 with Oracle Database 12c Release 1
(Doc ID 1926201.1)• Interoperability Notes EBS 12.0 or 12.1 with RDBMS 12cR1 (Doc ID
1524398.1)• Interoperability Notes EBS 11i with RDBMS 12cR1 (Doc ID 1524399.1)• Database Patches Required by Oracle E-Business Suite on Oracle Engineered
Systems: Exadata Database Machines and SuperClusters (Doc ID 1392527.1)• Database Initialization Parameters for Oracle E-Business Suite Release 12
(Doc ID 396009.1)• Database Initialization Parameters for Oracle Applications Release 11i (Doc
ID 216205.1)• bde_chk_cbo.sql - EBS initialization parameters - Healthcheck (Doc ID
174605.1)
Q&A
Please Complete Your Session Evaluation Evaluate this session in your COLLABORATE app. Pull up this session and tap "Session Evaluation" to complete the survey.
Session ID: 10306