SlideShare une entreprise Scribd logo
1  sur  44
Session ID:
Prepared by:
Technical Modifications to
Compress Period End Close
R12.1.3
Reduce Create Accounting Program
impact after upgrading to R12
Subledger Accounting from 11i
10162
Joshua Johnson
Sr. Oracle DBA
Simmons Prepared Foods Inc.
@jj_dba
Abstract
Tuning systems to alleviate decreased month end close
performance after upgrading to R12 Subledger Accounting from
11i. Reducing Create Accounting completion time by 97% and
reducing archive log generation by 58%.
In R12, the Create Accounting Program, GMFAACCP,
would stall our production EBS. We were able to decrease the
Create Accounting Program for OPM Production Subledger run-
time from an original 22 hours to an average of 30 minutes. This
was accomplished by modifying: huge pages, SGA, DBWr
processes, subledger processor defaults and indexes. These
actions compressed our period close process, saving an entire
day.
2
Technical Modifications to Compress
Period End Close R12.1.3
Who are we?
Presenters
■ Joshua Johnson
▪ Sr. Oracle Apps DBA
— Simmons Prepared Foods, Inc.
■ Ned French
▪ Senior Manager
— Centroid
4
5
• Owned/Managed by Founding Partners Since 1997
• Centroid is one of Oracle’s Top 25 Strategic Partners/Platinum Partner Status
• National technology firm focused on Consulting, Managed Services, Cloud
Services and Resell of Oracle products that span the entire enterprise.
• From Applications to Technology to Infrastructure; Centroid Data Center 100%
Oracle Products: Apps, Tech, HW
• AWARDED: 2014, 2015 Oracle Specialized Partner of the
Year – North America; Engineered Systems
Booth #815
Agenda
■ Brief background on our Oracle EBS upgrade from 11i to
R12
▪ Including hardware outline
■ OEM 12c Implementation
■ Server OS Level Modifications – Oracle Enterprise Linux
▪ Huge Pages, Memory Limits
■ Oracle Database Modifications
▪ Asynchronous I/O, SGA, DBWr Processes, Indexes
■ Concurrent Program Modifications
▪ Subledger processor defaults
■ Tuning Results – Test
▪ OWC Session
■ Tuning Results – Production
■ Current State
6
Our Oracle EBS Upgrade From 11i to R12
Upgrade from version 11.5.10 to 12.1.3
11.5.10 Upgrade to R12.1.3
▪ Database Server
— OL 5.5 64-bit
— 8 Older non-HyperThreading
CPUs
— 128 GB memory
8
■ Upgrade completed using legacy Dell blade servers
▪ Application Server
— OL 5.5 32-bit
— 8 Older non-
HyperThreading CPUs
— 32 GB memory
11.5.10 Upgrade to R12.1.3
Today marks 1010 days since Go Live!
9
Task Date Time
Upgrade Start 03.JUL.2013 18:00
11i Pre-upgrade Functional Setup Complete 03.JUL.2013 23:59
12.1.1 Patching Complete 04.JUL.2013 22:00
12.1.3 Patching Complete 05.JUL.2013 04:00
Post Upgrade Patching Complete 05.JUL.2013 06:00
Business Owner Testing Complete 06.JUL.2013 17:00
All EBS User Accounts Reactivated 07.JUL.2013 17:00
OEM 12c Implementation
Central repository for monitoring Oracle database
instances
Painting a Rather Bleak Picture - DB Console
11
Create Accounting 06-JULY-2013
Painting a Rather Bleak Picture - DB Console
12
What happened here?
OEM 12c Implementation
■ Dbconsole
▪ Not meant to monitor a
complex enterprise level
production environment.
▪ Some servers are not
currently configured to
monitor and log errors.
▪ Unable to create the in-
depth alerts necessary to
proactively monitor an
enterprise system.
■ OEM 12c
▪ Decreased time spent in
reactionary processes
▪ Increased Oracle
availability
▪ Improved system health
and reporting
▪ Increased efficiency in
generating reports for
Oracle during an SR
▪ Increased ability to provide
workload reports for our
Application Developers and
management staff.
13
Server OS Level Modifications –
Oracle Enterprise Linux
• HugePages
• Memory Limits
Server OS Level Modifications – Oracle
Enterprise Linux
■ Provide reserved, non-
swappable memory space for
our SGA
▪ 44 GB HugePages
▪ 42 GB SGA Target
■ Based on recommendations
from the Oracle
nmr.hugepages script.
HugePages
■ Hard and soft memlock set
to match 44 GB huge
pages
▪ 46,143,488 kilobytes
Memory Limits
15
$ grep -i huge /proc/meminfo
HugePages_Total: 22531
HugePages_Free: 20689
HugePages_Rsvd: 19663
HugePages_Surp: 0
Hugepagesize: 2048 kB
http://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_hugepages.html
/etc/security/limits.conf
vm.nr_hugepages = 22531
/etc/sysctl.conf
soft memlock 46143488
hard memlock 46143488
Server OS Level Modifications – Oracle
Enterprise Linux
16http://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_hugepages.html
Oracle Database Modifications
• Asynchronous I/O • Temporary Datafiles
• Indexes • DBWr Processes
• Redolog Groups • SGA
Oracle Database Modifications
■ 29-JUL-2013
▪ SQL> CREATE INDEX
AP.AP_INVOICE_DISTRIBUTIONS_CT
ON
AP.AP_INVOICE_DISTRIBUTIONS_ALL
(invoice_id, awt_related_id) COMPUTE
STATISTICS;
▪ SQL> CREATE UNIQUE INDEX
XLA.XLA_AE_LINES_CT ON
XLA_AE_LINES(AE_HEADER_ID,
AE_LINE_NUM, APPLICATION_ID,
BUSINESS_CLASS_CODE) COMPUTE
STATISTICS;
Indexes Added
▪ SQL> CREATE INDEX
XLA.XLA_AE_LINES_GT_CT
ON XLA.XLA_AE_LINES_GT
(LEDGER_ID,GAIN_OR_LOSS
_FLAG,
CALCULATE_ACCTD_AMTS_F
LAG, BALANCE_TYPE_CODE)
COMPUTE STATISTICS;
18
Oracle Database Modifications:
Temporary Files and Redo Logs Migrated to SSD
■ Implemented 5 redo log
groups
▪ 1 member each
— Increased redo log datafile size
from 512 MB to 5 GB
— Allow for future growth while
reducing overhead from log
switching and checkpoints
■ An XLA Create Accounting run
during peak business hours
would generate up to 8 GB of
logs per minute
Redo Log Groups
■ Implemented 8 datafiles
▪ 8 GB each
■ SSD volume separated
from primary Oracle
database volume
▪ Decreased read/write
overhead on the
production database
storage volume
▪ Separate set of disks
Temporary Datafiles
19
Oracle Database Modifications
■ Asynchronous I/O enabled
within the database and the
OS / SAN file system
▪ Necessary for utilizing
multiple database writers
■ Asynchronous mismatch
between server and database
is detrimental to system
performance
Asynchronous I/O Setting
■ Increased database writers
from 1 to 4
▪ Allowed us to distribute the
increased workload across
4 processors
▪ init.ora parameter
DBWr Processes
20
db_writer_processes=4
Oracle Database Modifications
■ SGA increased slightly from
38 GB to 42 GB
▪ SGA and PGA configured to
fit within the non-swappable
hugepages.
SGA Settings
21
pga_aggregate_target=2g
sga_target=42g
Asynchronous I/O Mismatched
22
Subledger Pre-processor followed by Create Accounting
Program for OPM Production Subledger
Asynchronous I/O Mismatched:
Database and Server OS
23
Asynchronous I/O Matched:
Database and Server OS
24
■ Multiple Create Accounting Executions 23-DEC-2014
Concurrent Program Modifications
• Subledger Processor Defaults
• Program Incompatibilities
Concurrent Program Modifications
■ Parallel Processing
▪ 3 Processes
— 9000 unit size
■ This allowed us to evenly
distribute the transaction work
load
▪ Daily transactions generally
fall between 22 and 26
thousand
Subledger Processor Defaults
■ Subledger Create Accounting
program made incompatible
with itself
▪ This prevented multiple
sessions from running
simultaneously
— Forced queuing
Program Incompatibilities
26
SQL> show parameter parallel_degree_limit;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
parallel_degree_limit string CPU
Concurrent Program Modifications -
Subledger Processor Defaults
27
■ Navigate to Accounting Setups
General Ledger Super User > Setup > Financials >
Accounting Setup Manager > Accounting Setups
■ Navigate to Processor Defaults
Accounting Setups > Accounting Options:
Corporate Set of Books > Subledger Applications
> Update System Options: Process Manufacturing
Financials
Concurrent Program Modifications –
Program Incompatibilities
28
■ Incompatibilities Set
▪ GMFAACCP > Process Manufacturing Financials
Concurrent Program Modifications –
Program Incompatibilities
29
Incompatible Programs
Concurrent
Program Application Name Program Name
GMFAACCP
Process Manufacturing
Financials Create Accounting
CSTCRACC Cost Subledger Accounting
Subledger Period Close Exceptions
Report
CSTCRACCRCV
Receiving Subledger
Accounting
Subledger Period Close Exceptions
Report
Tuning Results – Test
• Test Hardware
• Cisco Blade – 8 CPUs & 384 GB memory
Tuning Results – Test: OWC Session
Cleanup Script Provided By Oracle Support: 23-OCT-2013
Based on these results, it looks very promising to run the OPM Create Accounting
Process as follows:
1. Complete OPM Pre-Processor
2. Complete Create Accounting in draft
3. Run Cleanup Scripts prior to next draft Create Accounting run
31
# of
Transactions
Processes Unit
Size
OPM Pre-Proc
Arc
Generated
Mode CA Archive
Generated
Cleanup
Script Run?
Cleanup
Archive
Generated
CA
Completion
Time (secs)
25883 4 4000 512 MB Draft 2 + GB No N/A 393
25883 4 6000 512 MB Draft 2 + GB No N/A 204
25883 3 9000 512 MB Draft 2 GB Yes 52 GB 190
25883 3 9000 512 MB Draft 2 GB No N/A 188
25883 3 9000 512 MB Final 1.5 GB No N/A 240
23260 3 9000 512 MB Draft 1.5 GB No N/A 188
23260 3 9000 512 MB Draft 1.5 GB Yes 11 GB 155
23260 3 9000 512 MB Draft > 1.5 GB No N/A 172
Tuning Results – Test: OWC Session 23-OCT-2013
■ Test data set
▪ 25,883 records
■ Major changes today
▪ XML Publisher update
▪ Cleanup script run prior to subsequent CA run
▪ Processes set to 3 with a unit size of 9000
▪ Scalable Flag created
■ Results – Running CA in draft mode
▪ 52% decrease in archive log generation
— Generating 31 GB of archive logs
▪ Reduced run-time to 25 minutes
32
*Note – Previously mentioned indexes were
already running in production prior to this test.
Tuning Results – Test: 24-OCT-2013
■ Test data set
▪ 365,128 records (nearly identical to our 22hr close in July)
■ Major changes today
▪ Hugepages increased to 73728 = 144 GB total
▪ SGA increased to 96 GB
▪ Increased unit size to 10,000
■ Results – Running CA in draft mode
▪ 52% decrease in archive log generation
— Generating 31 GB of archive logs
▪ Reduced run-time, completing in only 25 minutes
33
Tuning Results – Production
• Production Hardware
• Dell Blade – 8 CPUs & 128 GB memory
Tuning Results – Production: 21-NOV-2013
■ Hard & soft memlock set to
46,143,488
▪ This matches the 44 GB
hugepages
■ SGA set to 42 GB
■ Asynchronous I/O enabled
▪ Database & OS / SAN file
system
■ DBWR processes increased
from 1 to 4
▪ Utilize asynchronous I/O
Changes Implemented
■ SSD drives utilized for
temporary datafiles and redo
logs
■ Redo log changes
▪ Log size increased to 5 GB
▪ Implemented 5 redo log
groups
■ Concurrent Program
▪ Processes set to 4 with a
unit size of 4000
35
Tuning Results – Production: 21-NOV-2013
■ Results
▪ Create Accounting – Production completed in 21 minutes
▪ Generated less than 2 GB of archive logs
36
$ grep -i huge /proc/meminfo
HugePages_Total: 22531
HugePages_Free: 2187
HugePages_Rsvd: 1161
HugePages_Surp: 0
Hugepagesize: 2048 kB
Tuning Results – Production: FEB-2014
37
18-FEB-2014
24-FEB-2014
25-FEB-2014
Production – Current State
• New Production Hardware
• Cisco Blade – 16 CPUs & 384 GB memory
Multiple Create Accounting Executions:
24-NOV-2014
39
Subledger Pre-Processor Program
40
Concurrent Program Timings: 26-JAN-2015
to 02-FEB-2015
■ CSTCRACCRCV - Duration Last Run 2:02
▪ 110 Successfully Completed - Average Run Time 147.39
sec
■ GMFAACCP -- Duration Last End of Month Run 9:27
▪ 502 Successfully Completed - Average Run Time 113.67
sec
■ CSTCRACC - Duration Last Run 57 sec
▪ 204 Successfully Completed - Average Run Time 78.38 sec
41
References
■ Oracle Database Administrator's Reference 11g Release 2 for Linux
and UNIX-Based Operating Systems
▪ E10839-23
■ Oracle Database Performance Tuning Guide 11g Release 2
▪ E41573-03
■ Oracle Linux Administrator's Solutions Guide for Release 6
▪ E37355-41 - January 2015
■ Oracle Subledger Accounting Implementation Guide Release 12.1
▪ E13628-04
■ Oracle Database PL/SQL Packages and Types Reference 11g Release 2
▪ E40758-03
■ Oracle Financials Implementation Guide Release 12.1
▪ E13425-05
42
Questions?
43
Thank You
44
You may complete the session evaluation either
on paper or online via the mobile app
Please complete the session evaluation
We appreciate your feedback and insight
Session ID: 10162

Contenu connexe

Tendances

Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Alexey Kovyazin
 
Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Alexey Kovyazin
 
Oracle database 12.2 new features
Oracle database 12.2 new featuresOracle database 12.2 new features
Oracle database 12.2 new featuresAlfredo Krieg
 
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANAS/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANALinh Nguyen
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Bashapasalapudi123
 
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...Maris Elsins
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLSeveralnines
 
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringSAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringLinh Nguyen
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityLudovico Caldara
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Life with big Firebird databases
Life with big Firebird databasesLife with big Firebird databases
Life with big Firebird databasesAlexey Kovyazin
 
Dataguard implementation
Dataguard implementationDataguard implementation
Dataguard implementationRajshekar Patil
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityCarlos Sierra
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newNassyam Basha
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)Kristofferson A
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
You most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog databaseYou most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog databaseYury Velikanov
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 

Tendances (20)

Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5
 
Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5Firebird migration: from Firebird 1.5 to Firebird 2.5
Firebird migration: from Firebird 1.5 to Firebird 2.5
 
Oracle database 12.2 new features
Oracle database 12.2 new featuresOracle database 12.2 new features
Oracle database 12.2 new features
 
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANAS/4HANA Installation Quickstart Guide and Monitoring S/4HANA
S/4HANA Installation Quickstart Guide and Monitoring S/4HANA
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
 
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...
C15LV: Ins and Outs of Concurrent Processing Configuration in Oracle e-Busine...
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringSAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Life with big Firebird databases
Life with big Firebird databasesLife with big Firebird databases
Life with big Firebird databases
 
Dataguard implementation
Dataguard implementationDataguard implementation
Dataguard implementation
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats new
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
RMOUG2016 - Resource Management (the critical piece of the consolidation puzzle)
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Cloud DWH deep dive
Cloud DWH deep diveCloud DWH deep dive
Cloud DWH deep dive
 
You most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog databaseYou most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog database
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 

Similaire à Technical Modifications to Compress Period End Close - R12.1.3

MySQL 5.6 Replication Webinar
MySQL 5.6 Replication WebinarMySQL 5.6 Replication Webinar
MySQL 5.6 Replication WebinarMark Swarbrick
 
Evolution of DBA in the Cloud Era
 Evolution of DBA in the Cloud Era Evolution of DBA in the Cloud Era
Evolution of DBA in the Cloud EraMydbops
 
IBM Analytics Accelerator Trends & Directions Namk Hrle
IBM Analytics Accelerator  Trends & Directions Namk Hrle IBM Analytics Accelerator  Trends & Directions Namk Hrle
IBM Analytics Accelerator Trends & Directions Namk Hrle Surekha Parekh
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle Surekha Parekh
 
Collaborate14 GNTX Overview
Collaborate14 GNTX OverviewCollaborate14 GNTX Overview
Collaborate14 GNTX OverviewCliff Burgess
 
Yarn optimization (Real life use case)
Yarn optimization (Real life use case)Yarn optimization (Real life use case)
Yarn optimization (Real life use case)Jean-Louis Quéguiner
 
Retour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenantRetour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenantSwiss Data Forum Swiss Data Forum
 
Configuring Sage 500 for Performance
Configuring Sage 500 for PerformanceConfiguring Sage 500 for Performance
Configuring Sage 500 for PerformanceRKLeSolutions
 
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...Kaseya
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the fieldJoAnna Cheshire
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresJitendra Singh
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyAntonios Chatzipavlis
 
Parallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsParallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsMartin Packer
 
Active Data Guard @CERN on UKOUG 2012
Active Data Guard @CERN on UKOUG 2012Active Data Guard @CERN on UKOUG 2012
Active Data Guard @CERN on UKOUG 2012Marcin Blaszczyk
 
Tuning data warehouse
Tuning data warehouseTuning data warehouse
Tuning data warehouseSrinivasan R
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gMaris Elsins
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBMariaDB plc
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseSeveralnines
 
Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3LibbySchulze
 
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 20161049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016panagenda
 

Similaire à Technical Modifications to Compress Period End Close - R12.1.3 (20)

MySQL 5.6 Replication Webinar
MySQL 5.6 Replication WebinarMySQL 5.6 Replication Webinar
MySQL 5.6 Replication Webinar
 
Evolution of DBA in the Cloud Era
 Evolution of DBA in the Cloud Era Evolution of DBA in the Cloud Era
Evolution of DBA in the Cloud Era
 
IBM Analytics Accelerator Trends & Directions Namk Hrle
IBM Analytics Accelerator  Trends & Directions Namk Hrle IBM Analytics Accelerator  Trends & Directions Namk Hrle
IBM Analytics Accelerator Trends & Directions Namk Hrle
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
 
Collaborate14 GNTX Overview
Collaborate14 GNTX OverviewCollaborate14 GNTX Overview
Collaborate14 GNTX Overview
 
Yarn optimization (Real life use case)
Yarn optimization (Real life use case)Yarn optimization (Real life use case)
Yarn optimization (Real life use case)
 
Retour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenantRetour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenant
 
Configuring Sage 500 for Performance
Configuring Sage 500 for PerformanceConfiguring Sage 500 for Performance
Configuring Sage 500 for Performance
 
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
Pre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
 
Parallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsParallel Batch Performance Considerations
Parallel Batch Performance Considerations
 
Active Data Guard @CERN on UKOUG 2012
Active Data Guard @CERN on UKOUG 2012Active Data Guard @CERN on UKOUG 2012
Active Data Guard @CERN on UKOUG 2012
 
Tuning data warehouse
Tuning data warehouseTuning data warehouse
Tuning data warehouse
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDB
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
 
Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3Scaling Monitoring At Databricks From Prometheus to M3
Scaling Monitoring At Databricks From Prometheus to M3
 
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 20161049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
 

Dernier

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Technical Modifications to Compress Period End Close - R12.1.3

  • 1. Session ID: Prepared by: Technical Modifications to Compress Period End Close R12.1.3 Reduce Create Accounting Program impact after upgrading to R12 Subledger Accounting from 11i 10162 Joshua Johnson Sr. Oracle DBA Simmons Prepared Foods Inc. @jj_dba
  • 2. Abstract Tuning systems to alleviate decreased month end close performance after upgrading to R12 Subledger Accounting from 11i. Reducing Create Accounting completion time by 97% and reducing archive log generation by 58%. In R12, the Create Accounting Program, GMFAACCP, would stall our production EBS. We were able to decrease the Create Accounting Program for OPM Production Subledger run- time from an original 22 hours to an average of 30 minutes. This was accomplished by modifying: huge pages, SGA, DBWr processes, subledger processor defaults and indexes. These actions compressed our period close process, saving an entire day. 2
  • 3. Technical Modifications to Compress Period End Close R12.1.3 Who are we?
  • 4. Presenters ■ Joshua Johnson ▪ Sr. Oracle Apps DBA — Simmons Prepared Foods, Inc. ■ Ned French ▪ Senior Manager — Centroid 4
  • 5. 5 • Owned/Managed by Founding Partners Since 1997 • Centroid is one of Oracle’s Top 25 Strategic Partners/Platinum Partner Status • National technology firm focused on Consulting, Managed Services, Cloud Services and Resell of Oracle products that span the entire enterprise. • From Applications to Technology to Infrastructure; Centroid Data Center 100% Oracle Products: Apps, Tech, HW • AWARDED: 2014, 2015 Oracle Specialized Partner of the Year – North America; Engineered Systems Booth #815
  • 6. Agenda ■ Brief background on our Oracle EBS upgrade from 11i to R12 ▪ Including hardware outline ■ OEM 12c Implementation ■ Server OS Level Modifications – Oracle Enterprise Linux ▪ Huge Pages, Memory Limits ■ Oracle Database Modifications ▪ Asynchronous I/O, SGA, DBWr Processes, Indexes ■ Concurrent Program Modifications ▪ Subledger processor defaults ■ Tuning Results – Test ▪ OWC Session ■ Tuning Results – Production ■ Current State 6
  • 7. Our Oracle EBS Upgrade From 11i to R12 Upgrade from version 11.5.10 to 12.1.3
  • 8. 11.5.10 Upgrade to R12.1.3 ▪ Database Server — OL 5.5 64-bit — 8 Older non-HyperThreading CPUs — 128 GB memory 8 ■ Upgrade completed using legacy Dell blade servers ▪ Application Server — OL 5.5 32-bit — 8 Older non- HyperThreading CPUs — 32 GB memory
  • 9. 11.5.10 Upgrade to R12.1.3 Today marks 1010 days since Go Live! 9 Task Date Time Upgrade Start 03.JUL.2013 18:00 11i Pre-upgrade Functional Setup Complete 03.JUL.2013 23:59 12.1.1 Patching Complete 04.JUL.2013 22:00 12.1.3 Patching Complete 05.JUL.2013 04:00 Post Upgrade Patching Complete 05.JUL.2013 06:00 Business Owner Testing Complete 06.JUL.2013 17:00 All EBS User Accounts Reactivated 07.JUL.2013 17:00
  • 10. OEM 12c Implementation Central repository for monitoring Oracle database instances
  • 11. Painting a Rather Bleak Picture - DB Console 11 Create Accounting 06-JULY-2013
  • 12. Painting a Rather Bleak Picture - DB Console 12 What happened here?
  • 13. OEM 12c Implementation ■ Dbconsole ▪ Not meant to monitor a complex enterprise level production environment. ▪ Some servers are not currently configured to monitor and log errors. ▪ Unable to create the in- depth alerts necessary to proactively monitor an enterprise system. ■ OEM 12c ▪ Decreased time spent in reactionary processes ▪ Increased Oracle availability ▪ Improved system health and reporting ▪ Increased efficiency in generating reports for Oracle during an SR ▪ Increased ability to provide workload reports for our Application Developers and management staff. 13
  • 14. Server OS Level Modifications – Oracle Enterprise Linux • HugePages • Memory Limits
  • 15. Server OS Level Modifications – Oracle Enterprise Linux ■ Provide reserved, non- swappable memory space for our SGA ▪ 44 GB HugePages ▪ 42 GB SGA Target ■ Based on recommendations from the Oracle nmr.hugepages script. HugePages ■ Hard and soft memlock set to match 44 GB huge pages ▪ 46,143,488 kilobytes Memory Limits 15 $ grep -i huge /proc/meminfo HugePages_Total: 22531 HugePages_Free: 20689 HugePages_Rsvd: 19663 HugePages_Surp: 0 Hugepagesize: 2048 kB http://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_hugepages.html /etc/security/limits.conf vm.nr_hugepages = 22531 /etc/sysctl.conf soft memlock 46143488 hard memlock 46143488
  • 16. Server OS Level Modifications – Oracle Enterprise Linux 16http://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_hugepages.html
  • 17. Oracle Database Modifications • Asynchronous I/O • Temporary Datafiles • Indexes • DBWr Processes • Redolog Groups • SGA
  • 18. Oracle Database Modifications ■ 29-JUL-2013 ▪ SQL> CREATE INDEX AP.AP_INVOICE_DISTRIBUTIONS_CT ON AP.AP_INVOICE_DISTRIBUTIONS_ALL (invoice_id, awt_related_id) COMPUTE STATISTICS; ▪ SQL> CREATE UNIQUE INDEX XLA.XLA_AE_LINES_CT ON XLA_AE_LINES(AE_HEADER_ID, AE_LINE_NUM, APPLICATION_ID, BUSINESS_CLASS_CODE) COMPUTE STATISTICS; Indexes Added ▪ SQL> CREATE INDEX XLA.XLA_AE_LINES_GT_CT ON XLA.XLA_AE_LINES_GT (LEDGER_ID,GAIN_OR_LOSS _FLAG, CALCULATE_ACCTD_AMTS_F LAG, BALANCE_TYPE_CODE) COMPUTE STATISTICS; 18
  • 19. Oracle Database Modifications: Temporary Files and Redo Logs Migrated to SSD ■ Implemented 5 redo log groups ▪ 1 member each — Increased redo log datafile size from 512 MB to 5 GB — Allow for future growth while reducing overhead from log switching and checkpoints ■ An XLA Create Accounting run during peak business hours would generate up to 8 GB of logs per minute Redo Log Groups ■ Implemented 8 datafiles ▪ 8 GB each ■ SSD volume separated from primary Oracle database volume ▪ Decreased read/write overhead on the production database storage volume ▪ Separate set of disks Temporary Datafiles 19
  • 20. Oracle Database Modifications ■ Asynchronous I/O enabled within the database and the OS / SAN file system ▪ Necessary for utilizing multiple database writers ■ Asynchronous mismatch between server and database is detrimental to system performance Asynchronous I/O Setting ■ Increased database writers from 1 to 4 ▪ Allowed us to distribute the increased workload across 4 processors ▪ init.ora parameter DBWr Processes 20 db_writer_processes=4
  • 21. Oracle Database Modifications ■ SGA increased slightly from 38 GB to 42 GB ▪ SGA and PGA configured to fit within the non-swappable hugepages. SGA Settings 21 pga_aggregate_target=2g sga_target=42g
  • 22. Asynchronous I/O Mismatched 22 Subledger Pre-processor followed by Create Accounting Program for OPM Production Subledger
  • 24. Asynchronous I/O Matched: Database and Server OS 24 ■ Multiple Create Accounting Executions 23-DEC-2014
  • 25. Concurrent Program Modifications • Subledger Processor Defaults • Program Incompatibilities
  • 26. Concurrent Program Modifications ■ Parallel Processing ▪ 3 Processes — 9000 unit size ■ This allowed us to evenly distribute the transaction work load ▪ Daily transactions generally fall between 22 and 26 thousand Subledger Processor Defaults ■ Subledger Create Accounting program made incompatible with itself ▪ This prevented multiple sessions from running simultaneously — Forced queuing Program Incompatibilities 26 SQL> show parameter parallel_degree_limit; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ parallel_degree_limit string CPU
  • 27. Concurrent Program Modifications - Subledger Processor Defaults 27 ■ Navigate to Accounting Setups General Ledger Super User > Setup > Financials > Accounting Setup Manager > Accounting Setups ■ Navigate to Processor Defaults Accounting Setups > Accounting Options: Corporate Set of Books > Subledger Applications > Update System Options: Process Manufacturing Financials
  • 28. Concurrent Program Modifications – Program Incompatibilities 28 ■ Incompatibilities Set ▪ GMFAACCP > Process Manufacturing Financials
  • 29. Concurrent Program Modifications – Program Incompatibilities 29 Incompatible Programs Concurrent Program Application Name Program Name GMFAACCP Process Manufacturing Financials Create Accounting CSTCRACC Cost Subledger Accounting Subledger Period Close Exceptions Report CSTCRACCRCV Receiving Subledger Accounting Subledger Period Close Exceptions Report
  • 30. Tuning Results – Test • Test Hardware • Cisco Blade – 8 CPUs & 384 GB memory
  • 31. Tuning Results – Test: OWC Session Cleanup Script Provided By Oracle Support: 23-OCT-2013 Based on these results, it looks very promising to run the OPM Create Accounting Process as follows: 1. Complete OPM Pre-Processor 2. Complete Create Accounting in draft 3. Run Cleanup Scripts prior to next draft Create Accounting run 31 # of Transactions Processes Unit Size OPM Pre-Proc Arc Generated Mode CA Archive Generated Cleanup Script Run? Cleanup Archive Generated CA Completion Time (secs) 25883 4 4000 512 MB Draft 2 + GB No N/A 393 25883 4 6000 512 MB Draft 2 + GB No N/A 204 25883 3 9000 512 MB Draft 2 GB Yes 52 GB 190 25883 3 9000 512 MB Draft 2 GB No N/A 188 25883 3 9000 512 MB Final 1.5 GB No N/A 240 23260 3 9000 512 MB Draft 1.5 GB No N/A 188 23260 3 9000 512 MB Draft 1.5 GB Yes 11 GB 155 23260 3 9000 512 MB Draft > 1.5 GB No N/A 172
  • 32. Tuning Results – Test: OWC Session 23-OCT-2013 ■ Test data set ▪ 25,883 records ■ Major changes today ▪ XML Publisher update ▪ Cleanup script run prior to subsequent CA run ▪ Processes set to 3 with a unit size of 9000 ▪ Scalable Flag created ■ Results – Running CA in draft mode ▪ 52% decrease in archive log generation — Generating 31 GB of archive logs ▪ Reduced run-time to 25 minutes 32 *Note – Previously mentioned indexes were already running in production prior to this test.
  • 33. Tuning Results – Test: 24-OCT-2013 ■ Test data set ▪ 365,128 records (nearly identical to our 22hr close in July) ■ Major changes today ▪ Hugepages increased to 73728 = 144 GB total ▪ SGA increased to 96 GB ▪ Increased unit size to 10,000 ■ Results – Running CA in draft mode ▪ 52% decrease in archive log generation — Generating 31 GB of archive logs ▪ Reduced run-time, completing in only 25 minutes 33
  • 34. Tuning Results – Production • Production Hardware • Dell Blade – 8 CPUs & 128 GB memory
  • 35. Tuning Results – Production: 21-NOV-2013 ■ Hard & soft memlock set to 46,143,488 ▪ This matches the 44 GB hugepages ■ SGA set to 42 GB ■ Asynchronous I/O enabled ▪ Database & OS / SAN file system ■ DBWR processes increased from 1 to 4 ▪ Utilize asynchronous I/O Changes Implemented ■ SSD drives utilized for temporary datafiles and redo logs ■ Redo log changes ▪ Log size increased to 5 GB ▪ Implemented 5 redo log groups ■ Concurrent Program ▪ Processes set to 4 with a unit size of 4000 35
  • 36. Tuning Results – Production: 21-NOV-2013 ■ Results ▪ Create Accounting – Production completed in 21 minutes ▪ Generated less than 2 GB of archive logs 36 $ grep -i huge /proc/meminfo HugePages_Total: 22531 HugePages_Free: 2187 HugePages_Rsvd: 1161 HugePages_Surp: 0 Hugepagesize: 2048 kB
  • 37. Tuning Results – Production: FEB-2014 37 18-FEB-2014 24-FEB-2014 25-FEB-2014
  • 38. Production – Current State • New Production Hardware • Cisco Blade – 16 CPUs & 384 GB memory
  • 39. Multiple Create Accounting Executions: 24-NOV-2014 39
  • 41. Concurrent Program Timings: 26-JAN-2015 to 02-FEB-2015 ■ CSTCRACCRCV - Duration Last Run 2:02 ▪ 110 Successfully Completed - Average Run Time 147.39 sec ■ GMFAACCP -- Duration Last End of Month Run 9:27 ▪ 502 Successfully Completed - Average Run Time 113.67 sec ■ CSTCRACC - Duration Last Run 57 sec ▪ 204 Successfully Completed - Average Run Time 78.38 sec 41
  • 42. References ■ Oracle Database Administrator's Reference 11g Release 2 for Linux and UNIX-Based Operating Systems ▪ E10839-23 ■ Oracle Database Performance Tuning Guide 11g Release 2 ▪ E41573-03 ■ Oracle Linux Administrator's Solutions Guide for Release 6 ▪ E37355-41 - January 2015 ■ Oracle Subledger Accounting Implementation Guide Release 12.1 ▪ E13628-04 ■ Oracle Database PL/SQL Packages and Types Reference 11g Release 2 ▪ E40758-03 ■ Oracle Financials Implementation Guide Release 12.1 ▪ E13425-05 42
  • 44. Thank You 44 You may complete the session evaluation either on paper or online via the mobile app Please complete the session evaluation We appreciate your feedback and insight Session ID: 10162