Soumettre la recherche
Mettre en ligne
State of the art of MySQL replication and clustering
•
5 j'aime
•
1,770 vues
Giuseppe Maxia
Suivre
State of the art of MySQL replication and clustering
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 60
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Advanced MySQL Replication Architectures - Luis Soares
Advanced MySQL Replication Architectures - Luis Soares
MySQL Brasil
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Sven Sandberg
What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto
MySQL User Camp: GTIDs
MySQL User Camp: GTIDs
Shivji Kumar Jha
MySQL HA Solutions
MySQL HA Solutions
Mat Keep
MySQL Cluster performance best practices
MySQL Cluster performance best practices
Mat Keep
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
Recommandé
Advanced MySQL Replication Architectures - Luis Soares
Advanced MySQL Replication Architectures - Luis Soares
MySQL Brasil
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Oracle OpenWorld 2013 - HOL9737 MySQL Replication Best Practices
Sven Sandberg
What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto
MySQL User Camp: GTIDs
MySQL User Camp: GTIDs
Shivji Kumar Jha
MySQL HA Solutions
MySQL HA Solutions
Mat Keep
MySQL Cluster performance best practices
MySQL Cluster performance best practices
Mat Keep
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
MySQL 开发
MySQL 开发
YUCHENG HU
MySQL Cluster Basics
MySQL Cluster Basics
Wagner Bianchi
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
Severalnines
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
Louis liu
MySQL Features & Implementation
MySQL Features & Implementation
OSSCube
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
Andrew Morgan
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012
sqlhjalp
Mysql cluster introduction
Mysql cluster introduction
Andrew Morgan
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
Geir Høydalsvik
MySQL 5.6 Updates
MySQL 5.6 Updates
Dave Stokes
MySQL Cluster
MySQL Cluster
Mario Beck
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
JUG Genova
MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL Servers
Mats Kindahl
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
Henrik Ingo
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
Zhaoyang Wang
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
sqlhjalp
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
Ryusuke Kajiyama
High-Availability using MySQL Fabric
High-Availability using MySQL Fabric
Mats Kindahl
2012 scale replication
2012 scale replication
sqlhjalp
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
Ryusuke Kajiyama
Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, Continuent
Eero Teerikorpi
My Sql Presentation
My Sql Presentation
Snoop Consulting
Contenu connexe
Tendances
MySQL 开发
MySQL 开发
YUCHENG HU
MySQL Cluster Basics
MySQL Cluster Basics
Wagner Bianchi
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
Severalnines
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
Louis liu
MySQL Features & Implementation
MySQL Features & Implementation
OSSCube
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
Andrew Morgan
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012
sqlhjalp
Mysql cluster introduction
Mysql cluster introduction
Andrew Morgan
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
Geir Høydalsvik
MySQL 5.6 Updates
MySQL 5.6 Updates
Dave Stokes
MySQL Cluster
MySQL Cluster
Mario Beck
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
JUG Genova
MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL Servers
Mats Kindahl
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
Henrik Ingo
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
Zhaoyang Wang
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
sqlhjalp
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
Ryusuke Kajiyama
High-Availability using MySQL Fabric
High-Availability using MySQL Fabric
Mats Kindahl
2012 scale replication
2012 scale replication
sqlhjalp
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
Ryusuke Kajiyama
Tendances
(20)
MySQL 开发
MySQL 开发
MySQL Cluster Basics
MySQL Cluster Basics
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
MySQL Features & Implementation
MySQL Features & Implementation
NoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012
Mysql cluster introduction
Mysql cluster introduction
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
MySQL 5.6 Updates
MySQL 5.6 Updates
MySQL Cluster
MySQL Cluster
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
MySQL Fabric: Easy Management of MySQL Servers
MySQL Fabric: Easy Management of MySQL Servers
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
High-Availability using MySQL Fabric
High-Availability using MySQL Fabric
2012 scale replication
2012 scale replication
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
Similaire à State of the art of MySQL replication and clustering
Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, Continuent
Eero Teerikorpi
My Sql Presentation
My Sql Presentation
Snoop Consulting
Social Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris Anderson
Mediabistro
Flexible heterogenous replication
Flexible heterogenous replication
Jeff Mace
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with Tungsten
Giuseppe Maxia
Posscon my sql56
Posscon my sql56
Dave Stokes
My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12
Mat Keep
Oracle my sql cluster cge
Oracle my sql cluster cge
seungdon1
MySQL high availability power and usability
MySQL high availability power and usability
Giuseppe Maxia
Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012
James Tramel
My sql 5.5_product_update
My sql 5.5_product_update
henriquesidney
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
FromDual GmbH
Keith Larson Replication
Keith Larson Replication
Dave Stokes
What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)
Ontico
MySQL cluster 7.4
MySQL cluster 7.4
Mark Swarbrick
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 - MySQL Cluster
Mark Swarbrick
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Sumeet Bansal
Vote NO for MySQL
Vote NO for MySQL
Ulf Wendel
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
Jeff Bollinger
1 architecture & design
1 architecture & design
Mark Swarbrick
Similaire à State of the art of MySQL replication and clustering
(20)
Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, Continuent
My Sql Presentation
My Sql Presentation
Social Gaming & Gambling Summit - London Chris Anderson
Social Gaming & Gambling Summit - London Chris Anderson
Flexible heterogenous replication
Flexible heterogenous replication
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with Tungsten
Posscon my sql56
Posscon my sql56
My sql 5.6_replwebinar_may12
My sql 5.6_replwebinar_may12
Oracle my sql cluster cge
Oracle my sql cluster cge
MySQL high availability power and usability
MySQL high availability power and usability
Sharepoint and SQL Server 2012
Sharepoint and SQL Server 2012
My sql 5.5_product_update
My sql 5.5_product_update
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
Keith Larson Replication
Keith Larson Replication
What is new in MySQL? (Lars Thalmann)
What is new in MySQL? (Lars Thalmann)
MySQL cluster 7.4
MySQL cluster 7.4
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 - MySQL Cluster
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Vote NO for MySQL
Vote NO for MySQL
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
1 architecture & design
1 architecture & design
Plus de Giuseppe Maxia
MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
Giuseppe Maxia
Test like a_boss
Test like a_boss
Giuseppe Maxia
Dbdeployer, the universal installer
Dbdeployer, the universal installer
Giuseppe Maxia
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployer
Giuseppe Maxia
Dbdeployer
Dbdeployer
Giuseppe Maxia
Dbdeployer
Dbdeployer
Giuseppe Maxia
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
Giuseppe Maxia
MySQL document_store
MySQL document_store
Giuseppe Maxia
Replication skeptic
Replication skeptic
Giuseppe Maxia
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
Giuseppe Maxia
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
Giuseppe Maxia
MySQL in your laptop
MySQL in your laptop
Giuseppe Maxia
Script it
Script it
Giuseppe Maxia
Tungsten Replicator tutorial
Tungsten Replicator tutorial
Giuseppe Maxia
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungsten
Giuseppe Maxia
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandbox
Giuseppe Maxia
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replication
Giuseppe Maxia
Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012
Giuseppe Maxia
Replication 101
Replication 101
Giuseppe Maxia
Testing early mysql releases in a sandbox
Testing early mysql releases in a sandbox
Giuseppe Maxia
Plus de Giuseppe Maxia
(20)
MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
Test like a_boss
Test like a_boss
Dbdeployer, the universal installer
Dbdeployer, the universal installer
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployer
Dbdeployer
Dbdeployer
Dbdeployer
Dbdeployer
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
MySQL document_store
MySQL document_store
Replication skeptic
Replication skeptic
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
MySQL in your laptop
MySQL in your laptop
Script it
Script it
Tungsten Replicator tutorial
Tungsten Replicator tutorial
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungsten
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandbox
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replication
Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012
Replication 101
Replication 101
Testing early mysql releases in a sandbox
Testing early mysql releases in a sandbox
Dernier
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
LBM Solutions
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
AndikSusilo4
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Dernier
(20)
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
State of the art of MySQL replication and clustering
1.
State of the
Art in MySQL HA and Replication Robert Hodges, CEO Giuseppe Maxia, Director of QA ©Continuent 2012. Tuesday, November 13, 12 1
2.
Introducing Continuent
• The leading provider of clustering and replication for open source DBMS • Our Product: Continuent Tungsten • Clustering - Commercial-grade HA, performance scaling and data management for MySQL • Replication - Flexible, high-performance data movement ©Continuent 2012 2 Tuesday, November 13, 12 2
3.
Quick Continuent Facts
• Largest Tungsten clustering installation processes about 500M transactions each day • Tungsten Replicator was application of the year at the 2011 MySQL User Conference • Continuent is well known in the MySQL community for its clustering and replication • Over 90 customers currently deployed ©Continuent 2012 3 Tuesday, November 13, 12 3
4.
A Few Continuent
Customers ©Continuent 2012 4 Tuesday, November 13, 12 4
5.
Future-Proof HA and
Replication for MySQL ©Continuent 2012 5 Tuesday, November 13, 12 5
6.
What is Future-Proo!ng?
• Future-proo!ng = creating systems that last while parts change and improve • MySQL is not losing out to other solutions for data management • The real problem is using MySQL as a building block with other technologies that are changing rapidly ©Continuent 2012 6 Tuesday, November 13, 12 6
7.
But Wait... Isn’t
MySQL Dead?? MySQL “You were so open” Born May 25, 1995 Died 2008, 2009, 2010, 2011, 2012, ... ©Continuent 2012 7 Tuesday, November 13, 12 7
8.
Oracle/MySQL 5.6 Replication
(On the Way) • Global transaction IDs • Parallel slave threads • Crash safe slaves • Optimized row updates • Time delay replication • Informational log events ©Continuent 2012 8 Tuesday, November 13, 12 8
9.
Galera Synchronous Clusters
(New Arrival in 2012) • Multi-master for InnoDB • Synchronous replication avoids data loss • Automatic cluster membership management • Simple node provisioning model • Based on innovative state-machine work from Fernando Pedone ©Continuent 2012 9 Tuesday, November 13, 12 9
10.
Tungsten Async Replication
(2011 Belle of the Ball) • All 5.6 features including parallel replication for MySQL 5.0 onwards • Optimized support for failover • Programmable transaction !ltering • Backup/restore integration • Multi-master, fan-in, and star replication • Replication to/from Oracle and batch loading of data warehouses • Replication to MongoDB ©Continuent 2012 10 Tuesday, November 13, 12 10
11.
Not Bad for
a Dying Market THE$TOTAL$MARKET$FOR$MYSQL,$NOSQL$$ My/NewSQL,' AND$NEWSQL$$ 5%' NewSQL,'2%' 1000" 900" NoSQL,'5%' 800" 700" 600" Text 500" MySQL,'88%' 400" 300" 200" 100" 0" (451Group) 2011" 2012" 2013" 2014" 2015" ©Continuent 2012 11 Tuesday, November 13, 12 11
12.
MySQL Is Part
of Bigger Trends • Cloud and Big Data investment dwarf the MySQL marketplace ©Continuent 2012 12 Tuesday, November 13, 12 12
13.
21st Century CRM/Call
Center Fat Client CRM Web CRM Web Accounting Application Application Call Session Data Online Legacy Transaction Hadoop Oracle Processing Analytics On-Premise Amazon Web Services Telephony Telephony Data Streams Data Streams ©Continuent 2012 13 Tuesday, November 13, 12 13
14.
Revolutionary Challenges for
MySQL • Failures in unstable cloud environments • Zero-downtime maintenance • Rapidly growing data volumes, esp. in cloud • Distributing data to geographical regions • Integration between MySQL, NoSQL, commercial RDBMS • Supplying real-time analytics • Technology upgrade/replacement ©Continuent 2012 14 Tuesday, November 13, 12 14
15.
Future-Proofed HA and
Replication Data Fabric Encapsulated, fault-tolerant, horizontally scalable, globally accessible, integrated data ©Continuent 2012 15 Tuesday, November 13, 12 15
16.
Data Fabric Design
Patterns • Fabric Connector • Fault-Tolerant Data Service • Sharded Data Service • Multi-Site Data Service • Real-Time Data Bridge ©Continuent 2012 16 Tuesday, November 13, 12 16
17.
1. Fabric Connector
• Single point of entry for applications • Service catalog locates data within fabric • Transparent connectivity, multiple protocols • Security, auditing, performance management Fabric Connector Application Application Stack Stack Fabric Connector ©Continuent 2012 17 Tuesday, November 13, 12 17
18.
2. Fault-Tolerant Data
Service • Encapsulate redundant database copies • Sync and async clustering models • Protect against local DBMS failure • Rolling maintenance of replicas Master/ Multi- Slave Master ©Continuent 2012 18 Tuesday, November 13, 12 18
19.
3. Sharded Data
Service • Partition datasets based on RAM / storage speed / resident set size • Multiple buckets per server • Look-up methods for locating data in buckets • Re-sharding / migration for high growth ©Continuent 2012 19 Tuesday, November 13, 12 19
20.
4. Multi-Site Data
Service • Robust protection against region/site failures • Geographic distribution of data • Primary/DR vs. multi-master • Eventually consistent replication for SQL Amazon East EU West US East APAC Tokyo Rackspace DFW ©Continuent 2012 20 Tuesday, November 13, 12 20
21.
5. Real-Time Data
Bridge • Replicate from logs in real-time • Enable apps to get data from one data source • Heterogeneous transfer and transformation • High performance, low application impact Bridge Bridge Bridge ©Continuent 2012 21 Tuesday, November 13, 12 21
22.
Future-Proofed CRM/Call Center
Data Fat Client CRM Web CRM Web Telephony Telephony Accounting Application Application Data Streams Data Streams Fabric Fabric Fabric Fabric Fabric Connector Connector Connector Connector Connector Bridge Bridge Call Session Bridge Bridge Data Legacy Oracle OLTP Primary Bridge Hadoop Analytics OLTP DR Data Marts ©Continuent 2012 22 Tuesday, November 13, 12 22
23.
Future-Proofed CRM/Call Center
Data Fat Client CRM Web CRM Web Telephony Telephony Accounting Application Application Data Streams Data Streams Fabric Fabric Fabric Fabric Fabric Connector Connector Connector Connector Connector Bridge Bridge Call Session Bridge Bridge Data Legacy Oracle OLTP Primary Bridge Hadoop Analytics OLTP DR Data Marts ©Continuent 2012 23 Tuesday, November 13, 12 23
24.
Enabling Data Fabric
With Tungsten ©Continuent 2012 24 Tuesday, November 13, 12 24
25.
Tungsten Fault Tolerant
Data Service GonzoPortal.com Tungsten clusters combine o"- the-shelf open source DBMS servers into data services with: apache /php • 24x7 data access • Scaling of load on replicas Connector Connector • Simple management commands ...without app changes or data migration Amazon US West ©Continuent 2012 25 Tuesday, November 13, 12 25
26.
Doesn’t Replication Do
This Already? Application Application Libmysqlclient.a Libmysqlclient.a Db2 Db1 Db3 Replicator Replicator Replicator Slave Master Slave ©Continuent 2012 26 Tuesday, November 13, 12 26
27.
Replication Limitations
Replication alone cannot enable constant access to data... • What happens if the master fails? • What happens if a slave is lagging too far behind to be usable? • How do I maintain the DBMS without stopping apps? ©Continuent 2012 27 Tuesday, November 13, 12 27
28.
From Replicating to
a Data Service Application Application Tungsten Connector Tungsten Connector Monitoring and Control Monitoring and Control Db2 Db1 Db3 Manager Manager Manager Replicator Replicator Replicator Slave Master Slave Data Service: sjc ©Continuent 2012 28 Tuesday, November 13, 12 28
29.
Basic Operations
• Switch -- Promote a slave node to master • Shun -- Kick node out of cluster • Welcome -- Return node to cluster • Backup -- Run a backup • Restore -- [Re-]provision a node • Recover -- Return a broken node to slave • Heartbeat -- Check cluster liveness ©Continuent 2012 29 Tuesday, November 13, 12 29
30.
Automatic Failover
Application Tungsten Connector ©Continuent 2012 30 Tuesday, November 13, 12 30
31.
Automatic Failover
Application Tungsten Connector 2. Halt master connections 1. Detect non- responsive master ©Continuent 2012 31 Tuesday, November 13, 12 31
32.
Automatic Failover
Application Tungsten Connector 3. Select most advanced slave and wait for pending transactions to apply ©Continuent 2012 32 Tuesday, November 13, 12 32
33.
Automatic Failover
Application Tungsten Connector 4. Promote to master , reconfigure slave(s), and re-enable connections ©Continuent 2012 33 Tuesday, November 13, 12 33
34.
Automatic Failover
Application Tungsten Connector 5. Recover failed master ©Continuent 2012 34 Tuesday, November 13, 12 34
35.
Rolling SQL Schema
Upgrade Slave Upgrade Slave Upgrade Switch Final Upgrade • Shun slave 1, • Repeat for • Switch • Upgrade old run upgrade, additional master to master. and return to slave(s) promote an Cluster cluster. upgraded schema is now Discard and slave fully upgraded recover on failure ©Continuent 2012 35 Tuesday, November 13, 12 35
36.
Backup, Recovery, and
Restore • Backups /cluster > datasource DB1 backup • Recover /cluster > datasource DB2 recover • Restore /cluster > datasource DB2 restore • Out-of-box support for mysqldump/ XtraBackup; simple integration for others ©Continuent 2012 36 Tuesday, November 13, 12 36
37.
Data Fabric Connectivity
©Continuent 2012 37 Tuesday, November 13, 12 37
38.
Tungsten Connector Basics
• Any MySQL/PostgreSQL client can connect • Initiates connections using JDBC App Native protocol Connector COM_QUERY COM_INIT_DB COM_DROP_DB ©Continuent 2012 38 Tuesday, November 13, 12 38
39.
Tungsten Connector Basics
• Pass-through operation after connection • Full transparency & low overhead for clients Protocol packet COM_QUERY select * from t App Connector Protocol packet OK ResultSet Rows:1 ©Continuent 2012 39 Tuesday, November 13, 12 39
40.
Simple Read/Write Splitting
• Very fast, easy-to-understand scaling model • Transactions go to master • Auto-commit SELECTs go to slaves, if available, but... • Reads potentially outdated data • Ephemeral SQL objects won’t be available • May miss: select update_function() ©Continuent 2012 40 Tuesday, November 13, 12 40
41.
SmartScale Session Load
Balancing Master Transaction DBMS History Log Connect/Write Session x App Session y Connector Slave replay position Slave DBMS ©Continuent 2012 41 Tuesday, November 13, 12 41
42.
SmartScale Session Load
Balancing Master Transaction DBMS History Log Read Session x App Session y Connector Slave replay position Slave DBMS ©Continuent 2012 42 Tuesday, November 13, 12 42
43.
SmartScale Session Load
Balancing Master Transaction DBMS History Log Read Session x App Connector Slave replay position Slave DBMS ©Continuent 2012 43 Tuesday, November 13, 12 43
44.
Multi-Site Data Service
©Continuent 2012 44 Tuesday, November 13, 12 44
45.
Multi-Master Pattern
• Updates on 2+ sites (active-active mode) • Enables geographic distribution of data • No failover necessary if network fails or site becomes unavailable • Not all applications can handle multi-master • Applications must avoid con!icts • Careful testing required • Restoration of broken systems may not be easy ©Continuent 2012 45 Tuesday, November 13, 12 45
46.
Simple Multi-Master Con!guration
NYC Replicator Frankfurt Replicator fra (slave) fra (master) nyc (master) nyc (slave) Database-to-Database ©Continuent 2012 46 Tuesday, November 13, 12 46
47.
Clustered Multi-Master Con!guration
NYC Frankfurt master master fra nyc slave fra nyc slave ©Continuent 2012 47 Tuesday, November 13, 12 47
48.
Clustered Multi-Master Con!guration
NYC Frankfurt slave master fra nyc master fra nyc slave NYC Master Offline ©Continuent 2012 48 Tuesday, November 13, 12 48
49.
Clustered Multi-Master Con!guration
NYC Frankfurt master master fra nyc slave fra nyc slave NYC Replicator Offline ©Continuent 2012 49 Tuesday, November 13, 12 49
50.
Complex Multi-Master Topologies
All Masters Star Replication ©Continuent 2012 50 Tuesday, November 13, 12 50
51.
Primary/DR Pattern
• Updates go to primary site master • DR site receives updates in real time • Simple command promotion • Tungsten connectors can route to primary and DR sites • No application changes required • Simplest way to protect against region/site failures ©Continuent 2012 51 Tuesday, November 13, 12 51
52.
Tungsten Composite Data
Services App Server App Server + Connector + Connector San Jose New York sj_nyc Master Slave ©Continuent 2012 52 Tuesday, November 13, 12 52
53.
Real-Time Data Bridge
©Continuent 2012 53 Tuesday, November 13, 12 53
54.
Problem: Real-Time Order
Ful!llment Web-Facing Sales Purchase Ordering PHP/ Java/ Perl JBoss 1-2M transactions daily 3M Order Items Real-Time Replication MySQL Oracle ©Continuent 2012 54 Tuesday, November 13, 12 54
55.
How Does Tungsten
Do That? MySQL Tungsten Master Tungsten Slave Oracle Replicator Replicator Service oracle Service oracle MySQLExtractor Special Filters Special Filters * Ignore extra tables * Transform enum to string * Map names to upper case * Optimize updates to MySQL remove unchanged columns Binlog binlog_format=row ©Continuent 2012 55 Tuesday, November 13, 12 55
56.
Batch Loading to
Data Warehouses MySQL Vertica Master Data Replicator Warehouse Service batch London Transaction Csv Csv Csv History Log THL File File ... File ©Continuent 2012 56 Tuesday, November 13, 12 56
57.
Possibilities for Analytics...
Complex, near real-time MySQL Master reporting Light-weight, real-time operational status OLTP Data Web-facing mini- data marts for SaaS users ©Continuent 2012 57 Tuesday, November 13, 12 57
58.
Getting Started
©Continuent 2012 58 Tuesday, November 13, 12 58
59.
How Do I
Obtain Tungsten? • Register at Continuent to get downloads for Oracle replication: http://www.continuent.com/downloads/software • Documentation is available on Continuent website • MySQL replication is available from Tungsten Replicator project on code.google.com http://code.google.com/p/tungsten-replicator/ ©Continuent 2012 59 Tuesday, November 13, 12 59
60.
560 S. Winchester
Blvd., Suite 500 Our Blogs: San Jose, CA 95128 http://scale-out-blog.blogspot.com Tel +1 (866) 998-3642 http://datacharmer.org/blog Fax +1 (408) 668-1009 http://www.continuent.com/news/blogs e-mail: sales@continuent.com Continuent Web Page: http://www.continuent.com Tungsten Replicator 2.0: http://code.google.com/p/tungsten-replicator ©Continuent 2012. Tuesday, November 13, 12 60
Télécharger maintenant