how to use the powerpoint template - oracle · •learn the fundamentals of core database...
TRANSCRIPT
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
Oracle Real-World Performance TeamOracle Server Technologies
7/16/2018
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Bridging the Divide from Today’s Performance to What is Possible
What is Real-World Performance in 2018?
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
• Part of the Database Development Organization
• Global Team located in USA, Europe, Asia
• 350+ combined years of Oracle database experience
• Innovate to achieve exceptional Database Performance
• Our methods:• Use the product as it was designed to be used
• Numerical and logical debugging techniques
• Educate others about the best performance methods and techniques
• Avoid and eliminate “tuning” by hacking/guessing/luck
Who We Are
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
The database is not being used as it was designed to be used
7/16/2018
The application architecture/code design is Suboptimal
There is a suboptimal algorithm in the database
Root Causes of Suboptimal Database Performance
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Where database user look for performance improvements
Perception
ApplicationAlgorithmnsand CorrectProduct Usage
DatabasePlatform
The best place to look for performance Improvements
7/16/2018
The Real World Performance Perception Problem
Reality
ApplicationAlgorithmnsand CorrectProduct Usage
DatabasePlatform
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Recent Results 1000X Oracle Applications Project
Baseline: 4.3 Hours
Code Changes: 4.3 Hours
Correct Usage: 29 Secs
Platform: 12 Secs
Final: 12 Secs
Speed up: 1290
Baseline: 2.4 Days
Code Changes: 27 Mins
Correct Usage: 7.5 Mins
Platform: 4.5 Mins
Final: 4.5 Mins
Speed up: 768
Baseline: 2.5 Hours
Code Changes: 2.5 Hours
Correct Usage: 4 Secs
Platform: 0.90 Secs
Final: 0.90 Secs
Speed up: 10000
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
How Does Your Organization Do Performance ?
• Conventional
– Focus is on “Good Enough” or “What the Business Needs”
– Process Orientated/Part of QA
– Spends most the time on Platform Tuning Issues
–Only changes things within limited scope
– Bottom up tuning approach
– Looking for incremental gains
• Real-World
– Focus on excellence and what the hardware and software can do
– Innovate excellent performance and add intellectual property to your code
– Everything is within scope
– Holistic top down approach
– Focus on orders of magnitude gains
7/16/2018
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
How Does Your Organization Do Performance ?
• Resource Pyramid • Real-World
– Platform tuning yields only incremental gains
– Layered Software approach to performance yields only incremental gains
– Data Sets are growing faster than Moore’s law
– Todays code can only improve at a rate of Moore’s Law
– Need to look algorithmically and architecturally to achieve break out performance
7/16/2018
QA Regression Testing, Capacity Planning
No regression
Platform Tuning
Incremental Gains
10X100X
1000X
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
• Observed Behavior Seen in the Real World
– Incorrect use of Database and Tools
– Applications designed for small datasets working on large datasets
• Performance Improvement Opportunities–Order of magnitude performance improvements for data intensive workloads
– Reliability and Performance under load improvements for OLTP systems
• Management Challenges
– Education Investment
–Moving the focus from platform tuning to application code improvement
Todays Real World Performance Challenges/Opportunities
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
• Unstable OLTP systems due to inappropriate connection pool strategies in Middleware
– Connection storms and CPU oversubscription race conditions
– Resource leakages due to undetected programmer errors
• Sub optimal execution plans ( By design or by accident )
– Incorrect/Outdated statistics gathering techniques
– Excessive/inappropriate hinting technique
– Inappropriate Physical design ( partitioning , indexing, compression )
• Selective De-Tuning of databases in production
– Incorrect/legacy init.ora setting
– Dangerous and untested/warranted settings of underscore parameters
Incorrect use of Database
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
• Prevalence of put/get a row/object type processing in todays applications
• Contending designs
• Missed batch windows due to serial/non scalable/algorithmically weak application designs
• Lack of appreciation of SQL and database performance capabilities
– Set based coding techniques
– SQL pipelining techniques
– Transformational techniques on Big datasets
Applications designed for small datasets working on large datasets
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance Education Programs
7/16/2018
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Online Education
7/16/2018
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance
• Real-World Performance Engineers discussing and demonstrating performance issues, root causes and when to apply the correct techniques
– The Optimizer
– Core DB Performance
– Extreme OLTP
– Extreme DW
• http://www.oracle.com/goto/oll/rwp
7/16/2018
Online Video Series
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance Training
7/16/2018
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance Classroom Training
• 4 or 5 Day Class of Intensive Performance Training
– Topics: The Optimizer, Core DB Performance, Extreme OLTP and DW
– Classroom, Demos, Hands On, Test and Quizzes
– Training given by Real-World Performance Engineers
– Designed for Architects, Developers and DBAs
– 4 months training in 4/5 days
• Contact RWP or you local Oracle team to apply
7/16/2018
Classroom Training
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance Training
• Understand how the optimizer works and how it is influenced
• Learn the fundamentals of core database performance
– Database Computer Science
– Application Algorithms
– When to apply the correct tools and techniques
• Extreme OLTP
– Connection Management, Contention and Tools
• Extreme Data Warehousing
– Working with large data sets
– DW Techniques: Set based processing, Exadata, Database In-Memory, Parallel
What you will learn
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Core Oracle Database Performance Fundamentals
Extreme OLTP
SQL and the Optimizer
Extreme Data Warehousing
Hands on Exercises
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real-World Performance Classroom Training
• “Fantastic – such a good course. Why can’t all training be like this?”
• “The demos schooled me”
• “Content matches the real world—totally different than courses offered by Oracle University”
• “Your understanding of Oracle real life problems, familiarity with computer science basics and procedures, teaching excellence, and interpersonal skills all contributed to a successful training”—Venkat Dulla, Qualcomm
• “Anyone out there claiming that he/she is an Oracle DBA must attend RWP classes. We are highly experienced team of DBAs and we thought we’ve seen it all until this class ! Real problems that we are dealing day-to-day, like connection storms, was turned into training scenarios and explained so clearly with cause and solutions along with a diagnostic methodology…it was also an eye-opener for OLTP DBAs that I/O is no longer a bottleneck with exadata and it is time to start using set operations to achieve order of magnitude performance gains” –Metin Ylimaz, Turkcell
• Best training program Oracle has ever done for Fidelity” –Mihir Shah Equity CIO and Corp CTO Fidelity
7/16/2018
Quotes