sql server 2008/2012 high performance and high · pdf fileimprovements to complex business ......
TRANSCRIPT
Copyright © 2011 SIOS Inc. | SIOS Confidential Information
SQL Server 2008/2012
High Performance and
High Availability
Fusion-io and SIOS Partnership
SIOS Technology Corporation
• 10+ years protecting critical applications
• Proven, Best-In-Class High Availability and
Data Replication solutions
• Numerous awards for Windows Availability
• Microsoft Gold Certified Partner
• Certified for Windows and Linux
Fusion-io
• Over 50 PB flash memory deployed
• OEM‟d by HP, Dell, IBM, Supermicro
• Pioneered PCIe based flash storage
• Over 100 times faster IOPS than
traditional high performance disk drives
• Accelerates enterprise databases and
applications.
Combined Solution: Faster performance at a fraction of the cost of a typical SAN - with 100 percent data availability.
3
Today’s Speakers
• Dave Bermingham is recognized within the technology community as a high availability expert and has been a Microsoft MVP in Clustering for the past three years.
• Jamila Gunawardena is a Senior OEM Sales Engineer for Fusion-io. Jamila has over 15 years experience in Software Engineering and System Design.
• Geoff Hiten is a Microsoft SQL MVP and is currently an Infrastructure Architect for Intellinet. He specializes in high-availability and high-performance SQL systems.
4
Agenda
• Fusion-io – Powering Innovation
• SIOS – Realizing High Availability
• Perspectives from SQL Server MVP – The Value
of SIOS-Fusion-io combination
FUSION-IO ACCELERATES
6
Analytics Search
ORACLE Text
Messaging
MQ
Databases
INFORMIX
Virtualization
KVM
HPC
GPFS
Big Data
Security/Logging
Collaboration
Lotus
Development Web
LAMP
Caching Workstation
Real world Microsoft sql results with
iomemory
7
REDUCTION IN AVERAGE DISK QUEUE LENGTH
12x
IMPROVEMENT IN DATABASE REQUEST RESPONSE TIME
2-4x
FASTER BATCH PROCESSING
2-4x
THE COST OF A SAN UPGRADE
½ FEWER AVERAGE TRANSACTION IN QUEUE
50x
FASTER QUERY PROCESSING
10-20x
FASTER TRANSACTION PERFORMANCE
4x
IMPROVEMENTS TO COMPLEX BUSINESS INTELLIGENCE JOBS
3x
FASTER REPORTING
4-6x
The Data Supply Problem IDLE Servers
9
According to Moore's Law, processing performance doubles every 18 months
CPUs
Memory
Storage
Rela
tive P
erf
orm
ance
Growing Performance Gap
2000 2005 1985 1990 1995 2010
IOMEMORY SUCCEEDS NEAR THE CPU
Nanoseconds - Microseconds ACCESS DELAY Milliseconds
ioMemory L1, L2 & L3 CPU Cache
DRAM
Storage Area Network
13
Data Centers Need A Solution
14
The Performance of a SAN…
Optimized for Disks
…in the Palm of Your Hand
Optimized for Flash
Example: Entire Database on ioMemory
If database size permits, placing entire database system on Fusion-io drives provides maximum performance benefit
Entire Database
Most Active Data on ioMemory
If database size is significantly larger, considerable performance gains
can be realized by moving specific components of the database to the
ioDrives:
• Tempdb database
• Indexes
• Frequently accessed tables
• Transaction logs
• Partition tables
Fusion-io iomemory platform
17
OEM PRODUCTS
750 MB/s
145,000 IOPs
640 GB
1.5 GB/s
278,000 IOPs
1.28 TB
6.7 GB/s
1,240,000 IOPs
10.24 TB
2.6 GB/s
937,000 IOPs
2.4 TB
1.5 GB/s
535,000 IOPs
1.2 TB
SQL Server Availability Options
Multisite Clusters
Failover Clusters
Database Mirroring
(High Safety w/Automatic Failover)
Log Shipping, Replication,
Database Mirroring (High Performance)
UPS, RAID, Redundant Hardware
• Block-level replication of ALL data
types, including Hyper-V,
Exchange, SQL, Files, SharePoint
and Oracle to name a few
• Low system resource burden
• Highly optimized for WAN
deployments with 9 levels of
compression
• Synchronous or Asynchronous
• Intuitive MMC interface
• Enables Multi-Site Clusters with
Windows Server 2003 and 2008
Failover Clustering (DKCE only)
• Certified for Windows Server 2008,
2008 R2 and Hyper-V
DataKeeper Cluster Edition for Windows
SQL Server Clustering w/DataKeeper
Node1
Node2
Node2
Shared Storage
In the event of a failure of the primary node, the secondary node automatically
comes into service utilizing the data located on the local Fusion-io ioDrive
The shared storage in a traditional cluster represents a
single point of failure
Traditional Microsoft failover clusters have two or more nodes attached to shared storage and are used to
ensure applications such as SQL Server, File Servers and even entire Hyper-V virtual machines are highly available
DataKeeper Cluster Edition eliminates shared storage as a single point of failure, allowing you
to use ioDrives from Fusion-io for both High Performance and High Availability
Multi-Target Cluster
A single source server can have multiple targets, either
across the LAN or WAN
When the active server fails, the next server in the preferred owners list comes online and becomes the
source of the mirror
23
Native SQL Server Solutions vs. DataKeeper
AlwaysOn Availability Groups
AlwaysOn Failover Cluster
AlwaysOn Failover Cluster with DataKeeper
Support SQL Standard Edition 2 4 4
Distributed Transactions 0 4 4
Unlimited Databases 0 4 4
Automated Client Redirection 2 4 4
Protects System Databases (Master, MSDB, etc)
0
4
4
Eases Database Administration 0 4 4
Support more than 2-nodes in failover configuration
0 4 4
Replicates Data other than SQL 0 0 4
Replication Efficiency 2 0 4
Eliminates SAN as a single point of failure
4 0
4
Supports Multisite Clusters 4 0 4
24
Weighing your options….
• Do I use/need
to lower my SQL Server cost?
replication or log shipping?
to minimize the impact that replication has on the performance of
my application?
Lync Server, Dynamics CRM or other applications that use
distributed transactions?
to ensure that SQL Agent jobs such as database backups,
optimizations, DTS and others continue to run regardless of the
node in service?
to ensure that SQL login accounts are kept in sync between cluster
nodes?
to minimize my administrative burden?
OLTP Performance Results (2x Faster)
Results were obtained with using Quest’s Benchmark Factory TCP-C OLTP database simulation
0
0.001
0.002
0.003
0.004
0.005
0.006
No Mirror (Unsafe) DataKeeper Native SQL Mirroring (Slow)
Average Write Response Time (Smaller is Better)
Avg Time
Log File (Write MB/sec)
0
50
100
150
200
250
300
350
400
450
Log File Throughput
No Mirror
AlwaysOn Sync Mirror
DataKeeper Sync Mirror
DataKeeper is 85% Faster Than AlwaysOn
27
HA Solutions – Software Cost Comparison
$219,968
$35,888
$64,698
$-
$50,000
$100,000
$150,000
$200,000
$250,000
SQL Server 2012 Enterprisewith AlwaysOn
SQL Server 2012 Standardwith DataKeeper
SQL Server 2008 R2Enterprise withDataKeeper
2 Node cluster 2 Sockets per node 16 Cores per node
29
SIOS and Fusion-IO Together
• „Ship = Current teenage slang for Destined
Relationship
• „Ship exists even if the two partners don‟t know or
care about each other yet.
• Two partners ARE a ship, not ARE IN a ship.
• A Ship sails when the partners decide to accept
destiny.
• So why is this a „ship?
30
Experience with SIOS and Fusion-IO
• I delivered a client system using these
technologies in March 2011
“Bleeding Edge”
Both companies delivered specific updates to improve
joint environment.
Worked together ever since on the technical side.
31
Fusion- IO Benefits
• Fast, low-latency IO operations.
• Finally re-balancing the I-O vs M/G/T-Bytes
equation.
• Eliminating the mechanical latency inherent in
rotating media
OLTP Performance Results (2x Faster)
Results were obtained with using Quest’s Benchmark Factory TCP-C OLTP database simulation
0
0.001
0.002
0.003
0.004
0.005
0.006
No Mirror (Unsafe) DataKeeper Native SQL Mirroring (Slow)
Average Write Response Time (Smaller is Better)
Avg Time
33
SIOS DataKeeper Benefits
• Fast, tunable, simple cluster storage replication.
Not just another block replication provider.
• Fast – data throughput is exceptional
• Tunable – adjustable settings for bandwidth and
QoS usage.
• Simple – MMC Snap-in to control. Fire and forget.
34
SIOS and Fusion-IO – Mutual Benefits
• Both are drop-in replacements
Fusion-IO acts like block storage.
SIOS acts like Cluster Storage Resource
• This is why they work so well together
Replacement components leverage the rest of the
ecosystem.
“Aside” technologies limit the rest of the environment.
• Leveraging functionality MULTIPLIES value.
35
What extra value do SIOS and Fusion-IO
create?
• Compare to SQL 2012 AlwaysOn solutions
Failover Clustered Instance
• Shared storage - SAN
• SAN Replication for WAN
• Local Storage only for tempdb
Availability Groups
• No Login sync
• No Agent jobs
• No linked server support
• Upper limit on Database count in AG (practical)
• Enterprise Edition Only
36
How about a Failover Cluster based on Fusion-
IO storage ?
• Databases together AND in sync.
• No rotational latency.
• Still can use local (non-replicated) tempdb
• Standard Edition
37
HA Solutions – Software Cost Comparison
$219,968
$35,888
$64,698
$-
$50,000
$100,000
$150,000
$200,000
$250,000
SQL Server 2012 Enterprisewith AlwaysOn
SQL Server 2012 Standardwith DataKeeper
SQL Server 2008 R2Enterprise withDataKeeper
32 core
16 core
2 socket
2 Node cluster 2 Sockets per node 16 Cores per node
38
How about we do the same across a WAN?
• Automatic WAN compression/acceleration (adjustable)
• Heterogeneous hardware - Better with Fusion, but works with mixed environments DR is often last generation's production - no problem
• Entire instance goes Agent Jobs
Network Name
Linked servers
• Can include Clustered File shares for data import/export
• Still on Standard Edition SQL
• And can still have the screaming I/O performance of the Fusion-IO cards!!
39
The ‘Ship has Sailed
• Truly a 'ship and one I am glad to see. (note: its "is
a ship", not "is in a ship")
• Each is powerful and valuable on their own
• Both technologies were developed as full
replacement for existing component
• Works smoothly with entire ecosystem, but unique
benefits of each multiply when together.