Optimizing Performance of your Oracle Database using 8Gb Fibre Channel

1,199 views
1,043 views

Published on

James Morle Oracle large-scale implementation specialist discusses keys to deploying 8Gb Fibre Channel using Oracle Database 11g Release 2 and Oracle Linux 6.2. The presentation will include and overview of the Oracle Architecture, how SAN performance can impact database performance, results of a Scale Abilities study comparing 8GFC to 4GFC HBAs.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,199
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 8GFC vs. 4GFC2x throughput33% more IOPS16% faster latencyMore than 2x the vPorts, supports more Virtual Machines4x the exchanges (XRI) to support bigger SANs
  • -Broad InteroperabilityEmulex has achieved broad market acceptance with over 11 million ports shipped worldwide to date.Emulex HBAs are sold by all the major system and storage OEMS including Dell, EMC, HP, IBM, NetApp and Oracle, to name but a few.The HBA product line consists of single, dual, and quad-port 4 and 8Gb/savailable in mezzanine and standard form factors.The LightPulse family of adapters were designed and built for the enterprise from day one, with a common driver model across the product line and a unified management tool,OneCommand Manager, that manages all HBAs and UCNAs in a data center environment.
  • Enhancing your 4Gb/s infrastructure with 8Gb/s HBAs results inincreased performance as documented in a recent benchmarkby Emulex Labs. This benchmark compared Emulex 4Gb/s HBAswith Emulex 8Gb/s HBAs using the Oracle Orion I/O calibrationtool and the SwingBench load generator to profile an order entryand data warehousing workload. For a complete description ofthis study, go to www.emulex.com.The Emulex LPe12002 8Gb/s Fibre Channel HBA was comparedto the Emulex LPe11002 4Gb/s Fibre Channel HBA with storagearrays that only support 4Gb/s port connections. With thesebenchmarks, 8Gb/s HBAs in 4Gb/s environments showed:1. Nearly double data warehousing throughput (Figure 2)2. 15 percent greater IOPS (Figure 3)3. 16 percent improvement in I/O latency (Figure 4)
  • Details can be found in the whitepaper
  • Optimizing Performance of your Oracle Database using 8Gb Fibre Channel

    1. 1. Thanks for joining today’s webcast.We will begin at 9:00 am, Pacific Daylight Time.To receive a call back, provide your phone number when you join theevent, or call the number below and enter the access code.Access code: 932 758 952 Emulex 8Gb FibreCall-in toll-free number (US/Canada): 1-877-668-4493Call-in toll number (US/Canada): +1-408-600-3600 Channel HBAsGlobal call-in numbers:http://support.webex.com/support/phone-numbers.html
    2. 2. Fibre Channel and 8GFC Fibre Channel remains dominant storage NW – Highest performance, availability, scalability 8GFC is now >75% of all HBA sales IO Intensive apps driving need for 8GFC – Database – Data warehousing – Virtualization & private cloud – Backup – Rich media It’s about more than bandwidth– IOPS, application response time, CPU efficiency, data integrity, and manageability – More important than ever with new x86 platforms and Flash acceleration for databases © 2011 Emulex Corporation 2
    3. 3. 8GFC Improvements vs. 4GFCFeature 8GFC 4GFCMore IOPS 200k 150kLatency Improvements Up to 30% fasterGreater Throughput 800Mb/s per port 400Mb/s per portServer Architecture: MSI-X Yes NoPCIe 2.0 1.0aVirtualization: vPorts 255 100Exchanges (XRI) per port 4096 1000Enhanced Diagnostics Yes NoNon-volatile data Yes NoT10-PI Enhanced Data Integrity Yes No © 2011 Emulex Corporation 2012 3
    4. 4. Ubiquitous Platform Availability: Emulex LightPulse 8Gb Fibre Channel HBAs8Gb/s HBAs Single Dual Quad8Gb/s Blade © 2011 Emulex Corporation 4
    5. 5. Enhance 4G Infrastructures with 8G HBAs LightPulse LPe12002 8GFC HBA vs. LPe11002 4GFC HBA Storage arrays support 4Gb/s port connections Order entry & data warehousing workload – Oracle Orion I/O tool, SwingBench load generator – Benchmarks results: 15% more IOPS Nearly 2x data 16% Improvement in I/O warehousing throughput Latency © 2011 Emulex Corporation 5
    6. 6. Database-Optimized HBAsAdvantages of Using Emulex 8G HBAs 12 Database Highest Performance Management Availability Throughput •37% greater •Twice the •Best HBA •15% better total IOPS management in vs competition reliability: >10 transaction rates half the time million MTBF •Up to 33% more •20-30% better •Powerful QoS, effective CPU •Best system latency availability, •Self-tuning reliability: •>2x Dual diagnostics operates 27 performance Channel IOPS • Vision •7 of 10 Top Cooler vs competition performance •Ideal for P2V •No downtime FW TPC-Cs management migrations upgrades © 2011 Emulex Corporation 6
    7. 7. Unique Manageability for Databases:OneCommand Manager OneCommand Manager (OCM) • Central lifecycle management & automation • Multi-protocol - FC, FCoE, iSCSI, NIC • Broad OS support • Unique online FW and driver upgrades • Powerful deployment, configuration, availability, QoS, diagnostics management Provisioning Update Utilities Utilities Management OCM SDK APIs OneCommand Manager for VMware vCenter • Native software plug-in with vCenter look and feel • Extends vCenter with real-time OCM lifecycle management for Emulex HBAs and UCNAs © 2011 Emulex Corporation 7
    8. 8. © 2011 Emulex Corporation 8
    9. 9. Channelwith Oracle DatabasesJames Morle © 2011 Emulex Corporation 2012 9
    10. 10. Who Am I? James Morle – Founder of Scale Abilities Ltd – Co-founder of the OakTable Network (www.oaktable.net) – Oracle ACE Director – Author of Scaling Oracle8i and co-author of Oracle Insights – Over 20 years large scale Oracle experience, 30 years in professional IT © 2011 Emulex Corporation 2012 10
    11. 11. Who Are Scale Abilities? UK-based global consultancy specializing in full-stack Oracle-based architectures – Full system architecture – Proactive Performance Management – Reactive Performance Management © 2011 Emulex Corporation 2012 11
    12. 12. Our Emulex Partnership Commissioned by Emulex for an independent evaluation of their Fibre Channel products – Scale Abilities always retains 100% editorial control over published content – Emulex retains control over whether or not to publish © 2011 Emulex Corporation 2012 12
    13. 13. Agenda A bandwidth and latency refresher Bandwidth and Business Intelligence A primer on configuring Oracle for high-bandwidth throughput A look at the testing performed and results obtained for the whitepaper entitled “Deploying 8Gbps Fibre Channel with Oracle Databases” Q&A © 2011 Emulex Corporation 2012 13
    14. 14. Bandwidth and Latency Refresher What is Bandwidth? What is Latency? © 2011 Emulex Corporation 2012 14
    15. 15. Bandwidth 2 Gbps Pipe 200x 1MB 200x 1MB 200x 1MB 200x 1MB 200x 1MB 2 Gbps Pipe 200x 1MB 2 Gbps Pipe 200x 1MB 2 Gbps Pipe 200x 1MB 2 Gbps Pipe 200x 1MB © 2011 Emulex Corporation 2012 15
    16. 16. Latency 2 Gbps Pipe 4KB 2 Gbps Pipe 10ms 4ms10ms=1/100s=100 sequential reads per second 4ms=1/250s=250 sequential reads per second © 2011 Emulex Corporation 2012 16
    17. 17. Bandwidth and Business Intelligence Bandwidth is a critical success factor in business intelligence (BI) – BI queries frequently need to access a large proportion of available data – Indexed access paths become less efficient than full or partial scanning – Scanning rate equals bandwidth – Higher scan rates mean faster queries SAN performance matters for getting data from disk to the CPU © 2011 Emulex Corporation 2012 17
    18. 18. The Balancing Act Storage, SAN and Server CPU must be balanced to achieve optimal throughput For example: Oracle Database Machine (Exadata) © 2011 Emulex Corporation 2012 18
    19. 19. Tuning Focus:High Bandwidth Oracle Key configuration points for high bandwidth throughput – Large I/Os – Asynchronous Processing and Prefetching – Parallel Execution © 2011 Emulex Corporation 2012 19
    20. 20. Large I/Os Data Transfer8KB Read1MB Read © 2011 Emulex Corporation 2012 20
    21. 21. Async I/O Ability to issue I/O requests without waiting for the response Allows other tasks (such as processing, or other read requests) to take place while waiting for I/O to return © 2011 Emulex Corporation 2012 21
    22. 22. Blocking vs Async I/O Servicing Servicing I/O I/OProcessing Processing t Async I/O Blocking I/O (and prefetch) © 2011 Emulex Corporation 2012 22
    23. 23. Oracle Parallel Execution Serial Parallel Oracle Processes Storage © 2011 Emulex Corporation 2012 23
    24. 24. Testing 8GFC Bandwidth focused tests to demonstrate throughput of 8GFC versus 4GFC – Large reads – Async I/O and prefetching – Parallel Execution © 2011 Emulex Corporation 2012 24
    25. 25. Test Hardware IBM x3850 X5 LPe11002 LPe12002 4Gbps FC 8Gbps FC Brocade 6510 2x 4Gbps 4x 4Gbps each (20 total) Disk Array TMS RamSan x5 (Write-back cached) © 2011 Emulex Corporation 2012 25
    26. 26. OneCommand Manager © 2011 Emulex Corporation 2012 26
    27. 27. OneCommand Manager © 2011 Emulex Corporation 2012 27
    28. 28. OneCommand Manager © 2011 Emulex Corporation 2012 28
    29. 29. OneCommand Manager © 2011 Emulex Corporation 2012 29
    30. 30. Test Configuration 8GFC and 4GFC cards are enabled and disabled at the switch Five RamSan-400 SSDs: read and write latency 15 microseconds Engenio e6000: 48 spindles - RAID-5 dm-multipath used to insulate Oracle ASM from the changing underlying devices © 2011 Emulex Corporation 2012 30
    31. 31. Large TablesEngenio: ‘BIGTABLE’RamSan: ‘SSD_BIGTABLE’ SQL> select segment_name,bytes/1048576 size_mb 2 from dba_segments 3 where segment_name like %BIGTABLE; SEGMENT_NAME SIZE_MB -------------------- ---------- SSD_BIGTABLE 12307 BIGTABLE 630618 © 2011 Emulex Corporation 2012 31
    32. 32. Engenio Query select /*+ parallel(bt,8) */ count(*) from bigtable bt © 2011 Emulex Corporation 2012 32
    33. 33. RamSan Query declare i number; j number; begin for i in 1..1000 loop select /*+ parallel(bt,32) */ count(*) into j from ssd_bigtable bt; end loop; end; © 2011 Emulex Corporation 2012 33
    34. 34. Key Discoveries What’s the real difference between 4GFC and 8GFC? – Equal theoretical bandwidth – 4x4 = 2x8 – Right? © 2011 Emulex Corporation 2012 34
    35. 35. Results 1,600 1,400 SSD and Engenio SSD only SSD and Engenio 1,200 1,000Bandwidth MB/s 800 600 400 200 0 4GFC 8GFC 8GFC © 2011 Emulex Corporation 2012 35
    36. 36. Further Detail 8GFC - Both queries active 8GFC - Only SSD query active Switch back to 8GFC 4GFC - Both queries active Switch between 8GFC and 4GFC © 2011 Emulex Corporation 2012 36
    37. 37. Conclusions Optimal Oracle configuration is essential to utilize full SAN bandwidth Tests show a surprising increase in bandwidth of 13% – Sufficient to knock an hour off an 8-hour batch run, if it spends the majority of its time waiting on I/O © 2011 Emulex Corporation 2012 37
    38. 38. Q&A Contacts: – James Morle: • Email: James.Morle@scaleabilities.co.uk • Twitter: @jamesmorle @scaleabilities • Blog: www.scaleabilities.co.uk/author/morlej– Emulex: – Barbara Porter • Email: barbara.porter@emulex.com • Papers/blogs/tech tips/app notes: www.implementerslab.com © 2011 Emulex Corporation 2012 38

    ×