View
22
Download
0
Category
Preview:
Citation preview
© Copyright 2014. Apps Associates LLC. 1
OBIEE Performance Tuning Tips
June 09, 2014
Bharath Terala Sr. Principal Consultant Apps Associates LLC
© Copyright 2014. Apps Associates LLC. 2
Agenda
• About the Presenter
• About Apps Associates LLC
• OBIEE Architecture
• Key Performance Drivers
• Capacity Planning – BI
• Engineered Systems vs. Traditional Hardware
• Stay on Current Version – Why?
• OBI Diagnostic Tools
• OBI Performance Tuning Parameters
• Real World Tuning Examples
© Copyright 2014. Apps Associates LLC. 3
About the Presenter
• Bharath Terala
– Senior Principal Consultant DBA at Apps Associates LLC
– 8 Years of Experience as an Oracle Apps/Business Intelligence /EPM/Fusion Middleware DBA
– Oracle Certified Professional
© Copyright 2014. Apps Associates LLC. 4
Performance. Growth. Excellence.
Global provider of business and technology consulting services
Founded in 2002 and achieved consistent growth – 650+ employees
– Boston, New York, Chicago, Atlanta
– Germany, Netherlands, India, UAE
Recognized as one of the fastest growing private US companies by
Inc. 500|5000 for four consecutive years
Strategic Partnerships and Certifications – Oracle Platinum Partner
– Oracle Specializations (EBS, BI, SOA, EM12c & Database)
– AWS Advanced Consulting Partner
– CMMI Level 3 Appraised
– SSAE 16/SAS70 Type II
© Copyright 2014. Apps Associates LLC. 5
OBIEE System Logical Architecture
© Copyright 2014. Apps Associates LLC. 6
Key Performance Drivers
• Hardware Capacity
• Technical Platforms
– Relational Databases
– Java Application Servers
– Web Servers
– Client / Server Operating Systems
• Business Application Design
– Structure / Size,
– Designing Reports
– Dashboards
© Copyright 2014. Apps Associates LLC. 7
Key Performance Drivers
• Business Process Usage
– User Activity
– Rate of User Activity
– User Concurrency
© Copyright 2014. Apps Associates LLC. 8
Capacity Planning BI
• One of the key performance driver is Hardware
– Categorize your implementation as Small, Medium, Large
– Plan your Network Requirements
– Plan if Clustering or Load Balancing is required
– Logical Partitioning, Virtualization & HW resources partitioning
• Key BI Metrics to monitor
– Average Query Time (seconds)
– Active Sessions
– Requests (per minute)
– Presentation Server Requests (per second)
© Copyright 2014. Apps Associates LLC. 9
Capacity Planning BI
– Server Queries (per second)
– Errors Reported
• Make use of BI Sizing Spreadsheet
– MOS Doc ID 1323646.1
• Finalize your Capacity Plan
© Copyright 2014. Apps Associates LLC. 10
Engineered System vs. Traditional HW
© Copyright 2014. Apps Associates LLC. 11
Engineered System
Why Exalytics?
• New Challenges
– Need to analyze/aggregate/display huge volume of data with extreme fast response time
• Solutions by Exalytics
– High computing capacity: more CPUs/Memory
– In-Memory Analytics: DW/Aggregates/Tmp in memory for extremely high performance
– Fast inter-connectivity with InfiniBand
– Fully Optimized: Analytics software is optimized to fully utilize the highly performing hardware
© Copyright 2014. Apps Associates LLC. 12
Stay on Current Version
• Variety of Bugs fixed for each BI component
– BI Installer
– BI Publisher
– EPM Components
– BI Server
– BI Presentation Server
– Mapviewer, client installers, Real Time Decisions
• Most often Oracle support suggest to apply latest version and test your issue
• Always review Product Information Center for latest BI Topics
– MOS Note “Oracle Business Intelligence Enterprise Edition (OBIEE) Product Information Center (PIC) (Doc ID 1267009.1)”
© Copyright 2014. Apps Associates LLC. 13
OBIEE Diagnostic Tools
• Weblogic Console
– JVM heap usage
– ActiveThreadsCount
– Queue Length
– JDBC connections
– # of analytics sessions
– # of bisecurity sessions
– Thread dump
• OBIPS perfmon: active sessions/thread pool sizes… etc.
– http://<hostname>:<port>/analytics/saw.dll?Perfmon
© Copyright 2014. Apps Associates LLC. 14
OBIEE Diagnostic Tools Contd.
• Jconsole: Threads
– Heap Usage & GC usage
– Thread dumps to check number of active threads
• ttStatus: check active connections
• OBIS query logging to check slow queries
• BI Admintool: Active Sessions
• EM: to monitor OBIEE domain
– http://<server>:7001/em
© Copyright 2014. Apps Associates LLC. 15
OBIEE Performance Tuning Parameters
• Weblogic Server
– JVM Heap size
– Analytics app Connection Pool
– Analytics app session timeout
– Statement Cache – Set to 0 for Oracle Database
© Copyright 2014. Apps Associates LLC. 16
OBIEE Performance Tuning Parameters
– Stuck Threads
– Disable Wrap Datatypes
© Copyright 2014. Apps Associates LLC. 17
OBIEE Performance Tuning Parameters
• Java Host
– JVM Heap Size for Trellis Charts
– Thread Pool size
– Temp/log folder location
• BI Server
– Hardware Acceleration flag
– OBIS Cache
– Temp/log folder location
– Log level
© Copyright 2014. Apps Associates LLC. 18
OBIEE Performance Tuning Parameters
• TimesTen
– DB connection
– Log Level
– Slow queries
© Copyright 2014. Apps Associates LLC. 19
Real World Tuning Examples
• When running a report Customer A has faced an error
– Common elements that affect the display of data in views. If the user exceeds these values, then the Oracle BI Server returns an error message when the view is rendered.
• Exceeded Configured Maximum Number Of Allowed Output Prompts, Prompts, Sections, Rows or Columns Error Codes : IRVLJWTA:OI2DL65P
– Solution Fix:
• Review the instanceconfig.xml file for various limits set accordingly
• Follow MOS Note: 1326670.1
© Copyright 2014. Apps Associates LLC. 20
Real World Tuning Examples
• Customer A has performed Load Testing on BI instance
– Observations:
• High response time on applications while Performance evaluation
• Top response time SQL’s were identified
• Observed high utilization of JVM and GC not invoked, BI instance crashed
– Solutions:
• Top response time SQL’s were identified and tuned by implementing indexes
• Database stats were executed
• Raised and SR with oracle and upgraded 11.1.1.7.140415 Patch in OBIEE PE environment
– Observed after Patch GC invoked to clear threads and proper utilization of JVM seen
– BI Instance sustained without crash
© Copyright 2014. Apps Associates LLC. 21
Real World Tuning Examples
• Customer A is performing development work, creating analysis – Observation:
• BI Instance is unresponsive
• High Consumption of Memory
• Linux Server Hung
• BI Foundation logs show: – Exceeded maximum capacity of '8192' elements
– Solution: • Work manager thread constraint should be set to 8192 or low
• Working threads consume more memory & CPU
• Customers can set the queue size from 10.3.6 Weblogic
• Refer MOS Note: "Exceeded maximum capacity of '8192' elements" exception When Using MaxThreads Constraint in WLS 10.3.6+ (Doc ID 1470870.1)
© Copyright 2014. Apps Associates LLC. 22
Real World Tuning Examples
• Incremental /Micro ETL tuning
– Observation:
• By default drop and recreate option is enabled on all index partitions at execution plan level
• Index drop / recreate takes considerable time
– Solution:
• Define index actions to drop/recreate/rebuild impacted partitioned of indices
© Copyright 2014. Apps Associates LLC. 23
Real World Tuning Examples
• Monitor index usage to selectively enable required indexes
– Observation:
• BI Apps comes with lot of indexes defined by default
• However, every customer usage may be different
– Solution:
• Disable unused indexes after observing index usage for a period
• Create/Enable selectively based on the needs from periodical observation
• Drop single cardinality index as these will add NO value and forces full table scan
© Copyright 2014. Apps Associates LLC. 24
Real World Tuning Examples
• Commit interval tuning in Incremental/Micro ETL
– Observation:
• Default commit interval defined in sessions may not be ideal
– Solution:
• Customer A have observed the incremental load transactions volume of specific facts and tuned so i/o can be optimized
© Copyright 2014. Apps Associates LLC. 25
Real World Tuning Examples
• Gather Stats after Incremental/Micro ETL
– Observation:
• Running gather stats on the entire partitioned table can be expensive
– Solution:
• Customer ABC have gained incremental load performance by running gather stats on only effected partitions
• This information can be obtained from dba_tab_modifications
© Copyright 2014. Apps Associates LLC. 26
Real World Tuning Examples
• Execution plans for Incremental/Micro ETL tuning
– Observation:
• Default soft delete processes may be observed as expensive based on nature of business
• Irrespective of whether transactions are deleted in source soft delete process runs
– Solution:
• Isolate running soft delete tasks at different interval (ex: weekly) to reduce the total ETL time
© Copyright 2014. Apps Associates LLC. 27
Connect with Us
Web: www.appsassociates.com
Email: bharath.terala@appsassociates.com
YouTube: www.youtube.com/user/AppsAssociates
LinkedIn: www.us.linkedin.com/company/Apps-Associates
Twitter: @AppsAssociates
Facebook: www.facebook.com/AppsAssociatesGlobal
Google+: www.plus.google.com/+AppsAssociatesGlobal/
Thank You!
Recommended