IOMEMORY FLASH FOR SQL SERVER 2012
Sumeet Bansal, Principal Solutions Architect, Fusion-io

               Fusion-io Confidential—Copyright   ©   2012 Fusion-io, Inc. All rights reserved.
Presented by Sumeet Bansal to the Silicon Valley
   SQL Server User Group in September 2012


To learn more please contact User Group Leader
               Mark Ginnebaugh
            mark@designmind.com
FLASH SUCCEEDS NEAR THE CPU




               DRAM

 L1, L2 & L3          ioMemory
 CPU Cache                                            Storage
                                                      Area
                                                      Network




 Nanoseconds - Microseconds      ACCESS DELAY           Milliseconds

                                   October 16, 2012                    3
FLASH SUCCEEDS NEAR THE CPU


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




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




                                    October 16, 2012   4
MS SQL SERVER DEPLOYMENT METHODS


  STAND ALONE                             VIRTUAL                           CLUSTERED

     Max Acceleration               Max Cost Optimization               Max Scalability
• Lowest latency                   • Drop-in SAN/NAS acceleration   • Multi-protocol
• Smallest footprint               • Storage workload reduction     • Platform independent
• For I/O intensive applications   • Greater VM density             • For clustered architectures




    FLASH OPTIMIZATION
                                                                                                    5
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 16, 2012   Fusion-io Confidential   6
AVAILABILITY GROUP FOR
HA AND DISASTER RECOVERY METHODS
     MS SQL SERVER DEPLOYMENT


         Primary Data Center              Disaster Recovery Data Center

           Primary (server 1)



                                Asynchronous Mirror

          Synchronous                                 Secondary (server 3)
          Mirror




       Secondary (server 2)



                                                           Availability Group
MS SQL SERVER DEPLOYMENT METHODS
IOMEMORY AS DIRECTCACHE
  ioMemory as Block and Cache Storage
                                             ▸ Place large tables and active
                                               data on the cached LUN
  Database
  Application                                     • directCache accelerates reads

                                             ▸ Use ioMemory as block storage
                                               for data requiring fast writes
                                                  • log files, tempdb, indexes,
                                                    partition tables …
   • Logs                                    ▸ Need to keep them in separate
   • Temp DB
   • Indexes       Cached                      ioDrives or use ioDrive Duo
                   Blocks
                                             ▸ Manage both modes with
                                               ioSphere
                         Primary Tables


                                          October 16, 2012     Fusion-io Confidential   8
MS SQL SERVER DEPLOYMENT METHODS


  STAND ALONE                             VIRTUAL                           CLUSTERED

     Max Acceleration               Max Cost Optimization               Max Scalability
• Lowest latency                   • Drop-in SAN/NAS acceleration   • Multi-protocol
• Smallest footprint               • Storage workload reduction     • Platform independent
• For I/O intensive applications   • Greater VM density             • For clustered architectures




    FLASH OPTIMIZATION
                                                                                                    9
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 16, 2012   Fusion-io Confidential   10
MS SQL SERVER DEPLOYMENT METHODS
                EXTERNAL STORAGE FOR VIRTUAL MACHINES TOO COSTLY


       1,000 IOPS                                                            Virtual environments demand IOPS,
(assuming 10 SQL VMs)                                                          but centralized storage cannot
                                                                               deliver
     10,000 IOPS
  (assuming 20 hosts)                                                        Virtual machine density and physical
                                                                               host density drastically reduce
                                                                               shared IOPS

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

    200,000 IOPS
                Total
                        SAN/NFS
                                               IOPS
                        Storage
10/16/2012                        Fusion-io Confidential. Preliminary and subject to change                         11
MS SQL SERVER DEPLOYMENT METHODS
                IOTURBINE DELIVERS IOPS TO HOSTS AND VIRTUAL MACHINES

                                                                          Fusion-io ioDrives and ioTurbine
      7,500 IOPS                                                            Software scales IOPS for virtual
         per SQL VM
                            IOPS                                            machines
    75,000 IOPS                                                           Plentiful IOPS at host
             per host
                                                                                  ▸ 7,500 per virtual machine
                                                                                  ▸ 75,000 per host
1,500,000 IOPS                                                                    ▸ 1,500,000 IOPS in aggregate
       in aggregate
 (assuming 20 hosts)



                                                                          Significantly reduce external
                                                                            storage costs
                                                                                  ▸ Tune for capacity, not performance
  Tune for capacity,
            not IOPS
                        $                 SAN/NFS
                                          Storage


10/16/2012                     Fusion-io Confidential. Preliminary and subject to change                                 12
MS SQL SERVER DEPLOYMENT METHODS
                                                                                     VMware vCenter


              SQL VMs




                              …                                                                         vCenter
                                                                                                      integration


                                                                        ioTurbine Management Server




                                    SAN/NFS
                                    Storage


10/16/2012               Fusion-io Confidential. Preliminary and subject to change                             13
MS SQL SERVER DEPLOYMENT METHODS


  STAND ALONE                             VIRTUAL                           CLUSTERED

     Max Acceleration               Max Cost Optimization               Max Scalability
• Lowest latency                   • Drop-in SAN/NAS acceleration   • Multi-protocol
• Smallest footprint               • Storage workload reduction     • Platform independent
• For I/O intensive applications   • Greater VM density             • For clustered architectures




    FLASH OPTIMIZATION
                                                                                                    14
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 16, 2012   Fusion-io Confidential   15
MS SQL SERVER DEPLOYMENT METHODS


      BEFORE                             AFTER                      BENEFITS


 MS SQL Server Cluster          MS SQL Server Cluster
                                                               ▸ 2x-20x Increase
                                                                 in application
                                                                 performance
  Fibre Channel Switch              Fibre Channel Switch
                                                               ▸ Higher IOPS

                                                               ▸ Very Low Cost
           RAID
                                    ION Data Accelerator       ▸ Open systems
                                                                 server hardware
  Entire                   Entire
Database                 Database            HA                ▸ Break vendor
                                                                 lock-in



                                            October 16, 2012                       16
MS SQL SERVER DEPLOYMENT METHODS

           ION DATA ACCELERATOR
   LUN 0      HIGH AVAILABILITY                LUN 1




                     40Gb




             LUN 0             LUN 0

             LUN 1            LUN 1




                            October 16, 2012           17
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 16, 2012   Fusion-io Confidential   18
HERE ARE SOME ACCOMPLISHMENTS
THAT I CAN SHARE




                      October 16, 2012   Fusion-io Confidential   19
HERE ARE SOME ACCOMPLISHMENTS
THAT I CAN SHARE




                      October 16, 2012   Fusion-io Confidential   20
BEFORE YOU LEAVE…

                                                                                  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/

                                                  October 16, 2012        Fusion-io Confidential       21
THANK YOU
Sumeet Bansal
Principal Solutions Architect
sumeet@fusionio.com

Fusion-io Memory Flash for Microsoft SQL Server 2012

  • 1.
    IOMEMORY FLASH FORSQL SERVER 2012 Sumeet Bansal, Principal Solutions Architect, Fusion-io Fusion-io Confidential—Copyright © 2012 Fusion-io, Inc. All rights reserved.
  • 2.
    Presented by SumeetBansal to the Silicon Valley SQL Server User Group in September 2012 To learn more please contact User Group Leader Mark Ginnebaugh mark@designmind.com
  • 3.
    FLASH SUCCEEDS NEARTHE CPU DRAM L1, L2 & L3 ioMemory CPU Cache Storage Area Network Nanoseconds - Microseconds ACCESS DELAY Milliseconds October 16, 2012 3
  • 4.
    FLASH SUCCEEDS NEARTHE CPU Check out this video if you don’t believe me… http://www.youtube.com/watch?v=w-_Hr5f7QHw October 16, 2012 4
  • 5.
    MS SQL SERVERDEPLOYMENT METHODS STAND ALONE VIRTUAL CLUSTERED Max Acceleration Max Cost Optimization Max Scalability • Lowest latency • Drop-in SAN/NAS acceleration • Multi-protocol • Smallest footprint • Storage workload reduction • Platform independent • For I/O intensive applications • Greater VM density • For clustered architectures FLASH OPTIMIZATION 5
  • 6.
    MS SQL SERVERDEPLOYMENT 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 16, 2012 Fusion-io Confidential 6
  • 7.
    AVAILABILITY GROUP FOR HAAND DISASTER RECOVERY METHODS MS SQL SERVER DEPLOYMENT Primary Data Center Disaster Recovery Data Center Primary (server 1) Asynchronous Mirror Synchronous Secondary (server 3) Mirror Secondary (server 2) Availability Group
  • 8.
    MS SQL SERVERDEPLOYMENT METHODS IOMEMORY AS DIRECTCACHE ioMemory as Block and Cache Storage ▸ Place large tables and active data on the cached LUN Database Application • directCache accelerates reads ▸ Use ioMemory as block storage for data requiring fast writes • log files, tempdb, indexes, partition tables … • Logs ▸ Need to keep them in separate • Temp DB • Indexes Cached ioDrives or use ioDrive Duo Blocks ▸ Manage both modes with ioSphere Primary Tables October 16, 2012 Fusion-io Confidential 8
  • 9.
    MS SQL SERVERDEPLOYMENT METHODS STAND ALONE VIRTUAL CLUSTERED Max Acceleration Max Cost Optimization Max Scalability • Lowest latency • Drop-in SAN/NAS acceleration • Multi-protocol • Smallest footprint • Storage workload reduction • Platform independent • For I/O intensive applications • Greater VM density • For clustered architectures FLASH OPTIMIZATION 9
  • 10.
    MS SQL SERVERDEPLOYMENT 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 16, 2012 Fusion-io Confidential 10
  • 11.
    MS SQL SERVERDEPLOYMENT METHODS EXTERNAL STORAGE FOR VIRTUAL MACHINES TOO COSTLY 1,000 IOPS Virtual environments demand IOPS, (assuming 10 SQL VMs) but centralized storage cannot deliver 10,000 IOPS (assuming 20 hosts) Virtual machine density and physical host density drastically reduce shared IOPS External storage challenges ▸ Fixed IOPS ▸ High $/IOP ▸ Must be shared 200,000 IOPS Total SAN/NFS IOPS Storage 10/16/2012 Fusion-io Confidential. Preliminary and subject to change 11
  • 12.
    MS SQL SERVERDEPLOYMENT METHODS IOTURBINE DELIVERS IOPS TO HOSTS AND VIRTUAL MACHINES Fusion-io ioDrives and ioTurbine 7,500 IOPS Software scales IOPS for virtual per SQL VM IOPS machines 75,000 IOPS Plentiful IOPS at host per host ▸ 7,500 per virtual machine ▸ 75,000 per host 1,500,000 IOPS ▸ 1,500,000 IOPS in aggregate in aggregate (assuming 20 hosts) Significantly reduce external storage costs ▸ Tune for capacity, not performance Tune for capacity, not IOPS $ SAN/NFS Storage 10/16/2012 Fusion-io Confidential. Preliminary and subject to change 12
  • 13.
    MS SQL SERVERDEPLOYMENT METHODS VMware vCenter SQL VMs … vCenter integration ioTurbine Management Server SAN/NFS Storage 10/16/2012 Fusion-io Confidential. Preliminary and subject to change 13
  • 14.
    MS SQL SERVERDEPLOYMENT METHODS STAND ALONE VIRTUAL CLUSTERED Max Acceleration Max Cost Optimization Max Scalability • Lowest latency • Drop-in SAN/NAS acceleration • Multi-protocol • Smallest footprint • Storage workload reduction • Platform independent • For I/O intensive applications • Greater VM density • For clustered architectures FLASH OPTIMIZATION 14
  • 15.
    MS SQL SERVERDEPLOYMENT 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 16, 2012 Fusion-io Confidential 15
  • 16.
    MS SQL SERVERDEPLOYMENT METHODS BEFORE AFTER BENEFITS MS SQL Server Cluster MS SQL Server Cluster ▸ 2x-20x Increase in application performance Fibre Channel Switch Fibre Channel Switch ▸ Higher IOPS ▸ Very Low Cost RAID ION Data Accelerator ▸ Open systems server hardware Entire Entire Database Database HA ▸ Break vendor lock-in October 16, 2012 16
  • 17.
    MS SQL SERVERDEPLOYMENT METHODS ION DATA ACCELERATOR LUN 0 HIGH AVAILABILITY LUN 1 40Gb LUN 0 LUN 0 LUN 1 LUN 1 October 16, 2012 17
  • 18.
    HOW TO GETFEET WET ▸ Caching solutions - directCache or ioTurbine ▸ Tempdb acceleration using ioMemory (even for a cluster) ▸ Gradually move towards a more deeper integration October 16, 2012 Fusion-io Confidential 18
  • 19.
    HERE ARE SOMEACCOMPLISHMENTS THAT I CAN SHARE October 16, 2012 Fusion-io Confidential 19
  • 20.
    HERE ARE SOMEACCOMPLISHMENTS THAT I CAN SHARE October 16, 2012 Fusion-io Confidential 20
  • 21.
    BEFORE YOU LEAVE… 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/ October 16, 2012 Fusion-io Confidential 21
  • 22.
    THANK YOU Sumeet Bansal PrincipalSolutions Architect sumeet@fusionio.com