MySQL High Availability. MMM & MHA in DP 卢钧轶

Size: px
Start display at page:

Download "MySQL High Availability. MMM & MHA in DP 卢钧轶"

Transcription

1 MySQL High Availability MMM & MHA in DP 卢钧轶

2 Agenda Why we need a HA solution MMM in DP MHA in DP

3 When We Need to Switch Server Server down Server maintenance Logical : DDL on big table Physical: memory replacement

4 Why We Need A Failover Solution Failover without tool: Notify DBA for MySQL Failure Kill old Find the latest Slave as Candidate Execute change to on each Slave Direct APP to new IP & restart

5 Difficulties For MySQL Failover file2:3000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:3000

6 MySQL HA options Stand-by MMM MHA + VIP DRDB + (heartbeat,keepalive) Proxy MHA + HAProxy Cluster MySQL Cluster Galera

7 Why We Chose MMM in 2010 MMM MHA Entire HA solution Yes only failover VIP Built-in support Needs user defined script CLI interface All included in mmm_control Several Perl script Deployment CPAN++Agent CPAN+Manager+Agent + SSH authorization

8 MMM in DP Used in Production since M-M / M-M-S Clusters Modifications in Source Code

9 MMM Is VIP based HA solution Message between & Agent Auto Failover for both M/S Is Not: SQL router Load Balancer Active ( latest code release in )

10 Simple Usage Web Server vip1 Standby

11 Basic Usage vip1 Slave vip2 Standby Slave vip3 Write Read Web Server

12 Role Based Machine Group Job Group vip5 vip1 vip2 Frontend Group vip1 & vip2 Slave vip3 / vip5 Slave vip4 Backend Group vip3 & vip4

13 MMM architecture vip1 vip2 checker replication DB1(online):role1 DB2(online):role2 DB3(online):role3 DB4(online):role4 role status Slave vip3 Slave vip4

14 MMM Logic

15 MMM Slave Switch process_command mmm_control set_offline DB4 vip1 vip2 OFFLINE DB1(online):role1 DB2(online):role2 DB3(online):role3 DB4(offline) Slave vip3 Slave

16 MMM Slave Switch distributed_roles vip1 vip2 Slave vip3 Slave DB1(online):role1 DB2(online):role2 DB3(online):role3,role4 DB4(offline)

17 MMM Slave Switch send_status_to_agents vip1 vip2 Slave vip3 Slave DB1(online):role1 DB2(online):role2 DB3(online):role3,role4 DB4(offline) role4 added

18 How MMM Do Mark-Down vip1 vip2 Slave vip3 Slave vip4

19 How MMM Do Mark-Down set global read_only=1 vip1 vip2 Slave vip3 Slave vip4

20 How MMM Do Mark-Down remove VIP vip2 Slave vip3 Slave vip4

21 How MMM Do Mark-Down vip2 Slave vip3 Slave vip4 select MASTER_POS_WAIT()

22 How MMM Do Mark-Down vip2 Slave vip3 Slave vip4 show master status

23 How MMM Do Mark-Down vip2 Data Consistency??? change master to Slave vip3 Slave vip4

24 How MMM Do Mark-Down vip1&vip2 Slave vip3 Slave vip4 vip1 online

25 Cons of MMM Global read_only is hard to get on busy serv ers Slow slave bring more downtime Change master on slaves is sequential Communication between agent & monitor is based on message MMM is fundamentally broken -- Baron Schwartz:

26 Con #1 Slow slave brings more downtime VIP1 cannot be accessed during this period vip2 Slave vip3 Job Slave vip4 select MASTER_POS_WAIT()

27 Eliminate Replication Lag Logical Methods: Chop oak-chunk-update Avoid peak hour jobs Physical Methods: Prefetch Disk upgrade

28 Shannon Systems Direct-IO PCIe SSD 兼具可靠性和安全性 Smart FTL Flash Translation Layer 6.4TB 全球单卡最大容量 - 热 冷数据动态跟踪 - GC/WL 综合动态平衡 写放大因子最小化 - 双重数据保护机制 - 最大化NAND Flash 寿命 完善容错数据保护机制 - 高达 40bit/1KB ECC或更高 - 读写 擦除出错处理及数据保护 - 页面 坏块出错处理及数据保护 端到端数据保护 - 企业级端到端数据链路保护 (Data path protection) - 多重数据完整性及正确性校 验 掉电数据保护 67/9µs 超低随机读/写延迟 - 完善的突发掉电数据保护机制 - 防止系统不正常关机的数据完整性和安全 性 25W 更小峰值功耗 节省运维成本 过热保护机制 - 防止系统过热对系统造成不可恢复 损伤

29 Shannon Direct-IOTM PCIe SSD G2T 测试数据 Capacity 800GB 1.2TB 1.6TB 3.2TB/6.4TB Flash 闪存类型 MLC MLC MLC MLC Read Bandwidth 读宽带 1.4GB/s 2.0GB/s 2.6GB/s 2.6GB/s Write Bandwidth 写宽带 1.2GB/s 1.8GB/s 1.8GB/s 1.9GB/s Random Read Latency(4KB) 随机读延迟 67us 67us 67us 67us Random Write Latency (4KB) 随机写延迟 9us 9us 9us 9us Random Read IOPS(4KB) 随机读IOPS 300, , , ,000 Random Write IOPS(4KB) 随机写IOPS 310, , , ,000 Endurance 寿命 10PB 15PB 20PB 40PB

30 What Have We Done However replication lag can still be exist Improvement: Only wait for new master to catch up

31 Con #2 Global read_only is hard to get on busy servers 1. Invalidates the Query Cache. 2. Waits for all in-flight updates to complete and at the same time it blocks all incoming updates. 3. Closes all open tables and expels them from the table cache. Wait for all SELECT queries to complete. Incoming SELECT queries will get blocked. 4. Blocks COMMITs.

32 What Have We Done Manually check long sql before switch Improvement: remove master vip before read_only to kill sql before read_only

33 What Have We Done

34 How DP-MMM Do Failover Clients remove VIP vip2 Slave vip3 Slave vip4

35 How DP-MMM Do Failover Clients Kill Active Trx vip2 Slave vip3 Slave vip4

36 How DP-MMM Do Failover Clients set global read_only=1 vip2 Slave vip3 Slave vip4

37 How DP-MMM Do Failover Clients vip2 Slave vip3 Slave vip4 MASTER_POS_WAIT() & SHOW MASTER STATUS

38 How DP-MMM Do Failover Clients vip2&vip1 Slave vip3 Slave vip4 VIP1 added

39 How DP-MMM Do Failover Clients vip2 Slave vip3 Slave vip4 CHANGE MASTER TO

40 Con #3 Why MMM is fundamentally broken: Communication based on message between monitor & agent Agent manage its own state Data Loss

41 Example of Broken set_offline db1 success!

42 Cause of Broken Instance 1 State: DB1: ONLINE (role: write) DB2: ONLINE (role: reader) DB1 You are ONLINE Instance 2 State: DB1: ONLINE (role: write) DB2: ONLINE (role: reader) You are ONLINE DB2 VIP2

43 Cause of Broken mmm_control set_offline db2 Instance 1 State: DB1: ONLINE (role: write,reader) DB2: OFFLINE DB1 You are OFFLINE VIP2 Instance 2 State: DB1: ONLINE (role: write) DB2: ONLINE (role: reader) You are ONLINE DB2

44 What Have We Done Fix multiple monitor instance bug. But we cannot fix its architecture mmm_control set_online db1 mean NOTHING but confirmation of command

45 Cons of MMM Global read_only is hard to get on busy serv ers Slow slave bring more downtime Change master on slaves is sequential Communication between agent & monitor is based on message

46 Why We Chose MHA in 2014 MMM MHA Data Loss Every Time after failover Almost none Communicate with DAL N/A User defined script HA Solution without N/A VIP Supported

47 How MHA Do Failover Slave1 Slave2 Slave3

48 How MHA Do Failover Slave1 Slave2 Slave3 Connect to all nodes and check: master is really dead all slaves is the slave of dead master last failover is ealier than $last_failover_minute

49 How MHA Do Failover Slave1 Slave2 Slave3

50 Call master_ip_failover_script master_ip_failover_script Slave1 file1:1000 Force Shutdown Slave2 file2:3000 Slave3 file1:3000

51 Find Latest Slave Relay Log Position Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:3000

52 Save Binlog if Alive file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:3000

53 Find Relay Log Base Slave file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:3000

54 Find Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:3000

55 Candidate Configuration candidate_master: this server is prioritized in election no_master: this server will not be new master in election latest_priority: use order by block_name instead relay_log position in election

56 Candidate Election Rule IF nothing special configured elect relay log base slave IF $latest_priority=1 elect latest slave with candidate_master=1 ELSE elect cacndidate_master by name IF $latest_priority=1 elect latest slave ELSE elect remaining slave

57 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:2000 file1: 2000-end file2:

58 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:2000 file1: 2000-end file2: file2:

59 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:2000 file1: 2000-end file2: file2:

60 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file1:end file1: 2000-end file2: file2:

61 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file2:3000 file1: 2000-end file2: file2:

62 Recover Candidate file2: file2:4000 Slave1 file1:1000 Slave2 file2:3000 Slave3 file2:4000 file1: 2000-end file2: file2:

63 Recover Candidate file2: file2:4000 show master status Slave1 file1:1000 Slave2 file2:3000 Slave3 file2:4000 file1: 3000-end file2: file2:

64 Parallel Recover Slaves file2: Slave3 file2:4000 Slave1 file1:1000 Slave2 file2:3000 file1: 1000-end file2: file2: file2:

65 Cons of MHA No Slave Management CLI Not So Friendly compared to MMM SSH login without password within all nodes

66 What Have We Done MHA::SlaveFailover MHA::NodeOnline masterha_wrapper User Defined Script interact with DAL

67 Interact With DAL Slave1 Slave2 Mark Down DB3 Web Slave3

68 Interact With DAL Slave1 Slave2 Mark Down DB3 Web Slave3

69 Interact With DAL Slave1 Slave2 Kill Connection Web Slave3

70 Interact With DAL Slave1 Slave2 Stop Slave Web Slave3

71 Interact With DAL read_only=on Slave1 read_only=on read_only=on Slave2 Slave3 Mark Down Web read_only=off

72 Interact With DAL read_only=on Slave1 read_only=on read_only=on Slave2 Slave3 Web Searching For Writable Server

73 Interact With DAL read_only=on Slave1 read_only=on read_only=on Slave2 Slave3 set read_only=on Web Searching For Writable Server

74 Interact With DAL read_only=on read_only=on Slave2 Slave3 read_only=on Slave1 Web Searching For Writable Server

75 Interact With DAL read_only=on read_only=on Slave2 Slave3 read_only=off Slave1 set read_only=off Web Searching For Writable Server

76 Future GTID + mysqlfailover Percona lock_binlog_for_backup

77 GTID Possible to identify a transaction uniquely across the replication servers. Make the automation of failover process much easier. No calculations! At application level it is easier to do WRITE/READ split. Development of new automation tools isn t a pain now.

78 GTID

79 Flush Tables With Read Lock 1. Invalidates the Query Cache. 2. Waits for all in-flight updates to complete and at the same time it blocks all incoming updates. 3. Closes all open tables and expels them from the table cache. Wait for all SELECT queries to complete. Incoming SELECT queries will get blocked. 4. Blocks COMMITs. Reference:

80 Lock Binlog For Backup Unlike FTWRL, the LOCK TABLES FOR BACKUP statement: * does not invalidate the Query Cache; * never waits for SELECT queries to complete regardless of the storage engines involved; * never blocks SELECTs, or updates to InnoDB, Blackhole and Federated tables.

81 Conclusion Tips for takeaway

82 When to Use MMM Simple -- MySQL deployment environment Can afford several seconds data loss VIP based HA solution already exist

83 When to Use MMM - DP version Already using MMM Slow Slaves included in cluster Massive load on master

84 When to Use MHA Cannot afford data loss No requirement for Slave High Availability Proxy already exists in current deployment Interact with client side needed when switch/failover

85 Q&A Thanks! dianping.com

Tushar Joshi Turtle Networks Ltd

Tushar Joshi Turtle Networks Ltd MySQL Database for High Availability Web Applications Tushar Joshi Turtle Networks Ltd www.turtle.net Overview What is High Availability? Web/Network Architecture Applications MySQL Replication MySQL Clustering

More information

High Availability Solutions for the MariaDB and MySQL Database

High Availability Solutions for the MariaDB and MySQL Database High Availability Solutions for the MariaDB and MySQL Database 1 Introduction This paper introduces recommendations and some of the solutions used to create an availability or high availability environment

More information

广 东 培 正 学 院 2016 年 本 科 插 班 生 专 业 课 考 试 大 纲 基 础 英 语 课 程 考 试 大 纲

广 东 培 正 学 院 2016 年 本 科 插 班 生 专 业 课 考 试 大 纲 基 础 英 语 课 程 考 试 大 纲 广 东 培 正 学 院 2016 年 本 科 插 班 生 专 业 课 考 试 大 纲 基 础 英 语 课 程 考 试 大 纲 Ⅰ. 考 试 性 质 普 通 高 等 学 校 本 科 插 班 生 招 生 考 试 是 由 专 科 毕 业 生 参 加 的 选 拔 性 考 试 高 等 学 校 根 据 考 生 的 成 绩, 按 已 确 定 的 招 生 计 划, 德 智 体 全 面 衡 量, 择 优 录 取 该

More information

Advancements in Slurry Gasification

Advancements in Slurry Gasification Advancements in Slurry Gasification Jason Crew, General Manager GE Power & Water, Gasification International Advanced Coal Technologies Conference 2012 Xi an June 4, 2012 Gasification is energy conversion

More information

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle Agenda Introduction Database Architecture Direct NFS Client NFS Server

More information

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL 04.20111 High Availability with MySQL Higher Availability Shared nothing distributed cluster with MySQL Cluster Storage snapshots for disaster

More information

MySQL High Availability Solutions. Lenz Grimmer <lenz@grimmer.com> http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany

MySQL High Availability Solutions. Lenz Grimmer <lenz@grimmer.com> http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany MySQL High Availability Solutions Lenz Grimmer < http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany Agenda High Availability: Concepts & Considerations MySQL Replication

More information

High Availability Solutions for MySQL. Lenz Grimmer <lenz@grimmer.com> 2008-08-29 DrupalCon 2008, Szeged, Hungary

High Availability Solutions for MySQL. Lenz Grimmer <lenz@grimmer.com> 2008-08-29 DrupalCon 2008, Szeged, Hungary High Availability Solutions for MySQL Lenz Grimmer 2008-08-29 DrupalCon 2008, Szeged, Hungary Agenda High Availability in General MySQL Replication MySQL Cluster DRBD Links/Tools Why

More information

MySQL High-Availability and Scale-Out architectures

MySQL High-Availability and Scale-Out architectures MySQL High-Availability and Scale-Out architectures Oli Sennhauser Senior Consultant osennhauser@mysql.com 1 Introduction Who we are? What we want? 2 Table of Contents Scale-Up vs. Scale-Out MySQL Replication

More information

Cloud Based Application Architectures using Smart Computing

Cloud Based Application Architectures using Smart Computing Cloud Based Application Architectures using Smart Computing How to Use this Guide Joyent Smart Technology represents a sophisticated evolution in cloud computing infrastructure. Most cloud computing products

More information

Percona Server features for OpenStack and Trove Ops

Percona Server features for OpenStack and Trove Ops Percona Server features for OpenStack and Trove Ops George O. Lorch III Software Developer Percona Vipul Sabhaya Lead Software Engineer - HP Overview Discuss Percona Server features that will help operators

More information

Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL

Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL SCHOONER WHITE PAPER Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL About Schooner Information Technology Schooner Information Technology provides

More information

Workflow Templates Library

Workflow Templates Library Workflow s Library Table of Contents Intro... 2 Active Directory... 3 Application... 5 Cisco... 7 Database... 8 Excel Automation... 9 Files and Folders... 10 FTP Tasks... 13 Incident Management... 14 Security

More information

Zero Downtime Deployments with Database Migrations. Bob Feldbauer twitter: @bobfeldbauer email: bob.feldbauer@timgroup.com

Zero Downtime Deployments with Database Migrations. Bob Feldbauer twitter: @bobfeldbauer email: bob.feldbauer@timgroup.com Zero Downtime Deployments with Database Migrations Bob Feldbauer twitter: @bobfeldbauer email: bob.feldbauer@timgroup.com Deployments Two parts to deployment: Application code Database schema changes (migrations,

More information

High Availability Using MySQL in the Cloud:

High Availability Using MySQL in the Cloud: High Availability Using MySQL in the Cloud: Today, Tomorrow and Keys to Success Jason Stamper, Analyst, 451 Research Michael Coburn, Senior Architect, Percona June 10, 2015 Scaling MySQL: no longer a nice-

More information

Managing MySQL Scale Through Consolidation

Managing MySQL Scale Through Consolidation Hello Managing MySQL Scale Through Consolidation Percona Live 04/15/15 Chris Merz, @merzdba DB Systems Architect, SolidFire Enterprise Scale MySQL Challenges Many MySQL instances (10s-100s-1000s) Often

More information

Enhancements of ETERNUS DX / SF

Enhancements of ETERNUS DX / SF shaping tomorrow with you ETERNUS - Business-centric Storage Enhancements of ETERNUS DX / SF Global Product Marketing Storage ETERNUS Business-centric Storage Agenda: 1 Overview of the top 3 innovations

More information

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES By: Edward Whalen Performance Tuning Corporation INTRODUCTION There are a number of clustering products available on the market today, and clustering has become

More information

Database Resilience at ISPs. High-Availability. White Paper

Database Resilience at ISPs. High-Availability. White Paper Database Resilience at ISPs High-Availability White Paper Internet Service Providers (ISPs) generally do their job very well. The commercial hosting market is segmented in a number of different ways but

More information

Parallel Replication for MySQL in 5 Minutes or Less

Parallel Replication for MySQL in 5 Minutes or Less Parallel Replication for MySQL in 5 Minutes or Less Featuring Tungsten Replicator Robert Hodges, CEO, Continuent About Continuent / Continuent is the leading provider of data replication and clustering

More information

How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog.

How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog. How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev Percona Inc MySQLPerformanceBlog.com -2- About us http://www.percona.com http://www.mysqlperformanceblog.com/

More information

MySQL synchronous replication in practice with Galera

MySQL synchronous replication in practice with Galera MySQL synchronous replication in practice with Galera FOSDEM MySQL and Friends Devroom February 5, 2012, ULB Brussels Oli Sennhauser Senior MySQL Consultant, FromDual oli.sennhauser@fromdual.com Content

More information

2000 databases later. Kristian Köhntopp http://google.com/+kristiankohntopp. Mittwoch, 17. April 13

2000 databases later. Kristian Köhntopp http://google.com/+kristiankohntopp. Mittwoch, 17. April 13 2000 databases later Kristian Köhntopp http://google.com/+kristiankohntopp TL;DR about 2000 MySQL instances in production Mostly running MySQL 5.5, some 5.6 beta since May 2012 made gamble that we would

More information

WhatsUp Gold v16.3 Installation and Configuration Guide

WhatsUp Gold v16.3 Installation and Configuration Guide WhatsUp Gold v16.3 Installation and Configuration Guide Contents Installing and Configuring WhatsUp Gold using WhatsUp Setup Installation Overview... 1 Overview... 1 Security considerations... 2 Standard

More information

Contents. SnapComms Data Protection Recommendations

Contents. SnapComms Data Protection Recommendations Contents Abstract... 2 SnapComms Solution Environment... 2 Concepts... 3 What to Protect... 3 Database Failure Scenarios... 3 Physical Infrastructure Failures... 3 Logical Data Failures... 3 Service Recovery

More information

Maintaining Non-Stop Services with Multi Layer Monitoring

Maintaining Non-Stop Services with Multi Layer Monitoring Maintaining Non-Stop Services with Multi Layer Monitoring Lahav Savir System Architect and CEO of Emind Systems lahavs@emindsys.com www.emindsys.com The approach Non-stop applications can t leave on their

More information

Techniques for implementing & running robust and reliable DB-centric Grid Applications

Techniques for implementing & running robust and reliable DB-centric Grid Applications Techniques for implementing & running robust and reliable DB-centric Grid Applications International Symposium on Grid Computing 2008 11 April 2008 Miguel Anjo, CERN - Physics Databases Outline Robust

More information

Appendix A Core Concepts in SQL Server High Availability and Replication

Appendix A Core Concepts in SQL Server High Availability and Replication Appendix A Core Concepts in SQL Server High Availability and Replication Appendix Overview Core Concepts in High Availability Core Concepts in Replication 1 Lesson 1: Core Concepts in High Availability

More information

HGST Virident Solutions 2.0

HGST Virident Solutions 2.0 Brochure HGST Virident Solutions 2.0 Software Modules HGST Virident Share: Shared access from multiple servers HGST Virident HA: Synchronous replication between servers HGST Virident ClusterCache: Clustered

More information

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

Accelerating Real Time Big Data Applications. PRESENTATION TITLE GOES HERE Bob Hansen Accelerating Real Time Big Data Applications PRESENTATION TITLE GOES HERE Bob Hansen Apeiron Data Systems Apeiron is developing a VERY high performance Flash storage system that alters the economics of

More information

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster Overview This documents the SQL Server 2012 Disaster Recovery design and deployment, calling out best practices and concerns from the

More information

Flash 101. Violin Memory Switzerland. Violin Memory Inc. Proprietary 1

Flash 101. Violin Memory Switzerland. Violin Memory Inc. Proprietary 1 Flash 101 Violin Memory Switzerland Violin Memory Inc. Proprietary 1 Agenda - What is Flash? - What is the difference between Flash types? - Why are SSD solutions different from Flash Storage Arrays? -

More information

RAMCloud and the Low- Latency Datacenter. John Ousterhout Stanford University

RAMCloud and the Low- Latency Datacenter. John Ousterhout Stanford University RAMCloud and the Low- Latency Datacenter John Ousterhout Stanford University Most important driver for innovation in computer systems: Rise of the datacenter Phase 1: large scale Phase 2: low latency Introduction

More information

Building a Flash Fabric

Building a Flash Fabric Introduction Storage Area Networks dominate today s enterprise data centers. These specialized networks use fibre channel switches and Host Bus Adapters (HBAs) to connect to storage arrays. With software,

More information

Luxembourg June 3 2014

Luxembourg June 3 2014 Luxembourg June 3 2014 Said BOUKHIZOU Technical Manager m +33 680 647 866 sboukhizou@datacore.com SOFTWARE-DEFINED STORAGE IN ACTION What s new in SANsymphony-V 10 2 Storage Market in Midst of Disruption

More information

How To Speed Up A Flash Flash Storage System With The Hyperq Memory Router

How To Speed Up A Flash Flash Storage System With The Hyperq Memory Router HyperQ Hybrid Flash Storage Made Easy White Paper Parsec Labs, LLC. 7101 Northland Circle North, Suite 105 Brooklyn Park, MN 55428 USA 1-763-219-8811 www.parseclabs.com info@parseclabs.com sales@parseclabs.com

More information

Maximizing Your Server Memory and Storage Investments with Windows Server 2012 R2

Maximizing Your Server Memory and Storage Investments with Windows Server 2012 R2 Executive Summary Maximizing Your Server Memory and Storage Investments with Windows Server 2012 R2 October 21, 2014 What s inside Windows Server 2012 fully leverages today s computing, network, and storage

More information

Cloud Server. Parallels. Key Features and Benefits. White Paper. www.parallels.com

Cloud Server. Parallels. Key Features and Benefits. White Paper. www.parallels.com Parallels Cloud Server White Paper Key Features and Benefits www.parallels.com Table of Contents Introduction... 3 Key Features... 3 Distributed Cloud Storage (Containers and Hypervisors)... 3 Rebootless

More information

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V Comparison and Contents Introduction... 4 More Secure Multitenancy... 5 Flexible Infrastructure... 9 Scale, Performance, and Density... 13 High Availability... 18 Processor and Memory Support... 24 Network...

More information

Adding Indirection Enhances Functionality

Adding Indirection Enhances Functionality Adding Indirection Enhances Functionality The Story Of A Proxy Mark Riddoch & Massimiliano Pinto Introductions Mark Riddoch Staff Engineer, VMware Formally Chief Architect, MariaDB Corporation Massimiliano

More information

High Performance MySQL Choices in Amazon Web Services: Beyond RDS. Andrew Shieh, SmugMug Operations shandrew @ smugmug.

High Performance MySQL Choices in Amazon Web Services: Beyond RDS. Andrew Shieh, SmugMug Operations shandrew @ smugmug. High Performance MySQL Choices in Amazon Web Services: Beyond RDS Andrew Shieh, SmugMug Operations shandrew @ smugmug.com April 15, 2015 Agenda 2 All about AWS Current RDS alternatives Cloud failures ->

More information

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Standard

Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Standard Minimum Requirements for Cencon 4 with Microsoft R SQL 2008 R2 Standard SQL 2008 R2 Standard Restrictions 4 CPU 64 GB Ram Use Limit 524 PB Database Size High Availability Options Limited Database Mirroring,

More information

Flash for Databases. September 22, 2015 Peter Zaitsev Percona

Flash for Databases. September 22, 2015 Peter Zaitsev Percona Flash for Databases September 22, 2015 Peter Zaitsev Percona In this Presentation Flash technology overview Review some of the available technology What does this mean for databases? Specific opportunities

More information

ZD-XL SQL Accelerator 1.5

ZD-XL SQL Accelerator 1.5 ZD-XL SQL Accelerator 1.5 Integrated Flash Hardware & Software Acceleration Solution for SQL Server Features Supports Microsoft Hyper-V and VMware ESXi environments Accelerates SQL Server at a per database

More information

Antelope Enterprise. Electronic Documents Management System and Workflow Engine

Antelope Enterprise. Electronic Documents Management System and Workflow Engine Antelope Enterprise Electronic Documents Management System and Workflow Engine Antelope Enterprise v4 High Availability Edition Information in this document applies to the Antelope Enterprise v4 High Availability.

More information

Azure VM Performance Considerations Running SQL Server

Azure VM Performance Considerations Running SQL Server Azure VM Performance Considerations Running SQL Server Your company logo here Vinod Kumar M @vinodk_sql http://blogs.extremeexperts.com Session Objectives And Takeaways Session Objective(s): Learn the

More information

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect High-Performance SSD-Based RAID Storage Madhukar Gunjan Chakhaiyar Product Test Architect 1 Agenda HDD based RAID Performance-HDD based RAID Storage Dynamics driving to SSD based RAID Storage Evolution

More information

Synchronous multi-master clusters with MySQL: an introduction to Galera

Synchronous multi-master clusters with MySQL: an introduction to Galera Synchronous multi-master clusters with : an introduction to Galera Henrik Ingo OUGF Harmony conference Aulanko, Please share and reuse this presentation licensed under Creative Commonse Attribution license

More information

Load balancing MySQL with HaProxy. Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA

Load balancing MySQL with HaProxy. Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA Load balancing MySQL with HaProxy Peter Boros Consultant @ Percona 4/23/13 Santa Clara, CA Agenda What is HaProxy HaProxy configuration Load balancing topologies Checks Load balancing Percona XtraDB Cluster

More information

Web Technologies: RAMCloud and Fiz. John Ousterhout Stanford University

Web Technologies: RAMCloud and Fiz. John Ousterhout Stanford University Web Technologies: RAMCloud and Fiz John Ousterhout Stanford University The Web is Changing Everything Discovering the potential: New applications 100-1000x scale New development style New approach to deployment

More information

An Overview of Flash Storage for Databases

An Overview of Flash Storage for Databases An Overview of Flash Storage for Databases Vadim Tkachenko Morgan Tocker http://percona.com MySQL CE Apr 2010 -2- Introduction Vadim Tkachenko Percona Inc, CTO and Lead of Development Morgan Tocker Percona

More information

Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011

Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011 Preparing for the Big Oops! Disaster Recovery Sites for Robert Hodges, CEO, Continuent Conference 2011 Topics / Introductions / A Motivating Story / Master / Slave Disaster Recovery Replication Tungsten

More information

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Scalability of web applications. CSCI 470: Web Science Keith Vertanen Scalability of web applications CSCI 470: Web Science Keith Vertanen Scalability questions Overview What's important in order to build scalable web sites? High availability vs. load balancing Approaches

More information

Application-Focused Flash Acceleration

Application-Focused Flash Acceleration IBM System Storage Application-Focused Flash Acceleration XIV SDD Caching Overview FLASH MEMORY SUMMIT 2012 Anthony Vattathil anthonyv@us.ibm.com 1 Overview Flash technology is an excellent choice to service

More information

Traditional v/s CONVRGD

Traditional v/s CONVRGD Traditional v/s CONVRGD Traditional Virtualization Stack Converged Virtualization Infrastructure with HCE/HSE Data protection software applications PDU Backup Servers + Virtualization Storage Switch HA

More information

Cloud Storage. Parallels. Performance Benchmark Results. White Paper. www.parallels.com

Cloud Storage. Parallels. Performance Benchmark Results. White Paper. www.parallels.com Parallels Cloud Storage White Paper Performance Benchmark Results www.parallels.com Table of Contents Executive Summary... 3 Architecture Overview... 3 Key Features... 4 No Special Hardware Requirements...

More information

SQL Server Virtualization 101. David Klee, Group Principal and Practice Lead. SQL PASS Virtualization VC, 2014.01.08

SQL Server Virtualization 101. David Klee, Group Principal and Practice Lead. SQL PASS Virtualization VC, 2014.01.08 SQL Server Virtualization 101 David Klee, Group Principal and Practice Lead SQL PASS Virtualization VC, 2014.01.08 www.linchpinpeople.com 1 David Klee Group Principal and Practice Lead @kleegeek davidklee.net

More information

Dave Stokes MySQL Community Manager

Dave Stokes MySQL Community Manager The Proper Care and Feeding of a MySQL Server for Busy Linux Admins Dave Stokes MySQL Community Manager Email: David.Stokes@Oracle.com Twiter: @Stoker Slides: slideshare.net/davidmstokes Safe Harbor Agreement

More information

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software Best Practices for Monitoring Databases on VMware Dean Richards Senior DBA, Confio Software 1 Who Am I? 20+ Years in Oracle & SQL Server DBA and Developer Worked for Oracle Consulting Specialize in Performance

More information

MySQL Enterprise Backup

MySQL Enterprise Backup MySQL Enterprise Backup Fast, Consistent, Online Backups A MySQL White Paper February, 2011 2011, Oracle Corporation and/or its affiliates Table of Contents Introduction... 3! Database Backup Terms...

More information

Configuring Apache Derby for Performance and Durability Olav Sandstå

Configuring Apache Derby for Performance and Durability Olav Sandstå Configuring Apache Derby for Performance and Durability Olav Sandstå Database Technology Group Sun Microsystems Trondheim, Norway Overview Background > Transactions, Failure Classes, Derby Architecture

More information

PostgreSQL Backup Strategies

PostgreSQL Backup Strategies PostgreSQL Backup Strategies Austin PGDay 2012 Austin, TX Magnus Hagander magnus@hagander.net PRODUCTS CONSULTING APPLICATION MANAGEMENT IT OPERATIONS SUPPORT TRAINING Replication! But I have replication!

More information

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

Improve Business Productivity and User Experience with a SanDisk Powered SQL Server 2014 In-Memory OLTP Database WHITE PAPER Improve Business Productivity and User Experience with a SanDisk Powered SQL Server 2014 In-Memory OLTP Database 951 SanDisk Drive, Milpitas, CA 95035 www.sandisk.com Table of Contents Executive

More information

Scaling Database Performance in Azure

Scaling Database Performance in Azure Scaling Database Performance in Azure Results of Microsoft-funded Testing Q1 2015 2015 2014 ScaleArc. All Rights Reserved. 1 Test Goals and Background Info Test Goals and Setup Test goals Microsoft commissioned

More information

In Memory Accelerator for MongoDB

In Memory Accelerator for MongoDB In Memory Accelerator for MongoDB Yakov Zhdanov, Director R&D GridGain Systems GridGain: In Memory Computing Leader 5 years in production 100s of customers & users Starts every 10 secs worldwide Over 15,000,000

More information

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

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards 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

More information

Scaling Graphite Installations

Scaling Graphite Installations Scaling Graphite Installations Graphite basics Graphite is a web based Graphing program for time series data series plots. Written in Python Consists of multiple separate daemons Has it's own storage backend

More information

Flash Databases: High Performance and High Availability

Flash Databases: High Performance and High Availability Flash Databases: High Performance and High Availability Flash Memory Summit Software Tutorial August 11,2011 Dr John R Busch Founder and CTO Schooner Information Technology JohnBusch@SchoonerInfoTechcom

More information

Petabyte Scale Data at Facebook. Dhruba Borthakur, Engineer at Facebook, SIGMOD, New York, June 2013

Petabyte Scale Data at Facebook. Dhruba Borthakur, Engineer at Facebook, SIGMOD, New York, June 2013 Petabyte Scale Data at Facebook Dhruba Borthakur, Engineer at Facebook, SIGMOD, New York, June 2013 Agenda 1 Types of Data 2 Data Model and API for Facebook Graph Data 3 SLTP (Semi-OLTP) and Analytics

More information

SYSPRO Point of Sale: Architecture

SYSPRO Point of Sale: Architecture SYSPRO Point of Sale: Architecture SYSPRO Point of Sale: Architecture 2 Table of Contents Overview... 3 Online Architecture... 4 Online Components... 4 Server Components... 4 Offline Architecture... 5

More information

NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions

NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions 1 NEC Corporation Technology solutions leader for 100+ years Established 1899, headquartered in Tokyo First Japanese joint

More information

MySQL Security for Security Audits

MySQL Security for Security Audits MySQL Security for Security Audits Presented by, MySQL AB & O Reilly Media, Inc. Brian Miezejewski MySQL Principal Consultat Bio Leed Architect ZFour database 1986 Senior Principal Architect American Airlines

More information

Welcome to Virtual Developer Day MySQL!

Welcome to Virtual Developer Day MySQL! Welcome to Virtual Developer Day MySQL! Keynote: Developer and DBA Guide to What s New in MySQL Andrew Morgan - MySQL Product Management @andrewmorgan www.clusterdb.com 1 Program Agenda 1:00 PM Keynote:

More information

dbx SN Azure Setup Guide

dbx SN Azure Setup Guide dbx SN Azure Setup Guide Rev 1.0 Oct 2014 XtremeData, Inc. 999 Plaza Dr., Ste. 570 Schaumburg, IL 60173 www.xtremedata.com Overview... 3 Virtual machine setup... 3 Step 1: Launch Virtual machine (node)...

More information

Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings

Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings Solution Brief Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings Introduction Accelerating time to market, increasing IT agility to enable business strategies, and improving

More information

MySQL Replication. openark.org

MySQL Replication. openark.org MySQL Replication Solutions & Enhancements Shlomi Noach June 2011 What is MySQL Replication? Replication is a mechanism built into MySQL. It allows a MySQL server (Master) to log changes made to schema

More information

Cisco Unified CM Disaster Recovery System

Cisco Unified CM Disaster Recovery System Disaster Recovery System, page 1 Quick-Reference Tables for Backup and Restore s, page 3 Supported Features and Components, page 4 System Requirements, page 5 Log In to Disaster Recovery System, page 7

More information

Load Balancing Microsoft Sharepoint 2010 Load Balancing Microsoft Sharepoint 2013. Deployment Guide

Load Balancing Microsoft Sharepoint 2010 Load Balancing Microsoft Sharepoint 2013. Deployment Guide Load Balancing Microsoft Sharepoint 2010 Load Balancing Microsoft Sharepoint 2013 Deployment Guide rev. 1.4.2 Copyright 2015 Loadbalancer.org, Inc. 1 Table of Contents About this Guide... 3 Appliances

More information

Real-time reporting at 10,000 inserts per second. Wesley Biggs CTO 25 October 2011 Percona Live

Real-time reporting at 10,000 inserts per second. Wesley Biggs CTO 25 October 2011 Percona Live Real-time reporting at 10,000 inserts per second Wesley Biggs CTO 25 October 2011 Percona Live Agenda 1. Who we are, what we do, and (maybe) why we do it 2. Solution architecture and evolution 3. Top 5

More information

High Availability & Disaster Recovery Development Project. Concepts, Design and Implementation

High Availability & Disaster Recovery Development Project. Concepts, Design and Implementation High Availability & Disaster Recovery Development Project Concepts, Design and Implementation High Availability & Disaster Recovery Development Project CONCEPTS Who: Schmooze Com Inc, maintainers, core

More information

MySQL 5.0 vs. Microsoft SQL Server 2005

MySQL 5.0 vs. Microsoft SQL Server 2005 White Paper Abstract This paper describes the differences between MySQL and Microsoft SQL Server 2000. Revised by Butch Villante, MCSE Page 1 of 6 Database engines are a crucial fixture for businesses

More information

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

Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card Version 1.0 April 2011 DB15-000761-00 Revision History Version and Date Version 1.0, April 2011 Initial

More information

EMC SCALEIO OPERATION OVERVIEW

EMC SCALEIO OPERATION OVERVIEW EMC SCALEIO OPERATION OVERVIEW Ensuring Non-disruptive Operation and Upgrade ABSTRACT This white paper reviews the challenges organizations face as they deal with the growing need for always-on levels

More information

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

Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups Dell servers and storage options available for AlwaysOn Availability Groups deployment.

More information

FileCruiser Backup & Restoring Guide

FileCruiser Backup & Restoring Guide FileCruiser Backup & Restoring Guide Version: 0.3 FileCruiser Model: VA2600/VR2600 with SR1 Date: JAN 27, 2015 1 Index Index... 2 Introduction... 3 Backup Requirements... 6 Backup Set up... 7 Backup the

More information

Memory Channel Storage ( M C S ) Demystified. Jerome McFarland

Memory Channel Storage ( M C S ) Demystified. Jerome McFarland ory nel Storage ( M C S ) Demystified Jerome McFarland Principal Product Marketer AGENDA + INTRO AND ARCHITECTURE + PRODUCT DETAILS + APPLICATIONS THE COMPUTE-STORAGE DISCONNECT + Compute And Data Have

More information

High Availability, Disaster Recovery and Extreme Read Scaling using Binlog Servers. Jean-François Gagné jeanfrancois DOT gagne AT booking.

High Availability, Disaster Recovery and Extreme Read Scaling using Binlog Servers. Jean-François Gagné jeanfrancois DOT gagne AT booking. High Availability, Disaster Recovery and Extreme Read Scaling using Binlog Servers Jean-François Gagné jeanfrancois DOT gagne AT booking.com Presented at Percona Live London 2014 Booking.com 2 Booking.com

More information

MySQL 備 份, 高 可 用 及 高 扩 展 解 决 方 案

MySQL 備 份, 高 可 用 及 高 扩 展 解 决 方 案 MySQL 備 份, 高 可 用 及 高 扩 展 解 决 方 案 MySQL 复 制 和 集 群 杜 修 文 Oracle MySQL Principle Sales Consultant Ivan.Tu@Oracle.Com Backup and Restore Backup Strategies Comparison Method 1: Longest

More information

Monitoring Galera with MONyog

Monitoring Galera with MONyog Monitoring Galera with MONyog Abstract This white paper introduces the drawbacks of traditional MySQL High Availability set ups and suggests a modern, best- in- class High Availability solution utilising

More information

IM and Presence Disaster Recovery System

IM and Presence Disaster Recovery System Disaster Recovery System, page 1 Access the Disaster Recovery System, page 2 Back up data in the Disaster Recovery System, page 3 Restore scenarios, page 9 Backup and restore history, page 15 Data authentication

More information

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

WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE 1 W W W. F U S I ON I O.COM Table of Contents Table of Contents... 2 Executive Summary... 3 Introduction: In-Memory Meets iomemory... 4 What

More information

Romeo and Juliet 罗 密 欧 与 茱 丽 叶

Romeo and Juliet 罗 密 欧 与 茱 丽 叶 Romeo and Juliet 1 A Famous Love Story 驰 名 的 爱 情 故 事 Romeo and Juliet 罗 密 欧 与 茱 丽 叶 Although he died almost 400 years ago, William Shakespeare is still one of the most popular English writers in the world.

More information

Linas Virbalas Continuent, Inc.

Linas Virbalas Continuent, Inc. Linas Virbalas Continuent, Inc. / Introductions / What is Tungsten? / Architecture of a Rule Based Management Framework for Database Clusters / Demo of Business Rules in Operation / Business Rules in Source

More information

Parallels Cloud Storage

Parallels Cloud Storage Parallels Cloud Storage White Paper Best Practices for Configuring a Parallels Cloud Storage Cluster www.parallels.com Table of Contents Introduction... 3 How Parallels Cloud Storage Works... 3 Deploying

More information

Introduction 1 Performance on Hosted Server 1. Benchmarks 2. System Requirements 7 Load Balancing 7

Introduction 1 Performance on Hosted Server 1. Benchmarks 2. System Requirements 7 Load Balancing 7 Introduction 1 Performance on Hosted Server 1 Figure 1: Real World Performance 1 Benchmarks 2 System configuration used for benchmarks 2 Figure 2a: New tickets per minute on E5440 processors 3 Figure 2b:

More information

Google File System. Web and scalability

Google File System. Web and scalability Google File System Web and scalability The web: - How big is the Web right now? No one knows. - Number of pages that are crawled: o 100,000 pages in 1994 o 8 million pages in 2005 - Crawlable pages might

More information

GlobalSCAPE DMZ Gateway, v1. User Guide

GlobalSCAPE DMZ Gateway, v1. User Guide GlobalSCAPE DMZ Gateway, v1 User Guide GlobalSCAPE, Inc. (GSB) Address: 4500 Lockhill-Selma Road, Suite 150 San Antonio, TX (USA) 78249 Sales: (210) 308-8267 Sales (Toll Free): (800) 290-5054 Technical

More information

N8103-149/150/151/160 RAID Controller. N8103-156 MegaRAID CacheCade. Feature Overview

N8103-149/150/151/160 RAID Controller. N8103-156 MegaRAID CacheCade. Feature Overview N8103-149/150/151/160 RAID Controller N8103-156 MegaRAID CacheCade Feature Overview April 2012 Rev.1.0 NEC Corporation Contents 1 Introduction... 3 2 Types of RAID Controllers... 3 3 New Features of RAID

More information

How to evaluate which MySQL High Availability solution best suits you

How to evaluate which MySQL High Availability solution best suits you How to evaluate which MySQL High Availability solution best suits you Henrik Ingo Oscon, 2013 Please share and reuse this presentation licensed under the Creative Commons Attribution License http://creativecommons.org/licenses/by/3.0/

More information

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server CA RECOVERY MANAGEMENT R12.5 BEST PRACTICE CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server Overview Benefits The CA Advantage The CA ARCserve Backup Support and Engineering

More information