Fusion ioMemory Flash for SQL Server 2012

21
Fusion-io Confidential—Copyright © 2012 Fusion-io, Inc. All rights reserved. IOMEMORY FLASH FOR SQL SERVER 2012 Sumeet Bansal, Principal Solutions Architect, Fusion-io

description

A presentation from Sumeet Bansal, Principal Solutions Architect at Fusion-io. This presentation was given at the Silicon Valley SQL Server User Group in Mountain View, California on September 18, 2012. You can find more information here: http://www.meetup.com/The-SiliconValley-SQL-Server-User-Group/events/75363422/ The deck gives an in depth look at deploying Fusion ioMemory (our flash memory based platform) within Microsoft SQL 2012 databases. Sumeet explains how flash memory increases performance while lowering cost. Learn more about Fusion-io as a solution for your SQL 2012 Configuration: https://www.fusionio.com/solutions/microsoft-sql-server/

Transcript of Fusion ioMemory Flash for SQL Server 2012

Page 1: Fusion ioMemory Flash for SQL Server 2012

Fusion-io Confidential—Copyright © 2012 Fusion-io, Inc. All rights reserved.

IOMEMORY FLASH FOR SQL SERVER 2012

Sumeet Bansal, Principal Solutions Architect, Fusion-io

Page 2: Fusion ioMemory Flash for SQL Server 2012

FLASH SUCCEEDS NEAR THE CPU

October 24, 2012 2

Nanoseconds - Microseconds ACCESS DELAY Milliseconds

ioMemory L1, L2 & L3 CPU Cache

DRAM

Storage Area Network

Page 3: Fusion ioMemory Flash for SQL Server 2012

FLASH SUCCEEDS NEAR THE CPU

October 24, 2012 3

Check out this video if you don’t believe me…

http://www.youtube.com/watch?v=w-_Hr5f7QHw

Page 4: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

4

Max Acceleration Max Cost Optimization Max Scalability •  Lowest latency •  Smallest footprint •  For I/O intensive applications

•  Drop-in SAN/NAS acceleration •  Storage workload reduction •  Greater VM density

•  Multi-protocol •  Platform independent •  For clustered architectures

STAND ALONE VIRTUAL CLUSTERED

FLASH OPTIMIZATION

Page 5: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

STAND ALONE deployments ▸  ioMemory is used to create logical volumes to contain the data

and the log files. If needed specific files can be placed on ioMemory based volume

▸  directCache can be used to work with existing SAN

▸  Best read and write performance is delivered

▸  Mirroring or SQL server 2012 Always On for High Availability is used

October 24, 2012 5 Fusion-io Confidential

Page 6: Fusion ioMemory Flash for SQL Server 2012

AVAILABILITY GROUP FOR HA AND DISASTER RECOVERY

Synchronous Mirror

Asynchronous Mirror

Primary (server 1)

Secondary (server 2)

Secondary (server 3)

Primary Data Center Disaster Recovery Data Center

Availability Group

MS SQL SERVER DEPLOYMENT METHODS

Page 7: Fusion ioMemory Flash for SQL Server 2012

IOMEMORY AS DIRECTCACHE

October 24, 2012 Fusion-io Confidential 7

▸  Place large tables and active data on the cached LUN •  directCache accelerates reads

▸  Use ioMemory as block storage for data requiring fast writes •  log files, tempdb, indexes,

partition tables …

▸  Need to keep them in separate ioDrives or use ioDrive Duo

▸  Manage both modes with ioSphere

ioMemory as Block and Cache Storage

Database Application

•  Logs •  Temp DB •  Indexes

Primary Tables

Cached Blocks

MS SQL SERVER DEPLOYMENT METHODS

Page 8: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

8

Max Acceleration Max Cost Optimization Max Scalability •  Lowest latency •  Smallest footprint •  For I/O intensive applications

•  Drop-in SAN/NAS acceleration •  Storage workload reduction •  Greater VM density

•  Multi-protocol •  Platform independent •  For clustered architectures

STAND ALONE VIRTUAL CLUSTERED

FLASH OPTIMIZATION

Page 9: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

VIRTUAL deployments ▸  Brings bare-metal performance to Virtualized environments

▸  Use ioMemory with ioTurbine to cache virtual guests on VMware

▸  Continue to use existing SANs

▸  ioTurbine is compatible with vMotion

October 24, 2012 9 Fusion-io Confidential

Page 10: Fusion ioMemory Flash for SQL Server 2012

EXTERNAL STORAGE FOR VIRTUAL MACHINES TOO COSTLY

10 10/24/12 Fusion-io Confidential. Preliminary and subject to change

Virtual environments demand IOPS, but centralized storage cannot deliver

Virtual machine density and physical host density drastically reduce shared IOPS

External storage challenges ▸  Fixed IOPS ▸  High $/IOP ▸  Must be shared

SAN/NFS Storage IOPS

200,000 IOPS Total

10,000 IOPS (assuming 20 hosts)

1,000 IOPS (assuming 10 SQL VMs)

MS SQL SERVER DEPLOYMENT METHODS

Page 11: Fusion ioMemory Flash for SQL Server 2012

IOTURBINE DELIVERS IOPS TO HOSTS AND VIRTUAL MACHINES

11 10/24/12 Fusion-io Confidential. Preliminary and subject to change

Fusion-io ioDrives and ioTurbine Software scales IOPS for virtual machines

Plentiful IOPS at host ▸  7,500 per virtual machine ▸  75,000 per host ▸  1,500,000 IOPS in aggregate

Significantly reduce external storage costs ▸  Tune for capacity, not performance $

1,500,000 IOPS in aggregate

(assuming 20 hosts)

Tune for capacity, not IOPS

75,000 IOPS per host

7,500 IOPS per SQL VM

SAN/NFS Storage

IOPS

MS SQL SERVER DEPLOYMENT METHODS

Page 12: Fusion ioMemory Flash for SQL Server 2012

12 10/24/12 Fusion-io Confidential. Preliminary and subject to change

VMware vCenter

ioTurbine Management Server

vCenter integration

SAN/NFS Storage

MS SQL SERVER DEPLOYMENT METHODS

SQL VMs

Page 13: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

13

Max Acceleration Max Cost Optimization Max Scalability •  Lowest latency •  Smallest footprint •  For I/O intensive applications

•  Drop-in SAN/NAS acceleration •  Storage workload reduction •  Greater VM density

•  Multi-protocol •  Platform independent •  For clustered architectures

STAND ALONE VIRTUAL CLUSTERED

FLASH OPTIMIZATION

Page 14: Fusion ioMemory Flash for SQL Server 2012

MS SQL SERVER DEPLOYMENT METHODS

CLUSTERED deployments ▸  ION Data Accelerator provides a very fast shared storage

▸  ION can be accessed via FC, IB, iSCSI

▸  Can be purchased as just a piece of software that can transform a server with ioMemory into ION Data Accelerator or as a pre-assembled kit

▸  Completely open source without any vendor lock-in

October 24, 2012 14 Fusion-io Confidential

Page 15: Fusion ioMemory Flash for SQL Server 2012

BEFORE

October 24, 2012 15

RAID

MS SQL Server Cluster

Fibre Channel Switch

AFTER

MS SQL Server Cluster

Fibre Channel Switch

ION Data Accelerator

▸  2x-20x Increase in application performance

▸  Higher IOPS

▸  Very Low Cost

▸  Open systems server hardware

▸  Break vendor lock-in

BENEFITS

Entire Database

Entire Database HA

MS SQL SERVER DEPLOYMENT METHODS

Page 16: Fusion ioMemory Flash for SQL Server 2012

ION DATA ACCELERATOR HIGH AVAILABILITY

October 24, 2012 16

LUN 0 LUN 0

LUN 1 LUN 1

LUN 0 LUN 1

40Gb

MS SQL SERVER DEPLOYMENT METHODS

Page 17: Fusion ioMemory Flash for SQL Server 2012

HOW TO GET FEET WET

▸  Caching solutions - directCache or ioTurbine ▸  Tempdb acceleration using ioMemory (even for a cluster)

▸  Gradually move towards a more deeper integration

October 24, 2012 17 Fusion-io Confidential

Page 18: Fusion ioMemory Flash for SQL Server 2012

HERE ARE SOME ACCOMPLISHMENTS THAT I CAN SHARE

October 24, 2012 18 Fusion-io Confidential

Page 19: Fusion ioMemory Flash for SQL Server 2012

HERE ARE SOME ACCOMPLISHMENTS THAT I CAN SHARE

October 24, 2012 19 Fusion-io Confidential

Page 20: Fusion ioMemory Flash for SQL Server 2012

BEFORE YOU LEAVE…

October 24, 2012 20 Fusion-io Confidential

1 MS SQL Server 4 1.2 ioDrive2

25 Billion Transactions/Day

Number of estimated Credit card transactions around the globe in a single day

http://www.fusionio.com/blog/powering-global-commerce-with-sql-server-iomemory/

Page 21: Fusion ioMemory Flash for SQL Server 2012

T H A N K Y O U

Sumeet Bansal Principal Solutions Architect [email protected]