Presentation is loading. Please wait.

Presentation is loading. Please wait.

1. Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies.

Similar presentations


Presentation on theme: "1. Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies."— Presentation transcript:

1 1

2 Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies

3 3 Real World Performance Agenda Thinking Strategically about Performance The Fork Lift Upgrade Data Warehouse Systems Operational Systems Getting Serious about Performance

4 4 Airport/Economist 10X

5 5 Airport/Economist 11X

6 6 Airport/Economist 17X

7 7 State of the Art Intelligent HW and SW EXADATA HW – Intel Westmere and Nehalem Xeon CPUs – Infiniband – 10G Network Cards – Disks SW – Hybrid Columnar Compression – Offloaded Queries ( Column reduction and predicates ) – SW Smarts for disk I/O and User Space I/O

8 8 Changing The Culture

9 9 Thinking Strategically About Performance To much hope and see approach to performance – Systems put together without much thought as to how to achieve performance targets – Culture of looking for the magic silver bullet – Lack numerate discussions, decisions made by strength of personality – Lack of understanding of what can be achieved – Unaware of today’s/current systems limitations

10 10 Learning to set expectations higher then Moore’s Law – Learn how to move the decimal point – Learn to choose the appropriate weapons – What things never change Changing the Culture

11 11 Hacking Culture – Performance is seen as glamorous until it gets hard – Tuning by Google – Running a different database product different to the one developed and supported Changing the Culture

12 12 Need to change the Culture of “Good Enough” – “Good Enough” is NOT and will NOT be “Good Enough” tomorrow – Good Performance Engineers are relentless and don’t leave performance on the table – Always looking to move the decimal point – In summary “Aim High” Thinking Strategically About Performance

13 13 The Forklift Upgrade

14 14 The Forklift Upgrade The Fork Lift Upgrade Concept: Just migrate your existing applications without change onto a new faster platform – It should run faster – It should be able to exploit new technologies – It should eliminate my scaling and cost challenges – The code I run has been running in production and so must perfect or “Good Enough” – I have spent a fortune developing this application with cheap developers, who have since left anyway and nobody knows to maintain it!

15 15 Just because a system runs satisfactorily today do not assume it will scale Faster equipment will move bottlenecks to new places Poor coding techniques WILL get exposed faster How much is your Old Code holding you back How much performance is left on the Table How many existing Oracle version changes How many Architecture issues will I have to absorb The Fork Lift Upgrade

16 16 The Fork Lift Upgrade Now I have scared you, what should we be looking to exploit and where ? – DW – Target rich environment with the biggest potential for dramatic performance improvement – OLTP – Steady gains but huge chance to make the systems more reliable and predicable

17 17 Data Warehouse Systems

18 18 Data Warehouse Systems The Wrong HW pathology – To few CPUs to drive multi million row queries 10X – I/O not balanced with CPUs 10X – Incorrect Networking strategies 10X Queries – Incorrect Query strategy 10X ETL and Loading Degraded – Slowdowns and serialization – Database size bloat Desire to make the systems look productive – Overloaded query streams 10X

19 19 Learn the basic skills of Large numbers of rows vs small numbers of rows – Scans vs Index access Index Driven Query retrieving 1,000,000 rows – Assume the Index is cache and the data is not. – 1,000,000 random IOPS @ 5ms per I/O – This required 5000 Seconds to Execute – This is why queries may take over an hour How much data could you scan in 5000 Seconds with a fully sized I/O system able to scan 28 Gig/Sec ? – Hash techniques vs row by row ( Join and Sort ) Data Warehouse Systems

20 20 Having eliminated the Hardware Bottlenecks – Resource Management Keeping the system safe Allocating resources by priority Learn about query queuing – Historically the Queue was the I/O subsystem ETL and Data Loading – Row by Row processing – Direct Path vs Transactional SQL – Compression techniques Are you the problem ? – All that experience is it holding you back ? Data Warehouse Systems

21 21 Operational Systems

22 22 Eliminating the Seeks – Flash devices and large buffer caches Exploiting the CPUs – L2 caches Moore’s law upgrades Fewer processes Less stalling on memory access Resource Management – Preventing run away systems OLTP and Operational Systems

23 23 Getting Serious about Performance

24 24 Getting Serious about Performance 5x 10x 50x 100x 500x 1000x CPU Upgrade from latest generation Intel Processors I/O Balanced, Minimized, Optimized by Capacity Planning, Compression, Caching and Offload Exploitation of parallel query techniques DML re- written as CTAS or IAS Parallel Set based processing

25 25 Getting Serious about Performance Performance Techniques as Disruptive Technologies – 10x Minutes to Seconds – 100x Hours to Minutes – 1000x Hours to Seconds Will these speed ups mean ? – Speed to market – Less deferred batch – Increased operational agility – Early detection of mistakes Now Make your systems GO FAST !


Download ppt "1. Aim High with Oracle Real World Performance Andrew Holdsworth Director Real World Performance Group Server Technologies."

Similar presentations


Ads by Google