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



Similar documents
Answering the Requirements of Flash-Based SSDs in the Virtualized Data Center

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

Accelerating Database Applications on Linux Servers

Cartal-Rijsbergen Automotive Improves SQL Server Performance and I/O Database Access with OCZ s PCIe-based ZD-XL SQL Accelerator

MS Exchange Server Acceleration

Driving Big Data with OCZ Enterprise SSDs

Supreme Court of Italy Improves Oracle Database Performance and I/O Access to Court Proceedings with OCZ s PCIe-based Virtualized Solution

Accelerating MS SQL Server 2012

Microsoft SQL Server Acceleration Flash Buyer s Guide. Allon Cohen, PhD Scott Harlin. OCZ Storage Solutions, Inc. A Toshiba Group Company

Transforming Data Center Economics and Performance via Flash and Server Virtualization

The Next Frontier of Data Center Virtualization - Flash in the Era of Distributed Storage

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

ZD-XL SQL Accelerator 1.5

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

EMC VFCACHE ACCELERATES ORACLE

EMC XtremSF: Delivering Next Generation Storage Performance for SQL Server

New Features in SANsymphony -V10 Storage Virtualization Software

Remote/Branch Office IT Consolidation with Lenovo S2200 SAN and Microsoft Hyper-V

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

Achieving Real-Time Business Solutions Using Graph Database Technology and High Performance Networks

Virtualization of the MS Exchange Server Environment

SQL Server Virtualization

Microsoft SQL Server 2014 Fast Track

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

Maximum performance, minimal risk for data warehousing

Minimize cost and risk for data warehousing

Data Protection with IBM TotalStorage NAS and NSI Double- Take Data Replication Software

The Methodology Behind the Dell SQL Server Advisor Tool

SAN Conceptual and Design Basics

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

Online Transaction Processing in SQL Server 2008

Microsoft Private Cloud Fast Track

EMC XtremSF: Delivering Next Generation Performance for Oracle Database

ScaleArc for SQL Server

HGST Virident Solutions 2.0

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

Solving I/O Bottlenecks to Enable Superior Cloud Efficiency

Accelerating Real Time Big Data Applications. PRESENTATION TITLE GOES HERE Bob Hansen

Building a Flash Fabric

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

Solution Brief July All-Flash Server-Side Storage for Oracle Real Application Clusters (RAC) on Oracle Linux

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

Cloud Storage. Parallels. Performance Benchmark Results. White Paper.

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

INCREASING EFFICIENCY WITH EASY AND COMPREHENSIVE STORAGE MANAGEMENT

Intel RAID SSD Cache Controller RCS25ZB040

HP ProLiant BL660c Gen9 and Microsoft SQL Server 2014 technical brief

Microsoft Windows Server Hyper-V in a Flash

Improving IT Operational Efficiency with a VMware vsphere Private Cloud on Lenovo Servers and Lenovo Storage SAN S3200

SQL SERVER ADVANCED PROTECTION AND FAST RECOVERY WITH DELL EQUALLOGIC AUTO SNAPSHOT MANAGER

Big data management with IBM General Parallel File System

CERNER EMR: OPTIMIZING IT INFRASTRUCTURES

TOP FIVE REASONS WHY CUSTOMERS USE EMC AND VMWARE TO VIRTUALIZE ORACLE ENVIRONMENTS

A Vision for Tomorrow s Hosting Data Center

Deploying Flash in the Enterprise Choices to Optimize Performance and Cost

Protect Microsoft Exchange databases, achieve long-term data retention

Microsoft Windows Server in a Flash

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

High Availability with Windows Server 2012 Release Candidate

SMB Direct for SQL Server and Private Cloud

Module 14: Scalability and High Availability

Lab Evaluation of NetApp Hybrid Array with Flash Pool Technology

StarWind Virtual SAN for Microsoft SOFS

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

An Oracle White Paper May Exadata Smart Flash Cache and the Oracle Exadata Database Machine

ABSTRACT. February, 2014 EMC WHITE PAPER

TABLE OF CONTENTS THE SHAREPOINT MVP GUIDE TO ACHIEVING HIGH AVAILABILITY FOR SHAREPOINT DATA. Introduction. Examining Third-Party Replication Models

High Performance Server SAN using Micron M500DC SSDs and Sanbolic Software

Accelerating Server Storage Performance on Lenovo ThinkServer

Configuration and Development

Microsoft SQL Server 2005 on Windows Server 2003

Can Flash help you ride the Big Data Wave? Steve Fingerhut Vice President, Marketing Enterprise Storage Solutions Corporation

Comparing SMB Direct 3.0 performance over RoCE, InfiniBand and Ethernet. September 2014

IBM System Storage DS5020 Express

PARALLELS CLOUD STORAGE

Microsoft SQL Server Native High Availability with XtremIO

Intel Platform and Big Data: Making big data work for you.

ScaleMatrix safeguards 100 terabytes of data and continuity of cloud services with CA Technologies

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

LSI SAS inside 60% of servers. 21 million LSI SAS & MegaRAID solutions shipped over last 3 years. 9 out of 10 top server vendors use MegaRAID

SLIDE 1 Previous Next Exit

Enabling High performance Big Data platform with RDMA

Best Practices for Deploying SSDs in a Microsoft SQL Server 2008 OLTP Environment with Dell EqualLogic PS-Series Arrays

Enhancements of ETERNUS DX / SF

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

EMC Virtual Infrastructure for Microsoft Applications Data Center Solution

Dell Compellent Storage Center SAN & VMware View 1,000 Desktop Reference Architecture. Dell Compellent Product Specialist Team

New Features in PSP2 for SANsymphony -V10 Software-defined Storage Platform and DataCore Virtual SAN

Benefits of Solid-State Storage

Deploying Affordable, High Performance Hybrid Flash Storage for Clustered SQL Server

DataStax Enterprise, powered by Apache Cassandra (TM)

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

Running Highly Available, High Performance Databases in a SAN-Free Environment

SQL Server Consolidation Using Cisco Unified Computing System and Microsoft Hyper-V

Building a Scalable Storage with InfiniBand

Migrating VSMs & Performing disaster recovery

The Shortcut Guide to Balancing Storage Costs and Performance with Hybrid Storage

EMC VPLEX FAMILY. Continuous Availability and Data Mobility Within and Across Data Centers

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

WHITE PAPER 1

Transcription:

White Paper Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator Delivering Accelerated Application Performance, Microsoft AlwaysOn High Availability and Fast Data Replication with the Mellanox ConnectX -3 EN Network Interface Card Allon Cohen, PhD Yaron Klein Scott Harlin OCZ Storage Solutions, Inc. A Toshiba Group Company 1

Contents Page 1 2 3 4 5 Introduction Accelerating SQL Server Performance High Availability Through SQL Server AlwaysOn Cutting-Edge HA Data Replication of SQL Server AlwaysOn Conclusion 2 3-4 5-6 7 8 1 Introduction OCZ s new ZD-XL SQL Accelerator is designed to provide optimized and efficient flash acceleration for SQL Server environments through the tight integration of innovative hardware and software elements. This plug-and-play solution has earned the Best of Interop award in the Data Center & Storage category through a potent combination of lightning fast flash performance, a unique cache mechanism that makes advanced and statistically-optimized decisions on what data to cache, and wizard-based implementation software that enables database administrators (DBAs) to setup caching policies that optimize application performance based on SQL Server workloads. Utilizing the capabilities provided by SQL Server AlwaysOn technology, the new ZD-XL SQL Accelerator also has the ability to enhance complete high availability (HA) so not only can SQL Server environments function at the speed of flash, but in the event of planned or unplanned downtime, can continue operations from point of stoppage, retaining all of its data as if no downtime had occurred. The SQL Server AlwaysOn environment is heightened through a collaborated effort with Mellanox Technologies. The combination of the Mellanox ConnectX -3 EN 40 Gigabit Ethernet (GbE) network interface card (NIC) with the ZD-XL SQL Accelerator delivers industry fast data replication for HA services optimizing SQL Server installations even further. The purpose of this white paper is to describe how ZD-XL SQL Accelerator is optimized for SQL Server highly available environments delivering accelerated application performance with Microsoft AlwaysOn functionality and fast data replication with the Mellanox ConnectX-3 EN NIC. White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 2

2 Accelerating SQL Server Performance The OCZ white paper entitled, Introducing ZD-XL SQL Accelerator addresses the key elements required to efficiently accelerate SQL Server applications (via flash volumes, flash caching, cache policy optimization, and cache pre-warming) and how these elements are seamlessly designed into the ZD-XL SQL Accelerator architecture. In quick review, SQL Server data types fall into three categories: Three SQL Server data types: 1. Database data 2. Write Log data 3. tempdb data 1. User data records and indexes are stored in user databases (DBs) as the main repositories for transactional data that SQL Server uses to store, process and present to end-users. 2. All transactions are also logged to the transaction log (commonly referred to as the write log file) by SQL Server and used for recovery and replication processes as well. 3. In cases where transient processing requires storing more data than can be placed in memory, SQL Server uses a temporary database file (tempdb). This data type is transient and non-persistent, and typically written, and shortly thereafter, read by SQL Server when running complex queries. The PCI Express (PCIe) flash-based ZD-XL SQL Accelerator resides on each server s PCIe bus and being on that bus in close proximity to the server CPU, reduces access latency. The ZD-XL SQL Accelerator SSD exposes its flash volumes on-host locally and efficiently distributes random database workloads in parallel between all available flash to provide extremely high input/output operations per second (IOPS) performance comparable to dozens of SSDs, fast SANs or even thousands of HDDs. Since write log and tempdb files are write-intensive, these data types are stored directly on ZD-XL SQL Accelerator flash volumes to take advantage of the high-performance associated with flash. Database data loads are relatively large files that typically reach terabytes, and in some instances, petabytes in size and commonly have hotter and colder data regions so in many circumstances, it is inefficient to place them entirely on flash volumes. Instead, the approach is to cache the most relevant parts of this data to achieve a large boost in performance. Caching database data on flash is performed by ZD-XL SQL Accelerator software which has the capability of partitioning the flash resource pool into two parts one that is used for flash caching, while the other is used for the flash volume itself. Given the large size of the database data volumes, the key is to cache only the hot data within these tables so determining the right and relevant data to White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 3

Data Path Low Latency Hot Zone Detection Sequentiality Detection cache, while making it readily available is what separates the wheat from the chaff in the world of flash caching. Therefore, accessing the right data and making sure that only hot data is resident on SSD flash is critical, see Figure 1. This requirement is achieved through OCZ s innovative Direct Pass Caching Technology. Commands Processed in Parallel Command Size Inspection IOPS Hit Ratio Figure 1: Important data worth caching requires a combination of high IOPS performance and high hit ratios Direct Pass Caching Technology, see Figure 2, utilizes a data path cache director that works in conjunction with a cache analysis engine to achieve high hit ratios by selecting the right data for the specific SQL Server workload. The data path cache director differentiates between relevant and irrelevant data access patterns and filters out background processing tasks (such as error checking and index creation reads) to prevent irrelevant data from entering the cache. It dynamically sends data access metadata to the cache analysis engine which is then able to perform deep statistical out-of-band analysis without interfering with the data Windows Server Microsoft SQL Server Optimized SQL Server Acceleration Policies / Management Windows Kernel Optimal SQL Data Path Cache Splitter In-Server SQL Acceleration Card NIC NIC HBA HBA Out of data path Updates and Optimizations Internal or External HDDs Figure 2: OCZ s innovative ZD-XL SQL Accelerator Direct Pass Caching Technology path itself. Based on this analysis, the cache analysis engine dynamically directs optimized selection rules back to the data path cache director so it knows what hot zones need to be inserted into the flash cache. As the SQL Server database has two very distinct workloads, transactional loads that collect and access information in relatively small queries (requires multiple fast read and write operations) and analytical loads that perform analysis and reporting (requires sequential read and write operations and random read operations), the cache director is able to differentiate between White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 4

them. It provides optimized SQL Server load-aware caching policies to ensure high hit ratios. The AlwaysOn solution provides increased SQL Server availability and enables IT managers with simplified HA deployment and management capabilities that improve the return on investment (ROI) for their hardware purchases. This highly advanced decision engine is able to efficiently select what data to cache in ZD-XL SQL Accelerator s flash cache without needing to perform cycle-consuming analysis in the data path itself. The ability to partition flash volumes provide an optimized solution where the write log and tempdb data files benefit from high flash performance while hot areas of the database are flash cached for immediate use by SQL Server. The result enables all SQL Server data types to be optimized and accelerated. 3 High Availability Through SQL Server AlwaysOn Microsoft SQL Server AlwaysOn is a comprehensive high availability and disaster recovery solution for SQL Server 2012 database applications. It utilizes an Availability Group capability that helps protect SQL Server databases from both planned and unplanned downtime and a Failover Cluster Instance capability that protects each database instance by providing data failover of an entire HA cluster. Once implemented into an enterprise environment, the AlwaysOn solution provides increased SQL Server availability and enables IT managers with simplified HA deployment and management capabilities that improve the return on investment (ROI) for their hardware purchases. Through the AlwaysOn Availability Group, database mirroring functionality is provided and features a rich set of options that improve database availability and resource utilization. Separate from this set of options, the Availability Group also supports database group failover, improved redundancy and data protection. Active Secondary functionality enables utilization of secondary hardware to offload read workloads to a secondary instance, as well as providing full and transactional log backup on a secondary instance. Through these SQL Server AlwaysOn capabilities, and the key elements associated with efficiently accelerating SQL Server applications (i.e. flash volumes, flash caching, cache policy optimization), the ZD-XL SQL Accelerator assures high-performance and high-speed data replication between a primary and secondary accelerated database enabling SQL Server environments to function at the speed of flash while retaining complete high availability. To deliver high availability in a SQL Server environment, a primary and secondary configuration of the application is established in which the ZD-XL SQL Accelerator efficiently maintains two identical copies of data down to the last command. The ability to establish this type of cluster is defined in the White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 5

AlwaysOn Availability Group capability and utilized by ZD-XL SQL Accelerator as depicted in Figure 3. SQL Server Application A Primary SQL Server Application B Secondary ZD-XL Accelerator Flash Cache ZD-XL Accelerator Flash Volume ZD-XL Accelerator Flash Cache ZD-XL Accelerator Flash Volume Database Write Log tempdb Database Write Log tempdb Figure 3: SQL Server High Availability Cluster The result is that the secondary ZD-XL SQL Accelerator now has a live replicated copy of the database data in flash cache. The AlwaysOn Availability Group capability allows data to be replicated (or mirrored) from the primary SQL Server database to secondary SQL Server databases either synchronously or asynchronously. By placing one ZD-XL SQL Accelerator in the primary server, and one in the secondary server, data from the primary SQL Server database will be inserted in the secondary ZD-XL SQL Accelerator s flash cache through an application policy utilizing Cache on Write functionality. The active/active topology functionality supported by the AlwaysOn Failover Cluster Instance capability allows the SQL Server application on the primary side to read or write data to the primary database, and the SQL Server application on the secondary side can simultaneously generate read-only workload queries. All of the relevant queries processed from the secondary side database will also be inserted into the secondary ZD-XL SQL Accelerator s flash cache based on policies through the Cache on Write capability. Additionally, the AlwaysOn Availability Group capability allows write log data from the primary ZD-XL SQL Accelerator flash volume to be replicated (or mirrored) to the secondary ZD-XL SQL Accelerator flash volume. The result is that the secondary ZD-XL SQL Accelerator now has a live replicated copy of the database data in flash cache as well as a live replicated copy of write log data in its flash volume providing the best of both worlds high availability of data in the event of planned or unplanned downtime and accelerated flash performance when SQL Server requires any of these data types. White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 6

As the ZD-XL SQL Accelerator accelerates both local server performance and the replication capabilities of AlwaysOn, enterprises can benefit from the extended bandwidth capabilities of 40GbE connectivity. Since AlwaysOn secondary replicas may be accessed with reads, selecting the right replicated data to cache on the ZD-XL SQL Accelerator not only improves failover performance but is also extremely valuable for the read processes performed on the secondary site. For example, if the mirrored volume is used as a source for an Extract/Transform/Load (ETL) process, the latest data is already cached on the replica thereby significantly reducing ETL run times. Additionally, the ZD-XL SQL Accelerator s Cache on Write functionality may be combined with its warm-up analysis and scheduling capability to assure that all of the required data (old and new) is available on the cache precisely when needed. Similarly, if the replica is used as the source for a backup process, the process will be considerably accelerated as well. 4 Cutting-Edge HA Data Replication of SQL Server AlwaysOn As the ZD-XL SQL Accelerator accelerates both local server performance and the replication capabilities of AlwaysOn, enterprises can benefit from the extended bandwidth capabilities of 40GbE connectivity. To demonstrate the data replication discussed in the previous section at even faster performance Mellanox ConnectX-3 EN NIC + OCZ s ZD-XL SQL Accelerator = Cutting-Edge Data Replication and Accelerated Performance of SQL Server AlwaysOn Environments in a SQL Server AlwaysOn environment, a solution was designed through a collaborated effort between Mellanox Technologies and OCZ. The solution combines the Mellanox ConnectX- 3 EN 40 GbE network interface card (that delivers four times better Ethernet connectivity than typical 10GbE interconnect capabilities) with the ZD-XL SQL Accelerator that provides SQL Server environments with accelerated flash speed and are highly available. To achieve this increase in data replication speed, the SQL Server AlwaysOn cluster contains a primary server and a secondary server, each with a ZD-XL SQL Accelerator and a Mellanox ConnectX-3 EN NIC. The primary server contains a SQL Server instance that performs accelerated transactional loads enabled by ZD-XL SQL Accelerator caching policies. At the same time, this database is used as the source for a synchronous replica on the secondary server. White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 7

OCZ s ZD-XL SQL Accelerator assures high-performance and high-speed data replication between a primary and secondary accelerated database. The main DB on the secondary server is accelerated (by employing the ZD-XL SQL Accelerator s Cache on Write capability), while the replica transactional log resides on an all-flash volume exposed by ZD-XL SQL Accelerator. High availability of this environment is maintained by replicating the data stored in the primary ZD-XL SQL Accelerator flash cache and flash volume using the ConnectX-3 EN NIC to the secondary server. Since synchronous replication requires log hardening (write confirmation) by the replica before a transaction is committed on the primary server, placing the replica on the flash volume not only speeds the replication, but also significantly reduces the impact that synchronous replication has on the primary instance. The end result provided by the combination of technology is an environment that functions at the speed of flash while providing high availability that assures no data loss in case of failure. The primary server benefits from both the local acceleration and the accelerated responses from the replica, while at the same time, the replica can be used with considerably accelerated active reads for processes such as analysis, ETL and backup, without impacting the primary server. 6 Conclusion Through a combination of SQL Server AlwaysOn capabilities and the key elements associated with efficiently accelerating SQL Server applications (i.e. flash volumes, flash caching, cache policy optimization), OCZ s ZD-XL SQL Accelerator assures high-performance and high-speed data replication between a primary and secondary accelerated database. This innovative hardware/ software storage solution enables SQL Server environments to function at the speed of flash while retaining complete high availability, so in the event of planned or unplanned downtime, SQL Server can continue operations from the point of stoppage, retaining all of its data as if no downtime had occurred. White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 8

Contact us for more information OCZ Storage Solutions 6373 San Ignacio Avenue San Jose, CA 95119 USA P 408.733.8400 E sales@oczenterprise.com W ocz.com/enterprise EMAIL SALES TEAM VISIT OCZ ENTERPRISE Disclaimer OCZ may make changes to specifications and product descriptions at any time, without notice. The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Any performance tests and ratings are measured using systems that reflect the approximate performance of OCZ products as measured by those tests. Any differences in software or hardware configuration may affect actual performance, and OCZ does not control the design or implementation of third party benchmarks or websites referenced in this document. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to any changes in product and/or roadmap, component and hardware revision changes, new model and/or product releases, software changes, firmware changes, or the like. OCZ assumes no obligation to update or otherwise correct or revise this information. OCZ MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. OCZ SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL OCZ BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF OCZ IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ATTRIBUTION 2014 OCZ Storage Solutions, Inc. A Toshiba Group Company. All rights reserved. OCZ, the OCZ logo, OCZ XXXX, OCZ XXXXX, [Product name] and combinations thereof, are trademarks of OCZ Storage Solutions, Inc. A Toshiba Group Company. All other products names and logos are for reference only and may be trademarks of their respective owners. White Paper: Optimizing SQL Server AlwaysOn Implementations with OCZ s ZD-XL SQL Accelerator 2014 OCZ Storage Solutions 9