State of the Art for MySQL Multi-Master Replication. Robert Hodges, CEO
|
|
|
- Eric Bell
- 8 years ago
- Views:
Transcription
1 State of the Art for MySQL Multi-Master Replication Robert Hodges, CEO
2 A Short and Depressing Introduction to Distributed Systems Continuent
3 Why Do We Care About Multi-Master? The Dream: Multiple, active DBMS servers with exactly the same data 1. Simple high availability model 2. Operate systems over multiple sites 3. Access geographically close data 4. Enable communication between applications 3
4 There s Just One Problem... It Doesn t Work More Precisely: Multi-Master Systems Cannot Provide One Copy Serialization 4
5 Consistency In a Single DBMS Transaction #1 update foo set follower=23 where id=32 Transaction #2 update foo set follower=976 where id=32 STOP Table Foo ACID transactions serialize updates follower=976 5
6 Consistency in a Distributed DBMS Transaction #1 update foo set follower=23 where id=32 Transaction #2 update foo set follower=976 where id=32 Table Foo follower=976 follower=976 follower=23 Table Foo follower=23 6
7 Ensuring Distributed Consistency Transaction #1 follower=23 Pessimistic Locking (Wait your turn, pal!) Transaction #2 follower=976 Table Foo Optimistic Locking (Early bird gets the worm) Conflict Resolution (Your mother cleans up later) Conflict Avoidance (Solve the problem by not having it) Table Foo 7
8 Communication Implies Latency Transaction #1 follower=23 Transaction #2 follower=976 Log Scaled Network Latency Table Foo Table Foo 8
9 Communication Implies Latency Transaction #1 follower=23 Transaction #2 follower=976 Table Foo Async replication = No application latency Synchronous replication = Application latency Table Foo 9
10 So Can We Build Useful Applications? Absolutely. 10
11 MySQL Native Replication (Aka the basics) Continuent
12 How Does It Work? Master Master Binlog Binlog 12
13 Row vs. Statement Replication Statement replication = send client SQL Row replication = send changed rows Use row replication for multi-master 13
14 Server IDs Distinguish between di!erent MySQL servers Prevent replication loops in multi-master [my.cnf] server-id=1... [my.cnf] server-id=2... [my.cnf] server-id=
15 Auto-Increment Key O!sets Set di!erent keys on each server to avoid primary key collisions [my.cnf] server-id=1 auto-increment-offset = 1 auto-increment-increment = 4... [my.cnf] server-id=2 auto-increment-offset = 2 auto-increment-increment =
16 Global Transaction IDs (GTID) New feature in MySQL 5.6 to provide globally unique IDs for transactions Consist of UUID plus sequence number Designed to capture location of original update as well as the sequence number of the transaction 3E11FA47-71CA-11E1-9E33-C80AA :
17 MySQL Multi-Master Topologies Master Master-master Replication Master Circular Replication Master Master Master 17
18 Native Replication Summary Built in with well-known capabilities Very limited topology support Very limited con"ict avoidance Not a good choice for multi-master if there are writes to more than 1 master GTIDs, multi-source (MariaDB) replication promise for the future 18
19 MySQL Cluster Continuent
20 How Does It Work? Access Layer MySQL A MySQL B MySQL B Distributed Storage NDB1 NDB3 NDB2 NDB4 20
21 MySQL Cluster Cross-Site Topology Transaction #1 follower=23 Transaction #2 follower=976 MySQL A MySQL B MySQL B MySQL A MySQL B MySQL B NDB1 NDB2 NDB1 NDB2 NDB3 NDB4 NDB3 NDB4 Primary Replica Backup Replica 21
22 Eventual Consistency Algoritm NDB has built-in cross-cluster con"ict detection based on epochs and primary keys Updates to primary always succeed Update to backup may be rolled back if primary has a con"icting update MySQL Cluster resends updates from the primary to cure con"icts on the slave Caveat: I am not a MySQL Cluster expert 22
23 MySQL Cluster Summary Allows active/active operation Innovative eventual consistency algorithm Covers failure of individual MySQL nodes Detects con"icts automatically on rows Limited by lack of NDB usage in general Check with MySQL Cluster folks for more See also Brendan Frazer s posts at 23
24 Galera Continuent
25 How It Works: Group Communication Server A foo pk=1, v=5 foo pk=6, v=25 [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 Group Ordering and Delivery Server C [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 foo pk=1, v=6 Server B [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 25
26 How It Works: Certi#cation Server A [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 foo pk=1, v=5 DEADLOCK Group Ordering and Delivery foo pk=6, v=25 COMMIT Server C [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 foo pk=1, v=6 COMMIT Server B [1] pk=1, v=6 [2] pk=1, v=5 [3] pk=6, v=25 26
27 New Node Start-Up and SST (Initializing a new node) # vi /etc/my.cnf <== set node name # mysql_install_db --user=mysql --datadir=/data/ galera # mysqld_safe & 1. Assess node state 2. Join the cluster 3. Request SST (= State Snapshot Transfer ) 4. Recover DBMS Continuent
28 Connect to Any Node for Writes (galera1) mysql> create table test (id int primary key auto_increment, data varchar(30)); mysql> insert into test(data) values('g1'); mysql> select * from test; id data g2 4 g Auto_increment keys handled by Galera (galera2) mysql> insert into test(data) values('g2'); mysql> select * from test; id data g2 4 g Continuent
29 Optimistic Locking in Action (galera1) mysql> begin; mysql> update test set data='from g1' where id=3; mysql> commit; mysql> select * from test; id data from g1 4 g (galera2) mysql> begin; mysql> update test set data='from g2' where id=3; mysql> commit; ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction mysql> select * from test; id data from g1 4 g Continuent
30 Cross-Site Replication Galera1 us-east-1d Galera3 eu-west-1b Group Ordering and Delivery Galera2 us-east-1d 30
31 Galera Replication Performance Sysbench Transactions per Second US + EU Nodes US Nodes Only Threads Threads 31
32 Failure Handling Crashed servers drop out of the cluster IST (= incremental state transfer) can repair nodes that are just out of date Quorum determined automatically; On loss of quorum all nodes stop Loss of quorum can stop entire sites from working if you operate cross-site 32
33 Fixing Broken Nodes IST (= incremental state transfer) can repair nodes that are just out of date Inconsistent nodes require full state transfer :28:09 [ERROR] WSREP: Local state seqno (88056) is greater than group seqno (88054): states diverged. Aborting to avoid potential data loss. Remove '/ data/galera//grastate.dat' file and restart if you wish to continue. (FATAL) SST is time-consuming for large data sets Enabling binlogs may help determine current state 33
34 Replicating To/From Galera Clusters Enable binlogs on all clusters & restart # Same server ID on all nodes server-id=13 log-slave-updates=1 Try to connect with Tungsten! :21:07 [ERROR] Slave SQL: Could not execute Update_rows event on table tungsten_g1.heartbeat; Can't find record in 'heartbeat', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log FIRST, end_log_pos 153, Error_code: 1032 A new Galera bug is born :( 34
35 Galera Summary Big plus #1: simplicity Big plus #2: synchronous replication Performance looks promising Optimistic locking not good for all workloads SST is problematic for large datasets Unstable for some use cases but improving fast 35
36 Tungsten Continuent
37 How It Works: Eventual Consistency update foo set v=5 where pk=1 Server A Server C Possible Conflict! update foo set v=26 where pk=6 update foo set v=6 where pk=1 Server B 37
38 Tungsten Replicator Overview Master Download transactions via network Replicator THL (Transactions + Metadata) DBMS Logs Slave Replicator THL Apply using JDBC (Transactions + Metadata) 38
39 Tungsten Replication Service Pipeline Stage Stage Stage Extract Filter Apply Extract Filter Apply Extract Filter Apply Master DBMS Transaction History Log In-Memory Queue Slave DBMS 39
40 Eventually Consistent Design MySQL servers are completely independent Replication provides multi-way links Transfer is asynchronous Links can be down for days or weeks if required It is the application s responsibility to ensure there are no con"icts 40
41 Asynchronous Multi-Master in Action SFO Replicator LAX Service sfo Service lax Service nyc Service sfo Service sfo Service lax Service nyc NYC Service lax Service nyc Replicator Best practice: Do not log slave updates 41
42 Connect to Any Node for Writes (sfo) mysql> create table test (id int primary key auto_increment, data varchar(30)); mysql> insert into test(data) values('sfo'); (lax) mysql> insert into test(data) values('lax'); mysql> select * from test; id data lax 4 sfo Auto_increment keys must be manually configured mysql> select * from test; id data lax 4 sfo Continuent
43 Failure Handling Replication stops and resumes automatically when network link goes down Replication stops on replicator or DBMS failure and recovers after operator restart Con"icts can break replication Reconciliation is manual and potentially very di$cult Use binlogs to trace inconsistencies 43
44 Tungsten Multi-Master Clusters London New York te1 master ny lon master te3 te2 slave ny lon slave te4 Cross-site replicators read from slaves Cross-site updates are unlogged 44
45 Connect to Master when Slave Fails London New York te1 slave ny lon master te3 te2 master ny lon slave te4 (Slave failure/maintenance) 45
46 Use Filters to Detect/Avoid Con"icts Name ignore_server rename replicate shardfilter Purpose Drop transactions from server-id Rename schemas/tables/columns Control schemas/table replication Control shard replication You can also write your own filters! 46
47 Wide Range of Topologies All Masters Snowflake Star 47
48 Tungsten Summary Big plus #1: "exibility Big plus #2: handles mixed workloads/dirty operating conditions well Replication is in large-scale production use Lacks con"ict resolution Filters are powerful but a pain to write Can link between local clusters across sites 48
49 What Will Be in Next Year s Talk? Continuent
50 Improvements to Replication Oracle: Stable GTIDs and a host of replication improvements MariaDB: Multi-source replication, GTIDs, more improvements Galera: Cover more use cases, GTIDs Tungsten: Con"ict resolution and better #lters 50
51 Better Programming Models Planes that did not leave before 4pm Planes that landed before 4pm SELECT flights that did not land before 4pm Select flights that landed before 4pm 51
52 More Data on Multi-Site Operation Public cloud infrastructure is improving Networks are more stable Synchronous replication is back in favor We ll see how it works out! 52
53 560 S. Winchester Blvd., Suite 500 San Jose, CA Tel +1 (866) Fax +1 (408) Our Blogs: Continuent Web Page: Tungsten Replicator 2.0: Continuent 2012.
Preventing con!icts in Multi-master replication with Tungsten
Preventing con!icts in Multi-master replication with Tungsten Giuseppe Maxia, QA Director, Continuent 1 Introducing Continuent The leading provider of clustering and replication for open source DBMS Our
Future-Proofing MySQL for the Worldwide Data Revolution
Future-Proofing MySQL for the Worldwide Data Revolution Robert Hodges, CEO. What is Future-Proo!ng? Future-proo!ng = creating systems that last while parts change and improve MySQL is not losing out to
Solving Large-Scale Database Administration with Tungsten
Solving Large-Scale Database Administration with Tungsten Neil Armitage, Sr. Software Engineer Robert Hodges, CEO. Introducing Continuent The leading provider of clustering and replication for open source
How, What, and Where of Data Warehouses for MySQL
How, What, and Where of Data Warehouses for MySQL Robert Hodges CEO, Continuent. Introducing Continuent The leading provider of clustering and replication for open source DBMS Our Product: Continuent Tungsten
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
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
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
From Dolphins to Elephants: Real-Time MySQL to Hadoop Replication with Tungsten
From Dolphins to Elephants: Real-Time MySQL to Hadoop Replication with Tungsten MC Brown, Director of Documentation Linas Virbalas, Senior Software Engineer. About Tungsten Replicator Open source drop-in
Availability Digest. MySQL Clusters Go Active/Active. December 2006
the Availability Digest MySQL Clusters Go Active/Active December 2006 Introduction MySQL (www.mysql.com) is without a doubt the most popular open source database in use today. Developed by MySQL AB of
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
Database Replication with MySQL and PostgreSQL
Database Replication with MySQL and PostgreSQL Fabian Mauchle Software and Systems University of Applied Sciences Rapperswil, Switzerland www.hsr.ch/mse Abstract Databases are used very often in business
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 [email protected] Content
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
Portable Scale-Out Benchmarks for MySQL. MySQL User Conference 2008 Robert Hodges CTO Continuent, Inc.
Portable Scale-Out Benchmarks for MySQL MySQL User Conference 2008 Robert Hodges CTO Continuent, Inc. Continuent 2008 Agenda / Introductions / Scale-Out Review / Bristlecone Performance Testing Tools /
High Availability Solutions for MySQL. Lenz Grimmer <[email protected]> 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
Linas Virbalas Continuent, Inc.
Linas Virbalas Continuent, Inc. Heterogeneous Replication Replication between different types of DBMS / Introductions / What is Tungsten (the whole stack)? / A Word About MySQL Replication / Tungsten Replicator:
Galera Replication. Synchronous Multi-Master Replication for InnoDB. ...well, why not for any other DBMS as well. Seppo Jaakola Alexey Yurchenko
Galera Replication Synchronous Multi-Master Replication for InnoDB...well, why not for any other DBMS as well Seppo Jaakola Alexey Yurchenko Contents 1.Galera Cluster 2.Replication API 3.Benchmarking 4.Installation
MySQL always-up with Galera Cluster
MySQL always-up with Galera Cluster SLAC 2014 May 14, 2014, Berlin by [email protected] 1 / 31 About FromDual GmbH FromDual provides neutral and independent: Consulting for MySQL, Galera Cluster,
Using Tungsten Replicator to solve replication problems
Using Tungsten Replicator to solve replication problems Neil Armitage, Cluster implementation Engineer, Continuent Giuseppe Maxia, QA Director, Continuent 1 1 ABOUT US Neil Armitage Continuent Tungsten
High-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQL LinuxTag 2014 10. Mai 2014, Berlin by [email protected] 1 / 22 About FromDual GmbH FromDual provides neutral and independent: Consulting for MySQL,
Partitioning under the hood in MySQL 5.5
Partitioning under the hood in MySQL 5.5 Mattias Jonsson, Partitioning developer Mikael Ronström, Partitioning author Who are we? Mikael is a founder of the technology behind NDB
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
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/
Recovery Principles in MySQL Cluster 5.1
Recovery Principles in MySQL Cluster 5.1 Mikael Ronström Senior Software Architect MySQL AB 1 Outline of Talk Introduction of MySQL Cluster in version 4.1 and 5.0 Discussion of requirements for MySQL Cluster
Module 14: Scalability and High Availability
Module 14: Scalability and High Availability Overview Key high availability features available in Oracle and SQL Server Key scalability features available in Oracle and SQL Server High Availability High
Database Replication with MySQL and PostgresSQL
Database Replication with MySQL and PostgresSQL Fabian Mauchle Schedule Theory Why Replication Replication Layout and Types Conflicts Usage Scenarios Implementations Test Setup and Scenario Conclusion
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
MySQL High-Availability and Scale-Out architectures
MySQL High-Availability and Scale-Out architectures Oli Sennhauser Senior Consultant [email protected] 1 Introduction Who we are? What we want? 2 Table of Contents Scale-Up vs. Scale-Out MySQL Replication
Real-time Data Replication
Real-time Data Replication from Oracle to other databases using DataCurrents WHITEPAPER Contents Data Replication Concepts... 2 Real time Data Replication... 3 Heterogeneous Data Replication... 4 Different
Not Your Grandpa s Replication
Not Your Grandpa s Replication The New Wave of MySQL Replication and How It Helps Your Applications Robert Hodges - Continuent, Inc. Jay Pipes - Rackspace, Inc. Agenda / About Us / Replication Problems
The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant
The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant Agenda / Introductions / Framing the High Availability (HA) Problem / Hot Standby + Log Streaming /
Database Replication with Oracle 11g and MS SQL Server 2008
Database Replication with Oracle 11g and MS SQL Server 2008 Flavio Bolfing Software and Systems University of Applied Sciences Chur, Switzerland www.hsr.ch/mse Abstract Database replication is used widely
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
Cloud DBMS: An Overview. Shan-Hung Wu, NetDB CS, NTHU Spring, 2015
Cloud DBMS: An Overview Shan-Hung Wu, NetDB CS, NTHU Spring, 2015 Outline Definition and requirements S through partitioning A through replication Problems of traditional DDBMS Usage analysis: operational
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
Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam [email protected]
Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam [email protected] Agenda The rise of Big Data & Hadoop MySQL in the Big Data Lifecycle MySQL Solutions for Big Data Q&A
Overview of Databases On MacOS. Karl Kuehn Automation Engineer RethinkDB
Overview of Databases On MacOS Karl Kuehn Automation Engineer RethinkDB Session Goals Introduce Database concepts Show example players Not Goals: Cover non-macos systems (Oracle) Teach you SQL Answer what
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:
High Availability for Database Systems in Cloud Computing Environments. Ashraf Aboulnaga University of Waterloo
High Availability for Database Systems in Cloud Computing Environments Ashraf Aboulnaga University of Waterloo Acknowledgments University of Waterloo Prof. Kenneth Salem Umar Farooq Minhas Rui Liu (post-doctoral
MySQL High Availability Solutions. Lenz Grimmer <[email protected]> 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
MySQL Administration and Management Essentials
MySQL Administration and Management Essentials Craig Sylvester MySQL Sales Consultant 1 Safe Harbor Statement The following is intended to outline our general product direction. It
Replicating to everything
Replicating to everything Featuring Tungsten Replicator A Giuseppe Maxia, QA Architect Vmware About me Giuseppe Maxia, a.k.a. "The Data Charmer" QA Architect at VMware Previously at AB / Sun / 3 times
High Availability Solutions with MySQL
High Availability Solutions with MySQL best OpenSystems Day Fall 2008 Ralf Gebhardt Senior Systems Engineer MySQL Global Software Practice [email protected] 1 HA Requirements and Considerations HA
Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino [email protected]
Performance Monitoring AlwaysOn Availability Groups Anthony E. Nocentino [email protected] Anthony E. Nocentino Consultant and Trainer Founder and President of Centino Systems Specialize in system
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
Dave Stokes MySQL Community Manager
The Proper Care and Feeding of a MySQL Server for Busy Linux Admins Dave Stokes MySQL Community Manager Email: [email protected] Twiter: @Stoker Slides: slideshare.net/davidmstokes Safe Harbor Agreement
Data Management in the Cloud
Data Management in the Cloud Ryan Stern [email protected] : Advanced Topics in Distributed Systems Department of Computer Science Colorado State University Outline Today Microsoft Cloud SQL Server
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
SanDisk ION Accelerator High Availability
WHITE PAPER SanDisk ION Accelerator High Availability 951 SanDisk Drive, Milpitas, CA 95035 www.sandisk.com Table of Contents Introduction 3 Basics of SanDisk ION Accelerator High Availability 3 ALUA Multipathing
Implementing the Future of PostgreSQL Clustering with Tungsten
Implementing the Future of PostgreSQL Clustering with Tungsten Robert Hodges CTO, Continuent, Inc. Agenda / Introductions / Framing the Problem: Clustering for the Masses / Introducing Tungsten / Adapting
Facebook: Cassandra. Smruti R. Sarangi. Department of Computer Science Indian Institute of Technology New Delhi, India. Overview Design Evaluation
Facebook: Cassandra Smruti R. Sarangi Department of Computer Science Indian Institute of Technology New Delhi, India Smruti R. Sarangi Leader Election 1/24 Outline 1 2 3 Smruti R. Sarangi Leader Election
Social Networks and the Richness of Data
Social Networks and the Richness of Data Getting distributed Webservices Done with NoSQL Fabrizio Schmidt, Lars George VZnet Netzwerke Ltd. Content Unique Challenges System Evolution Architecture Activity
High Availability and Scalability for Online Applications with MySQL
High Availability and Scalability for Online Applications with MySQL Part 1I - Advanced Replication Ivan Zoratti Sales Engineering Manager EMEA [email protected] April 2007 Agenda Welcome back! and Welcome
White Paper. Optimizing the Performance Of MySQL Cluster
White Paper Optimizing the Performance Of MySQL Cluster Table of Contents Introduction and Background Information... 2 Optimal Applications for MySQL Cluster... 3 Identifying the Performance Issues.....
Transactions and ACID in MongoDB
Transactions and ACID in MongoDB Kevin Swingler Contents Recap of ACID transactions in RDBMSs Transactions and ACID in MongoDB 1 Concurrency Databases are almost always accessed by multiple users concurrently
Cluster Computing. ! Fault tolerance. ! Stateless. ! Throughput. ! Stateful. ! Response time. Architectures. Stateless vs. Stateful.
Architectures Cluster Computing Job Parallelism Request Parallelism 2 2010 VMware Inc. All rights reserved Replication Stateless vs. Stateful! Fault tolerance High availability despite failures If one
Zero Downtime Deployments with Database Migrations. Bob Feldbauer twitter: @bobfeldbauer email: [email protected]
Zero Downtime Deployments with Database Migrations Bob Feldbauer twitter: @bobfeldbauer email: [email protected] Deployments Two parts to deployment: Application code Database schema changes (migrations,
High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper
High Availability with Postgres Plus Advanced Server An EnterpriseDB White Paper For DBAs, Database Architects & IT Directors December 2013 Table of Contents Introduction 3 Active/Passive Clustering 4
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...
ADDING A NEW SITE IN AN EXISTING ORACLE MULTIMASTER REPLICATION WITHOUT QUIESCING THE REPLICATION
ADDING A NEW SITE IN AN EXISTING ORACLE MULTIMASTER REPLICATION WITHOUT QUIESCING THE REPLICATION Hakik Paci 1, Elinda Kajo 2, Igli Tafa 3 and Aleksander Xhuvani 4 1 Department of Computer Engineering,
How graph databases started the multi-model revolution
How graph databases started the multi-model revolution Luca Garulli Author and CEO @OrientDB QCon Sao Paulo - March 26, 2015 Welcome to Big Data 90% of the data in the world today has been created in the
Practical Cassandra. Vitalii Tymchyshyn [email protected] @tivv00
Practical Cassandra NoSQL key-value vs RDBMS why and when Cassandra architecture Cassandra data model Life without joins or HDD space is cheap today Hardware requirements & deployment hints Vitalii Tymchyshyn
Survey on Comparative Analysis of Database Replication Techniques
72 Survey on Comparative Analysis of Database Replication Techniques Suchit Sapate, Student, Computer Science and Engineering, St. Vincent Pallotti College, Nagpur, India Minakshi Ramteke, Student, Computer
MySQL. Leveraging. Features for Availability & Scalability ABSTRACT: By Srinivasa Krishna Mamillapalli
Leveraging MySQL Features for Availability & Scalability ABSTRACT: By Srinivasa Krishna Mamillapalli MySQL is a popular, open-source Relational Database Management System (RDBMS) designed to run on almost
F1: A Distributed SQL Database That Scales. Presentation by: Alex Degtiar ([email protected]) 15-799 10/21/2013
F1: A Distributed SQL Database That Scales Presentation by: Alex Degtiar ([email protected]) 15-799 10/21/2013 What is F1? Distributed relational database Built to replace sharded MySQL back-end of AdWords
Citrix XenServer Backups with SEP sesam
Citrix XenServer Backups with SEP sesam Contents Introduction and Overview...2 XenServer Backup Methods...2 Offline Backup... 3 Online Live Memory Backup... 3 Online Quiesced Backup... 4 Online Normal
BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB
BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB Planet Size Data!? Gartner s 10 key IT trends for 2012 unstructured data will grow some 80% over the course of the next
Comparing MySQL and Postgres 9.0 Replication
Comparing MySQL and Postgres 9.0 Replication An EnterpriseDB White Paper For DBAs, Application Developers, and Enterprise Architects March 2010 Table of Contents Introduction... 3 A Look at the Replication
Extending Your Availability Group for Disaster Recovery
Extending Your Availability Group for Disaster Recovery Ed Leighton-Dick Kingfisher Technologies About Me Email: [email protected] Blog: edleightondick.com Twitter: @eleightondick 1 Agenda Availability
Distributed Databases
C H A P T E R19 Distributed Databases Practice Exercises 19.1 How might a distributed database designed for a local-area network differ from one designed for a wide-area network? Data transfer on a local-area
YouTube Vitess. Cloud-Native MySQL. Oracle OpenWorld Conference October 26, 2015. Anthony Yeh, Software Engineer, YouTube. http://vitess.
YouTube Vitess Cloud-Native MySQL Oracle OpenWorld Conference October 26, 2015 Anthony Yeh, Software Engineer, YouTube http://vitess.io/ Spoiler Alert Spoilers 1. History of Vitess 2. What is Cloud-Native
Transactions and the Internet
Transactions and the Internet Week 12-13 Week 12-13 MIE253-Consens 1 Schedule Week Date Lecture Topic 1 Jan 9 Introduction to Data Management 2 Jan 16 The Relational Model 3 Jan. 23 Constraints and SQL
Bigdata High Availability (HA) Architecture
Bigdata High Availability (HA) Architecture Introduction This whitepaper describes an HA architecture based on a shared nothing design. Each node uses commodity hardware and has its own local resources
Rajesh Gupta Best Practices for SAP BusinessObjects Backup & Recovery Including High Availability and Disaster Recovery Session #2747
Rajesh Gupta Best Practices for SAP BusinessObjects Backup & Recovery Including High Availability and Disaster Recovery Session #2747 Introduction Rajesh Gupta - [email protected] Solution Network
Using Apache Derby in the real world
Apache Derby a 100% Java Open Source RDBMS Using Apache Derby in the real world Victorian AJUG, Australia 28 th August 2008 Chris Dance Chris Dance Introduction Director and Found of PaperCut Software
BookKeeper overview. Table of contents
by Table of contents 1 BookKeeper overview...2 1.1 BookKeeper introduction... 2 1.2 In slightly more detail...2 1.3 Bookkeeper elements and concepts...3 1.4 Bookkeeper initial design... 3 1.5 Bookkeeper
Design Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational Databases aka Just Enough Distributed Systems To Be Dangerous (in 40 minutes) Todd Lipcon (@tlipcon) Cloudera June 11, 2009 Introduction Common Underlying
Real World Enterprise SQL Server Replication Implementations. Presented by Kun Lee [email protected]
Real World Enterprise SQL Server Replication Implementations Presented by Kun Lee [email protected] About Me DBA Manager @ CoStar Group, Inc. MSSQLTip.com Author (http://www.mssqltips.com/sqlserverauthor/15/kunlee/)
Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability
Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability Manohar Punna President - SQLServerGeeks #509 Brisbane 2016 Agenda SQL Server Memory Buffer Pool Extensions Delayed Durability Analysis
MyISAM Default Storage Engine before MySQL 5.5 Table level locking Small footprint on disk Read Only during backups GIS and FTS indexing Copyright 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster 7.0 - New Features. Johan Andersson MySQL Cluster Consulting [email protected]
MySQL Cluster 7.0 - New Features Johan Andersson MySQL Cluster Consulting [email protected] Mat Keep MySQL Cluster Product Management [email protected] Copyright 2009 MySQL Sun Microsystems. The
Virtuoso Replication and Synchronization Services
Virtuoso Replication and Synchronization Services Abstract Database Replication and Synchronization are often considered arcane subjects, and the sole province of the DBA (database administrator). However,
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
The Hadoop Distributed File System
The Hadoop Distributed File System The Hadoop Distributed File System, Konstantin Shvachko, Hairong Kuang, Sanjay Radia, Robert Chansler, Yahoo, 2010 Agenda Topic 1: Introduction Topic 2: Architecture
Deploying Database clusters in the Cloud
Deploying Database clusters in the Cloud Neil Armitage - Continuent whoami 2 DBA Oracle/Mainframes/MySQL (25 Years) Deployment Engineer for Continuent Developer for Cloud Operations and Deployments @ Continuent
PostgreSQL Concurrency Issues
PostgreSQL Concurrency Issues 1 PostgreSQL Concurrency Issues Tom Lane Red Hat Database Group Red Hat, Inc. PostgreSQL Concurrency Issues 2 Introduction What I want to tell you about today: How PostgreSQL
Managed Hoster gains competitive edge through new cross-region multi-datacenter architecture
Managed Hoster gains competitive edge through new cross-region multi-datacenter architecture Customer Case Study: Sphinx Information Technology and ComplyWorks December 2012 Copyright 2012, Severalnines.
Lotus Domino Backup Strategy
Lotus Domino Backup Strategy Introduction LOTUS DOMINO BACKUP STRATEGY White Paper 1 You've worked hard to put your Domino security shield in place. You've set up your firewall, Access Control Lists, and
SQL Server AlwaysOn. Michal Tinthofer 11. Praha 2013. What to avoid and how to optimize, deploy and operate. Michal.Tinthofer@Woodler.
SQL Server AlwaysOn What to avoid and how to optimize, deploy and operate. 11. ročník největší odborné IT konference v ČR! Michal Tinthofer [email protected] Praha 2013 Overview Introduction
MySQL Performance Blog. Measuring failover time for ScaleArc load balancer
MySQL Performance Blog Measuring failover time for ScaleArc load balancer Peter Boros August 19, 2014 Measuring failover time for ScaleArc load balancer August 19, 2014 by Peter Boros ScaleArc hired Percona
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
Big Data Management and NoSQL Databases
NDBI040 Big Data Management and NoSQL Databases Lecture 4. Basic Principles Doc. RNDr. Irena Holubova, Ph.D. [email protected] http://www.ksi.mff.cuni.cz/~holubova/ndbi040/ NoSQL Overview Main objective:
CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft Exchange
CA RECOVERY MANAGEMENT R12.5 BEST PRACTICES CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft Exchange Overview Benefits The CA Advantage The CA ARCserve Backup Support and Engineering
