Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards

Similar documents
ACCELERATE SQL SERVER 2014 WITH BUFFER POOL EXTENSION ON LSI NYTRO WARPDRIVE

Increase Database Performance by Implementing Cirrus Data Solutions DCS SAN Caching Appliance With the Seagate Nytro Flash Accelerator Card

Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card

Achieving Higher VDI Scalability and Performance on Microsoft Hyper-V with Seagate 1200 SAS SSD Drives & Proximal Data AutoCache Software

Accelerating Server Storage Performance on Lenovo ThinkServer

Optimizing SQL Server Storage Performance with the PowerEdge R720

Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups

Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator

Microsoft SQL Server Native High Availability with XtremIO

Evaluation of Dell PowerEdge VRTX Shared PERC8 in Failover Scenario

Protect SQL Server 2012 AlwaysOn Availability Group with Hitachi Application Protector

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Maximum performance, minimal risk for data warehousing

Removing Performance Bottlenecks in Databases with Red Hat Enterprise Linux and Violin Memory Flash Storage Arrays. Red Hat Performance Engineering

HP ProLiant DL580 Gen8 and HP LE PCIe Workload WHITE PAPER Accelerator 90TB Microsoft SQL Server Data Warehouse Fast Track Reference Architecture

HP ProLiant BL660c Gen9 and Microsoft SQL Server 2014 technical brief

Improve Business Productivity and User Experience with a SanDisk Powered SQL Server 2014 In-Memory OLTP Database

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Boost Database Performance with the Cisco UCS Storage Accelerator

DELL TM PowerEdge TM T Mailbox Resiliency Exchange 2010 Storage Solution

Intel RAID SSD Cache Controller RCS25ZB040

WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE

Benchmarking Cassandra on Violin

SQL Server 2014 Optimization with Intel SSDs

Virtualizing Microsoft SQL Server 2008 on the Hitachi Adaptable Modular Storage 2000 Family Using Microsoft Hyper-V

Intel Solid- State Drive Data Center P3700 Series NVMe Hybrid Storage Performance

Lab Evaluation of NetApp Hybrid Array with Flash Pool Technology

Appendix A Core Concepts in SQL Server High Availability and Replication

EMC VFCACHE ACCELERATES ORACLE

Express5800 Scalable Enterprise Server Reference Architecture. For NEC PCIe SSD Appliance for Microsoft SQL Server

Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability

CONSOLIDATING MICROSOFT SQL SERVER OLTP WORKLOADS ON THE EMC XtremIO ALL FLASH ARRAY

Software-defined Storage at the Speed of Flash

Analysis of VDI Storage Performance During Bootstorm

Microsoft SharePoint Server 2010

HP ProLiant DL380p Gen mailbox 2GB mailbox resiliency Exchange 2010 storage solution

The Benefits of Virtualizing

Enterprise SSD Interface Comparisons

How To Store Data On An Ocora Nosql Database On A Flash Memory Device On A Microsoft Flash Memory 2 (Iomemory)

Performance Report Modular RAID for PRIMERGY

Microsoft SharePoint Server 2010

EMC XtremSF: Delivering Next Generation Storage Performance for SQL Server

Microsoft SQL Server 2014 Fast Track

SQL Server 2012/2014 AlwaysOn Availability Group

Azure VM Performance Considerations Running SQL Server

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

VMware Virtual SAN Backup Using VMware vsphere Data Protection Advanced SEPTEMBER 2014

Microsoft SQL Server 2008 R2 Enterprise Edition and Microsoft SharePoint Server 2010

N /150/151/160 RAID Controller. N MegaRAID CacheCade. Feature Overview

The Revival of Direct Attached Storage for Oracle Databases

PSAM, NEC PCIe SSD Appliance for Microsoft SQL Server (Reference Architecture) September 11 th, 2014 NEC Corporation

Accelerating Enterprise Applications and Reducing TCO with SanDisk ZetaScale Software

HP SN1000E 16 Gb Fibre Channel HBA Evaluation

Scaling Database Performance in Azure

LSI MegaRAID CacheCade Performance Evaluation in a Web Server Environment

HP Smart Array Controllers and basic RAID performance factors

Converged storage architecture for Oracle RAC based on NVMe SSDs and standard x86 servers

HP D3600 Disk Enclosure 4,000 Mailbox Resiliency Exchange 2013 Storage Solution

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

Best practices for operational excellence (SharePoint Server 2010)

Achieving a High Performance OLTP Database using SQL Server and Dell PowerEdge R720 with Internal PCIe SSD Storage

Dell Exchange 2013 Reference Architecture for 500 to 20,000 Microsoft Users. 1 Overview. Reliable and affordable storage for your business

SQL Server AlwaysOn (HADRON)

Data Center Storage Solutions

MSM Software Feature Difference Between the MR Controller and the IR Controller

Inside Lustre HSM. An introduction to the newly HSM-enabled Lustre 2.5.x parallel file system. Torben Kling Petersen, PhD.

Capacity Planning for Microsoft SharePoint Technologies

SMB Direct for SQL Server and Private Cloud

Delivering Accelerated SQL Server Performance with OCZ s ZD-XL SQL Accelerator

PowerVault MD1200/MD1220 Storage Solution Guide for Applications

The 8Gb Fibre Channel Adapter of Choice in Oracle Environments

How To Scale Myroster With Flash Memory From Hgst On A Flash Flash Flash Memory On A Slave Server

SUN STORAGE F5100 FLASH ARRAY

EMC Business Continuity for Microsoft SQL Server Enabled by SQL DB Mirroring Celerra Unified Storage Platforms Using iscsi

Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems

Flash Performance for Oracle RAC with PCIe Shared Storage A Revolutionary Oracle RAC Architecture

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

The Data Placement Challenge

Dell Virtualization Solution for Microsoft SQL Server 2012 using PowerEdge R820

Leveraging EMC Fully Automated Storage Tiering (FAST) and FAST Cache for SQL Server Enterprise Deployments

The Flash-Transformed Financial Data Center. Jean S. Bozman Enterprise Solutions Manager, Enterprise Storage Solutions Corporation August 6, 2014

Critical SQL Server Databases:

XenDesktop 7 Database Sizing

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Veeam Backup & Replication Enterprise Plus Powered by Cisco UCS: Reliable Data Protection Designed for Virtualized Environments

System Requirements Version 8.0 July 25, 2013

Virtualizing SQL Server 2008 Using EMC VNX Series and Microsoft Windows Server 2008 R2 Hyper-V. Reference Architecture

ScaleArc for SQL Server

Reference Architecture for a Virtualized SharePoint 2010 Document Management Solution A Dell Technical White Paper

RAID 5 rebuild performance in ProLiant

Power Efficiency Comparison: Cisco UCS 5108 Blade Server Chassis and Dell PowerEdge M1000e Blade Enclosure

EMC MULTISITE DISASTER RECOVERY FOR MICROSOFT SQL SERVER 2012

Diablo and VMware TM powering SQL Server TM in Virtual SAN TM. A Diablo Technologies Whitepaper. May 2015

Accelerating Microsoft Exchange Servers with I/O Caching

High Performance SQL Server with Storage Center 6.4 All Flash Array

Deploying Microsoft Exchange Server 2010 on the Hitachi Adaptable Modular Storage 2500

Transcription:

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate Nytro Flash Accelerator Cards Technology Paper Authored by: Mark Pokorny, Database Engineer, Seagate Overview SQL Server 2014 provides failover capability for databases between Windows Failover Cluster Service nodes using the AlwaysOn Availability Groups (AAG) feature. AAGs include two types of availability replicas: a single primary replica which hosts the primary databases, and one to eight secondary replicas, each hosting a set of secondary databases. These replicas serve as potential failover targets for the availability group. User applications that require one or more individual databases for their information store can now be grouped together and achieve failover and redundancy at the same time between replicas. AAGs use the Windows Server Failover Cluster (WSFC) feature to monitor quorum between nodes for failover policy. An additional witness server is no longer required to support failover, potentially saving costs and data center space. Failover can be configured for manual or automatic. The virtual network name is used to transfer ownership from a primary to secondary replica. Secondary replicas are active read-only databases that can also be used to offload workloads from the primary for reporting, analytics and backups. Multiple availability groups can be supported and there is no enforced limit as this is dependent on workload and server resources. These databases can be configured for synchronous or asynchronous mode. Availability Modes Synchronous Commit Mode: In this mode transactions are not committed on the primary replica until they have received confirmation the transaction has been hardened on the secondary replica transaction log. This ensures there is no data loss at the secondary replica but does create transaction latency. Asynchronous Commit Mode: In this mode transactions are committed and hardened to the primary replica transaction log without waiting for confirmation from the secondary replica. Transaction latency is minimal, however there is a risk of data loss at the secondary replica. This document focuses on using the synchronous commit mode to help ensure no data loss. Microsoft warns that this protection comes at the cost of increased transaction latency. However, careful selection of the products used for the serverto-server communication and database storage can help mitigate the overhead of using the synchronous mode. The use of flash-based storage can significantly reduce response times over using HDDs.

Problem Definition Workload Analysis and Definitions A primary concern for database administrators is latency. User applications that depend on SQL Server as their information store require low latency service times for Online transaction processing (OLTP) workloads. SQL Server has a rich feature set to help identify bottlenecks known as Wait Statistics. This information can be viewed with Windows Perfmon Counters or SQL Server Dynamic Management Views. High Page I/O Latch times can be an indicator the storage subsystem is not able to meet the service requirements for a given SQL Server workload. This occurs when a page is being retrieved from disk into the SQL Server buffer pool memory. Paul S. Randal of SQL Skills writes: Most SQL Servers today are I/O bound - that s a generally agreed-on statement by DBAs and consultants in the field. This means that the major factor in server performance is its ability to perform I/O operations quickly. If the I/O subsystem cannot keep up with the demand being placed on it, then the SQL Server workload will suffer performance problems. ¹ Solution Overview The Seagate Nytro flash accelerator card is a solid state primary storage solution for accelerating SQL Server workloads. The small PCIe foot print gives database administrators the option of easily transforming their storage subsystem to solid state storage. Features and benefits include: In-box drivers for Windows Server 2012 R2 Average response times less than 50 microseconds High throughput up to 4Gb/s on PCIe 3.0 SandForce DuraClass technology for enterprise quality All Microsoft drivers are WHQL qualified Installs as a single drive no user configuration Built with advanced solid state capabilities and technology that optimizes endurance and reliability, the Nytro card offers an enterprise ready solution. Using a host offload architecture implementation this solution reduces server CPU and DRAM dependency leaving these resources for the host and SQL Server Instance to utilize. Solution Details and Test Configuration Solution Components Windows Domain Windows Server 2012 R2 Failover Cluster Service SQL Server 2014 Enterprise Edition AlwaysOn Availability Groups (primary/secondary replica) Seagate Nytro flash acceleration cards Solution Architecture using Nytro Flash Accelerator Card Figure 1 demonstrates SQL Server Availability Groups architecture with Nytro flash accelerator cards deployed. Primary Site SQL Server Synchronized Commit Asynchronous Commit Auto Database Failover Active Secondary Low Latency Storage SQL Server Secondary Site Database Files Database Files Nytro Flash Accelerator Card Figure 1. Layout of the Tested Referenced Architecture Nytro Flash Accelerator Card 1 How to examine I/O subsystem latencies from within SQL Server, SQL Skills Blog Post, April 11, 2011 Authored By Mark Pokorny, Database Engineer, Seagate

Tested Performance Metrics There are several key storage performance metrics (Figure 2) as well as SQL Server performance metrics, which are key to achieving a productive and accelerated SQL Server deployment. The storage performance metrics include IOPS, throughput and latency. When testing these metrics it is important that the comparisons in performance are made with the same I/O size: typically 8KB, 64KB or 512KB. IOPS Throughput Latency I/O Size READ WRITE Application Requests 512KB I/O BUS 64KB Storage Read/Write Operation Storage 8KB The # of I/O requests satisfied per unit of time which is an application request to a storage subsystem to perform a read or write operation. The amount of data per unit time actually moved across an I/O bus in the course of executing an I/O read or write operation. The time needed to complete a read or write operation from the initiation state to the completion state. The I/O request size by an application from a storage subsystem to perform a read or write operation. Figure 2. Storage Performance Metrics SQL Server performance metrics (Figure 3) include Page I/O Latch, database transactions and bytes sent to the replica database. Page I/O Latch Database Transaction Bytes Sent to Replica DB (primary to secondary) Memory Remote Data Transfer Request for database page not in the memory buffer pool Query Results Database Engine Delete Drop Truncate Select Alter Update Create Insert User Query Primary Replica Database Secondary Replica Database Storage it takes to retrieve a page from Nonvolatile storage (disk, flash) into Volatile storage DRAM (buffer pool). Operations that create a single logical unit of work. # of bytes sent to the remote availability replica per second. On the primary replica, this is the # of bytes sent to the secondary replica. Figure 3.: SQL Server Performance Metrics

Solution Implementation Steps To deploy the SQL Server 2014 AlwaysOn Availability Groups feature with the Nytro card, the following steps are typically used for implementing/testing this solution: 1. Install the Nytro cards in the servers that participate in the Windows Server Failover Cluster (WSFC) SQL Server Availability Groups configuration. 2. Configure local Windows volumes that correspond with the Nytro card storage. 3. Join the servers to the Windows domain. 4. Apply Windows updates to all servers. 5. Create SQL Server domain accounts. (All Availability Groups need to be in the same domain). 6. Ensure the.net Framework 3.5 feature is enabled on all servers that will participate in the WSFC SQL Server Availability Groups configuration. 7. Install SQL Server 2014 as a standalone instance on all servers that will participate in the WSFC SQL Server Availability Groups configuration. 8. Review SQL Server 2014 Service Packs or updates on all instances that will participate in the WSFC SQL Server Availability Groups configuration and apply as recommended by Microsoft. 9. Ensure the Windows volume drive letters that contain the associated database files that will participate in the WSFC SQL Server Availability Groups configuration are the same across all servers. 10. Install the WSFC feature on each node that will participate in the WSFC SQL Server Availability Group configuration. 11. Log into one of the servers that will participate in the WSFC SQL Server Availability Groups configuration with a domain account. 12. Create a WSFC performing the necessary validation tests required (storage tests can be skipped). 13. On each SQL Server instance that will participate in the WSFC SQL Server Availability Groups configuration, enable the AlwaysOn Availability Group feature for the MSSQLSERVER service. 14. Restart each SQL Server instance that will participate in the WSFC SQL Server Availability Groups configuration. 15. Identify databases that will participate in the WSFC SQL Server Availability Groups configuration. Databases must be configured for full recovery mode. 16. On the primary node create full backups of the databases to participate in the WSFC SQL Server Availability Group configuration. 17. On the primary node create log backups of the databases to participate in the WSFC SQL Server Availability Groups configuration. 18. On the secondary node perform a database restore with the NORECOVERY option of the full backups. 19. On the secondary node perform a transaction log restore with the NORECOVERY option of the log backups. 20. Create the Availability Groups with Synchronous Commit mode using the join only option. NOTE: For more detailed information regarding installation/configuration of SQL Server 2014, and Windows Server platforms please see the applicable documentation listed at http://www.microsoft.com.

Tested Configuration Overview The following components were used in this solution to measure metrics with and without using the card for SQL Server data and log files. Hardware Item Quanity Version Details/Notes Dell Server 2 R920 Power Edge Series Intel Xeon Processor 2 E7-4820 v2 Ivy Bridge-E/EP 2.0 GHz 8 physical cores Memory 16 DDR3 1600MT/s 128GB Dell PERC 2 H730P - Firmware version = 4.220.00-2997 - Driver = Windows Server 2012 R2 - Driver Version = 6.600.21.8 Dell PERC Virtual Drive Dell PERC Virtual Drive Seagate Nytro Flash Card Virtual Drive 2 N/A - SQL Server Log File - Disks = 4 - RAID Level = 10 - Size = 557GB - Strip Size = 64KB - Disk Cache Policy = Disable - Read Policy = No Read Ahead - I/O Policy = Direct I/O - Current Write Policy = Write Back BBU - Default Write Policy = Write Back BBU - Current Access Policy = Read Write - Default Access Policy = Read Write 2 N/A - SQL Server Data File - Disks = 16 - RAID Level = 10 - Size = 2TB - Strip Size = 64KB - Disk Cache Policy = Disable - Read Policy = No Read Ahead - I/O Policy = Direct I/O - Current Write Policy = Write Back BBU - Default Write Policy = Write Back BBU - Current Access Policy = Read Write - Default Access Policy = Read Write 2 N/A - SQL Server Data File - SQL Server Log File - Size = 3.2TB - Interface = PCIe Gen 3.0 - Firmware Package Version = 12.00.02.00 - Firmware Version = 112.00.51.00 - Driver = Windows Server 2012 R2 - Driver Version = 2.10.66.0 - Formatting = Performance Over Provisioning Broadcom Network Card 8 NetExtreme - Gigabit Connection Software Item Quanity Version Details/Notes Windows Server 2012 R2 2 6.3.9600 Build 9600 Data Center Edition SQL Server 2014 2 12.0.2254.0 MegaRAID Storage Manager 2 14.05.02.00 - Enterprise Edition - Database Size = 772GB - Users = 100

Best Practices / Configuration The following configuration best practices were used for the benchmark results that follow. SQL Server Parameter Configuration Min/Max Memory Configure based on operating system total. Configure buffer pool memory accordingly; leave at least 4GB for operating system. Local Security Policy Lock pages in memory. Assign privilege to SQL Server service account. Instant File Initialization Perform volume maintenance tasks. Assign privilege to SQL Server service account. Volume Assignment Separate volume/disks for Data, Log, and Tempdb. Operating System Parameter Configuration Notes Windows Updates Drivers Page File Volume Formatting Power Management Ensure Windows has the latest updates applied. Ensure the drivers are up to date. Set manually and maximum size when possible. Ensure Windows volumes are formatted with 64K allocation unit for SQL Server files. Configure for High Performance Server Parameter Configuration Notes BIOS Updates BIOS Configuration Ensure BIOS is up to date. Disable CPU power management throttling features. Storage Parameter Configuration Notes Firmware Ensure Firmware is up to date. Performance Results The following metrics were observed during the solution testing with a standard OLTP-type workload that consisted of 70% write and 30% read I/O operations. The storage performance results below (Figure 4) demonstrate that Nytro achieves improved performance. It is important to note that for some of these metrics, lower may be better as well. Figure 4. Storage Performance Metrics Results

The following is the average results for the SQL Server performance metrics (Figure 5). Figure 5. SQL Server Storage Performance Metrics Using SQL Server with a Nytro card lowers SQL Server wait times, improves latency, and transaction throughput for Availability Group configurations. Conclusion Reducing SQL Server wait times and application latency are high priorities for database administrators. The Seagate Nytro flash accelerator card used with SQL Server 2014 AAGs provides database administrators another option for meeting their objectives with high performance and ease of use compared to traditional shared storage solutions. seagate.com AMERICAS Seagate Technology LLC 10200 South De Anza Boulevard, Cupertino, California 95014, United States, 408-658-1000 ASIA/PACIFIC Seagate Singapore International Headquarters Pte. Ltd. 7000 Ang Mo Kio Avenue 5, Singapore 569877, 65-6485-3888 EUROPE, MIDDLE EAST AND AFRICA Seagate Technology SAS 16 18, rue du Dôme, 92100 Boulogne-Billancourt, France, 33 1-4186 10 00 2015 Seagate Technology LLC.. All rights reserved. Printed in USA. Seagate, Seagate Technology and the Spiral logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. Nytro, DuraClass and SandForce are either trademarks or registered trademarks of Seagate Technology LLC or one of its affiliated companies in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners. When referring to drive capacity, one gigabyte, or GB, equals one billion bytes and one terabyte, or TB, equals one trillion bytes. Your computer s operating system may use a different standard of measurement and report a lower capacity. In addition, some of the listed capacity is used for formatting and other functions, and thus will not be available for data storage. Actual data rates may vary depending on operating environment and other factors. The export or re-export of Seagate hardware or software is regulated by the U.S. Department of Commerce, Bureau of Industry and Security (for more information, visit www.bis.doc.gov), and may be controlled for export, import and use in other countries. Seagate reserves the right to change, without notice, product offerings or specifications. TP675.1-1503US, March 2015