Presentation is loading. Please wait.

Presentation is loading. Please wait.

Accelerating Oracle OLTP Database with Dell Flash based storage: Case Studies Guy Harrison, Kai Yu, Naveen Iyengar.

Similar presentations


Presentation on theme: "Accelerating Oracle OLTP Database with Dell Flash based storage: Case Studies Guy Harrison, Kai Yu, Naveen Iyengar."— Presentation transcript:

1 Accelerating Oracle OLTP Database with Dell Flash based storage: Case Studies Guy Harrison, Kai Yu, Naveen Iyengar

2 2 Global Marketing Room for text Agenda

3 3 Global Marketing Room for text Agenda Why should you care about Flash based storage disks? Types of Flash based storage disks Dell Flash based storage solutions Case studies – performance analysis Q&A

4 4 Global Marketing Room for text Why should you care about Flash based storage disks?

5 5 Global Marketing Room for text FASTER SLOWER Flash SSD Technologies Why should you care about flash based storage drives? HDDs are performance limited by the spinning speed of the disk (15K rpm) and its mechanical head movement Compared to HDDs flash based storage or Solid State Drives (SSDs) – Have no moving parts – Extremely fast, low-latency, and high IOPS Single SSD can replace many HDDs – Consolidate rack space – Save on power and cooling

6 6 Global Marketing Room for text Types of Flash based storage disks

7 7 Global Marketing Room for text Types of flash based storage disks or SSDs SAS/SATA based SSDs – Use the same SAS/SATA based interface as HDDs – Accessed by the system through OS driver stack – Performance better than HDDs but still limited by OS driver stack PCIe based SSDs – Directly connected to PCIe bus – Directly connected to CPU and system memory through PCIe bus – Faster than HDDs and SAS/SATA based SSDs – Two types – Single-level cell (MLC) NAND – Best suited for performance intensive applications – Smaller capacity – Multi-level cell (SLC) NAND – Suited for applications having high capacity requirements – Lower cost alternative to SLCs FASTER SLOWER Flash SSD Technologies

8 8 Global Marketing Room for text Dell Flash based storage solutions

9 9 Global Marketing Room for text Server-side PCIe SSD based solutions – Database directly on Dell PowerEdge Express Flash PCIe SSDs – Database cached on Dell PowerEdge Express Flash PCIe SSDs using Fluid Cache for DAS Storage-side PCIe SSD based solutions – Dell Compellent All-Flash array Dell Flash based storage solutions PCIe-SSDSAS/SATA

10 10 Global Marketing Room for text Case studies – Dell Flash based Storage Solutions Performance analysis

11 11 Global Marketing Room for text Case Study #1 Oracle OLTP Database directly on Dell PowerEdge Express Flash PCIe SSDs

12 12 Global Marketing Room for text Introduction to Express Flash PCIe SSD 12 Directly connected to PCIe bus Up to four PCIe SSDs per server 2.5 inch plugged into a device bay Capacity: 175GB/350GB Hot Swappable: add or remove a device without halting or rebooting the system

13 13 Global Marketing Room for text Use Cases of PCIe SSDs for Oracle Database Use PCIe SSDs stores the entire database schema. PCIe SSDs stores portions of a database schema four PCIe SSDs combining with MD3220 external storage with 24 HDDs PCIe SSD used as Oracle Smart flash cache in a 11g R2 RAC Database two PCIe SSDs combining with MD3220 external storage with 24 HDDs 13

14 14 Global Marketing Room for text Performance Testing Results Use PCIe SSDs stores the entire database schema : comparison of two configurations: Baseline: the entire database schema stored in Hard Disk Drives (HDDs) Compared group: the entire database schema stored in PCIe SSDs TPS Comparison: 569% increase Response time (MS) Comparison: 250% increase of # of users for 1 second time 99 times reduce of query response time for 600 users 14

15 15 Global Marketing Room for text User case 2: PCIe stores partial database : – Config1 : all the database objects stored in HDDs. (Base Line) – Config2: all indexes stored in PCI-e SSD Drives, – Config3: all indexes plus one most active table stored in PCI-e SSDs – Config4: all indexes plus four active tables stored in PCI-e SSD Response time Comparisons: TPS Comparisons: 12%-200% increase of # of users in 1 sec mark 14%-310% TPS Increases 2-16 times decrease of response time for 800 users 15 Performance Testing Results

16 16 Global Marketing Room for text Use PCIe as the smart flash cache for RAC --- an extension of database buffer cache Configure PCEI SSD as Oracle Smart cache: Set udev rule in /etc/udev/rules.d KERNEL=="rssda1",OWNER="oracle", GROUP="dba", MODE="0775" 16 Performance Testing Results

17 17 Global Marketing Room for text Performance Testing Results SELECT name, value FROM v$sysstat WHERE name IN ('physical read flash cache hits', 'physical reads', 'consistent gets', 'db block gets', 'flash cache inserts'); NAME VALUE db block gets consistent gets physical reads physical read flash cache hits flash cache inserts % increase of TPS (Transactions Per Second) 17

18 18 Global Marketing Room for text Performance Testing Results 5.8 times decrease of Query Average Response Time 18

19 19 Global Marketing Room for text Performance Testing Results Observed different database wait patterns 19

20 20 Global Marketing Room for text Performance Testing Results Free buffer wait event – Process A: Fast data read from smart flash cache – Process B: Slow process to free a slot in memory due to the slow writing a dirty block to disk – Fast process A has to wait for slow process B Free buffer wait 20

21 21 Global Marketing Room for text Oracle Deployments: Challenges Business Challenges: Structured Data Growth at CAGR > 50% Flat or declining IT budgets Do more with less Support aggressive Goto market requirements Business Challenges: Structured Data Growth at CAGR > 50% Flat or declining IT budgets Do more with less Support aggressive Goto market requirements Technical Challenges: Increase performance and availability Increase Automation Reduce Management Complexity Increase online data accessibility Technical Challenges: Increase performance and availability Increase Automation Reduce Management Complexity Increase online data accessibility

22 22 Global Marketing Room for text Case Study #2 Oracle OLTP Database on Dell Compellent All- Flash Storage Array

23 23 Global Marketing Room for text Solving Database challenges Common Approaches: Add more processing/ memory Add more storage Add Server Flash High touch database tuning and management Common Approaches: Add more processing/ memory Add more storage Add Server Flash High touch database tuning and management Limitations: Limited effectiveness Storage overprovisioning not sustainable Point fix/Capacity Constrained Limited effectiveness Limitations: Limited effectiveness Storage overprovisioning not sustainable Point fix/Capacity Constrained Limited effectiveness

24 24 Global Marketing Room for text Better Solution: Automated Tiered Storage Benefits of Automated Tiered Solution: Increase performance without increasing cost Scale performance/capacity independently Right data in the right place at the right time – at the right cost Automation reduces management overhead Increase amount of data that is online Leverage existing investments Benefits of Automated Tiered Solution: Increase performance without increasing cost Scale performance/capacity independently Right data in the right place at the right time – at the right cost Automation reduces management overhead Increase amount of data that is online Leverage existing investments

25 25 Global Marketing Room for text New Compellent All Flash Array Solution 75% Lower Cost Than most All-Flash solutions >300K IOPS >100,000 IOPS and sub-millisecond latency running OLTP workload Flash Tiering Economics: Improve cost per GB and cost per I/O Reduce HW requirements Reduce SW Licensing Reduce maintenance/support costs Reduce environmental cost factors Flash Tiering Economics: Improve cost per GB and cost per I/O Reduce HW requirements Reduce SW Licensing Reduce maintenance/support costs Reduce environmental cost factors Reduce SSD costs 80 % Increase SSD Capacity 5X

26 26 Global Marketing Room for text SSD Tiering 1. Dell case study: 7-Eleven; 2, Salesforce.com $$$ RAID 10 $$ RAID 5 $ RAID 6 Read Intensive Enterprise SAS SSD (1.6TB MLC) HDD (15K, 10K, 7.2K) Write-Intensive Enterprise SAS SSD (400GB SLC) Tier 1 Tier 2 Tier 3 How it works: Flash Optimized Tiering Write Intensive Tier for Reads/Writes Read Intensive Tier for Read Only Data On Demand data progression Flash Optimized Storage Profile Enhanced Flash Wear monitoring Capacity addition through NL-SAS How it works: Flash Optimized Tiering Write Intensive Tier for Reads/Writes Read Intensive Tier for Read Only Data On Demand data progression Flash Optimized Storage Profile Enhanced Flash Wear monitoring Capacity addition through NL-SAS

27 27 Global Marketing Room for text Performance Test Environment 100% 86% Test Hardware: 2 X M820 Blade Servers Blade IO modules: A: M GbE Switch B: Force 10 10GbE Switch C: M GB FC Switch Storage : 2 X SC8000 Compellent Controllers 4 X SC220 enclosures: 72 X 15k SAS disks 6 Write Intensive (SLC)SSDs 6 Read Intensive (MLC) SSDs Test Hardware: 2 X M820 Blade Servers Blade IO modules: A: M GbE Switch B: Force 10 10GbE Switch C: M GB FC Switch Storage : 2 X SC8000 Compellent Controllers 4 X SC220 enclosures: 72 X 15k SAS disks 6 Write Intensive (SLC)SSDs 6 Read Intensive (MLC) SSDs Test Software: Oracle Linux 6.4 UEK kernel Oracle Database Enterprise Edition Orion Dell Quest Benchmark Factory Test Software: Oracle Linux 6.4 UEK kernel Oracle Database Enterprise Edition Orion Dell Quest Benchmark Factory

28 28 Global Marketing Room for text Performance Test Environment 100% 86%

29 29 Global Marketing Room for text Orion Test Results ORION: OLTP All Flash Vs Spinning Media (15k) ORION: OLTP All Flash Vs Spinning Media (15k) Flash Performance 100% Flash Latency 86% 72X146 G 15k Vs 6XWI (400G) + 6XRI (1.6T) Same Cost

30 30 Global Marketing Room for text TPCC Test Results

31 31 Global Marketing Room for text

32 32 Global Marketing Room for text

33 33 Global Marketing Room for text Case Study #3 Oracle OLTP Database Cached on Dell PowerEdge Express Flash PCIeSSDs using Fluid Cache for DAS

34 34 Global Marketing Room for text What is Fluid Cache for DAS? Server-based caching technology Leverages Dells hot pluggable PowerEdge Express Flash PCIe SSDs Transparent to the Application Reduces latency & accelerates response times for any Linux-based application needing improved random IO reads and writes (i.e. Oracle OLTP) or sequential reads Consists of software, PowerEdge w/ Express Flash and optional PowerVault OS Oracle Linux 6.2 (RedHat Compatible Kernel) Platforms R620, R720, R820, T620 RAID Controller Dell PERC H710P, H710, H810

35 35 Global Marketing Room for text Fluid Cache for DAS Differentiators Write-back cache accelerates data writes as well as reads Pools up to 4 Express Flash PCIe SSDs in a server Protects write cache data with efficient block replication technologies Combines performance enhancements with data integrity Cache stays warm on reboot PCIe-SSDSAS/SATA

36 36 Global Marketing Room for text How Fluid Cache works: Enables High Speed Flash Performance for Direct Attached Storage Dell (Server + Storage+ Flash) + Fluid Cache Application Acceleration Oracle Database Server PCIe SSDs 1X IOPS >50x IOPS Fluid Cache for DAS 1x IOPS RAID cont. External PowerVault JBOD Storage External PowerVault JBOD Storage RAID cont. Shared Read/Write Cache Pool Shares PCIe Flash Cache Pool for VDs across up to 3 RAID Controllers (only 2 used here) Internal Storage

37 37 Global Marketing Room for text Fluid Cache for DAS 1.0 PowerEdge R720 Database & OS – Oracle Single Node 11gR2 Enterprise or Std. Edition DB SW – Oracle Linux 6.2 (RedHat Compatible Kernel) PowerVault MD1220 – H810 connected to MD1220s in balanced mode – MD1220s connected in a daisy chain – 8 x R10 Data Volumes, 4 x R5 FRA * Volumes, 12 Global Hot Spares * FRA – Flash Recovery Area (contains Archive Logs, Backups, etc.) Fluid Cache for DAS: Oracle OLTP Database reference architecture

38 38 Global Marketing Room for text TPC-C Performance: Transactions per second (TPS)

39 39 Global Marketing Room for text TPC-C Performance : Average Response Time (ART)

40 40 Global Marketing Room for text TPC-C Performance : Max User load Scalability

41 41 Global Marketing Room for text Dell Express Flash PCIe SSDs – Fluid Cache for DAS users guide - ftp://ftp.dell.com/Manuals/all- products/esuprt_electronics/esuprt_software/esuprt_cache_soluti ons/dell-fluidcache-das_User's%20Guide_en-us.pdfftp://ftp.dell.com/Manuals/all- products/esuprt_electronics/esuprt_software/esuprt_cache_soluti ons/dell-fluidcache-das_User's%20Guide_en-us.pdf Oracle OLTP Fluid Cache for DAS reference architecture white paper – ftp://ftp.dell.com/Manuals/all- products/esuprt_electronics/esuprt_software/esuprt_cache_soluti ons/dell-fluidcache-das_White%20Papers90_en-us.pdfftp://ftp.dell.com/Manuals/all- products/esuprt_electronics/esuprt_software/esuprt_cache_soluti ons/dell-fluidcache-das_White%20Papers90_en-us.pdf Fluid Cache for DAS Resources

42 Global Marketing Q & A


Download ppt "Accelerating Oracle OLTP Database with Dell Flash based storage: Case Studies Guy Harrison, Kai Yu, Naveen Iyengar."

Similar presentations


Ads by Google