SlideShare a Scribd company logo
1 of 31
Download to read offline
Metadata Synchronization in MySQL
NDB Cluster 8.0
Lead Member Technical Staff
MySQL Cluster
March 05, 2020
Arnab Ray
2 Copyright – © 2020 Oracle and/or its affiliates
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon in
making purchasing decisions. The development, release, timing, and pricing of any features
or functionality described for Oracle’s products may change and remains at the sole
discretion of Oracle Corporation.
Statements in this presentation relating to Oracle’s future plans, expectations, beliefs,
intentions and prospects are “forward-looking statements” and are subject to material risks
and uncertainties. A detailed discussion of these factors and other risks that affect our
business is contained in Oracle’s Securities and Exchange Commission (SEC) filings,
including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk
Factors.” These filings are available on the SEC’s website or on Oracle’s website at 
http://www.oracle.com/investor. All information in this presentation is current as of
September 2019 and Oracle undertakes no duty to update any statement in light of new
information or future events.
Safe Harbour Statement
5
4
3
2
1
Post-restore Synchronization
Synchronization On Connection
DDL Distribution
MySQL Cluster Architecture
Introduction to MySQL NDB Cluster
Agenda
Copyright – © 2020 Oracle and/or its affiliates3
Massive linear scale
99.9999% Availability
Distributed In-Memory Datasets
Always Consistent
Parallel real-time performance,
auto-partitioning, data distribution,
and replication built-in
Read and Write Scale-Out
to many TB on commodity hardware
Designed for mission critical
systems. Masterless, shared-nothing
with no single point of failure
Transactional consistency across
distributed and partitioned dataset
Out of the box straightforward
application programming
Ease of use
Open Source
Written in C++. Can be used standalone
or with MySQL as a SQL front-end
4 Copyright – © 2020 Oracle and/or its affiliates
5
4
3
2
1
Post-restore Synchronization
Synchronization On Connection
DDL Distribution
MySQL Cluster Architecture
Introduction to MySQL NDB Cluster
Agenda
Copyright – © 2020 Oracle and/or its affiliates5
Clients
MySQL Server & Custom
Applications
Data Nodes
NDBAPI
MySQL Cluster Architecture
6 Copyright – © 2020 Oracle and/or its affiliates
Data Dictionary
Pre-8.0 World
SQL
.FRM .TRG .OPT
System tables (mysql.*)
User Proc Events
InnoDB System tables
NDB
File system
MyISAM
InnoDB
Native Dictionary
Copyright – © 2020 Oracle and/or its affiliates7
8 Copyright – © 2020 Oracle and/or its affiliates
Native NDB Dictionary
• Distributed Dictionary
• Describes all NDB metadata objects
• NDB SE level
• Accessed and modified directly using
NDB API
• Tools such as ndb_restore,
ndb_drop_table, and ndb_show_tables
• Source of truth
MySQL Server Transactional Data Dictionary
• Introduced in 8.0
• Stores information about metadata
objects in InnoDB dictionary tables
• Atomic DDL
• Crash-safe DDL
• INFORMATION_SCHEMA improvements
• Cached copy of NDB metadata objects
Tale Of Two Dictionaries
Data Dictionary
SQL
InnoDB
Data
Dictionary
Tables
NDB
Tale Of Two Dictionaries
Native Dictionary
Copyright – © 2020 Oracle and/or its affiliates9
• Metadata information must be
consistent between the MySQL Server
DD and NDB Dictionary
• MySQL Cluster usually comprises of
multiple MySQL Servers
• Every MySQL Server should contain the
same “view” of NDB metadata
information
Metadata Synchronization
Local DDLocal DD
NDBAPI
NDB Dictionary
Copyright – © 2020 Oracle and/or its affiliates10
5
4
3
2
1
Post-restore Synchronization
Synchronization On Connection
DDL Distribution
MySQL Cluster Architecture
Introduction to MySQL NDB Cluster
Agenda
Copyright – © 2020 Oracle and/or its affiliates11
• DDL statements involving NDB
metadata are distributed across all
MySQL Servers connected to the Cluster
• DDL is sent to a MySQL Server i.e. the
Originating MySQL Server
• Other MySQL Servers are referred to as
Participant MySQL Servers
• Communication faciliated by NDB API
table events on a special system table:
mysql.ndb_schema
DDL Distribution
Local DDLocal DD
NDBAPI
Copyright – © 2020 Oracle and/or its affiliates12
ndb_schema
• MySQL Servers subscribe to table events
on the mysql.ndb_schema table on
connection to the Cluster
• Distribution Client
• Distribution Coordinator
• Distribution Participant
• Originating MySQL Server plays the role
of Client and Coordinator
• Every MySQL Server connected to the
Cluster performs the role of a Participant
DDL Distribution
Local DDLocal DD
NDBAPI
Table
Events
+
Copyright – © 2020 Oracle and/or its affiliates13
ndb_schema
• Client is responsible for writing to the
mysql.ndb_schema table
• DDL statement is encapsulated in event
data form
• Coordinator receives the request from
the event stream
• Maintains a list of the current
subscribers
DDL Distribution
Local DDLocal DD
NDBAPI
Table
Events
+
Copyright – © 2020 Oracle and/or its affiliates14
ndb_schema
• Participant receives the event
notification and handles the event
• Uses NDB API and DD API to propagate
the DDL change to the Local DD
• Sends an ack to the Coordinator along
with the result (new in 8.0!)
• Result is sent via another special NDB
system table: mysql.ndb_schema_result
• Parallel acknowledgements
• No Participant limit
• Support for error return
DDL Distribution
Local DDLocal DD
NDBAPI
Table
Events
+
Copyright – © 2020 Oracle and/or its affiliates15
ndb_schema ndb_schema_result
• Coordinator receives an ack from all the
Participants in its list of subscribers
• Client inspects the results returned by
the Participants
• DDL statement is not considered to
have failed even if it failed on Participant
Server(s)
• Failed results are pushed as warnings in
the originating MySQL Server
DDL Distribution
Local DDLocal DD
NDBAPI
ndb_schema
Table
Events
+
ndb_schema_result
Copyright – © 2020 Oracle and/or its affiliates16
17 Copyright – © 2020 Oracle and/or its affiliates
DDL Distribution
5
4
3
2
1
Post-restore Synchronization
Synchronization On Connection
DDL Distribution
MySQL Cluster Architecture
Introduction to MySQL NDB Cluster
Agenda
Copyright – © 2020 Oracle and/or its affiliates18
• MySQL Server must synchronize all NDB
related contents when it (re)connects to
a Cluster
• Done by the way of comparison with the
NDB Dictionary on a per-object basis
• NDB metadata might have changed
while the MySQL Server was
disconnected
• Ensures that the MySQL Server is ready
to read/write data and perform DDL
Synchronization On Connection
Local DDLocal DD
NDBAPI
NDB Dictionary
Copyright – © 2020 Oracle and/or its affiliates19
• Synchronization is protected by a global
lock
• Responsible for checking that the special
system NDB tables exist
• Tables created if missing
• NDB tables remain read-only until the
synchronization concludes
Synchronization On Connection
Local DDLocal DD
NDBAPI
NDB Dictionary
Copyright – © 2020 Oracle and/or its affiliates20
21 Copyright – © 2020 Oracle and/or its affiliates
The synchronization mechanism has been enhanced in 8.0:
• Rewritten to use DD API
• Synchronization of logfile groups
• Synchronization of tablespaces
• Improved synchronization of schemata
• Synchronization of NDB stored users and roles along with their grants
• Modern C++
Synchronization On Connection
5
4
3
2
1
Post-restore Synchronization
Synchronization On Connection
DDL Distribution
MySQL Cluster Architecture
Introduction to MySQL NDB Cluster
Agenda
Copyright – © 2020 Oracle and/or its affiliates22
23 Copyright – © 2020 Oracle and/or its affiliates
• The ndb_restore utility can create metadata in NDB Dictionary
• Changes should be propagated to the MySQL Server’s DD
• Done using SHOW TABLES query in older versions
• Equivalent of Synchronization On Connection
• Global locking
• Additional work done by SHOW TABLES query
• User thread performing synchronization
Post-restore Synchronization
• Metadata Change Monitor introduced in
NDB Cluster 8.0
• Detects mismatches
• Compares the contents of the NDB
Dictionary with that of the MySQL Server
DD
• Runs in the background
• User-configurable intervals of time
Post-restore Synchronization
Local DD
NDBAPI
NDB Dictionary
Change
Monitor
Copyright – © 2020 Oracle and/or its affiliates24
• Change Monitor submits any
mismatched objects to a queue
• Eventually synchronized by the NDB
Event Handling component
• Discovery and synchronization is
asynchronous by design
• Synchronization rate is throttled to avoid
performance overhead
Post-restore Synchronization
Local DD
NDBAPI
NDB Dictionary
Change
Monitor
Event
Handler
Copyright – © 2020 Oracle and/or its affiliates25
26 Copyright – © 2020 Oracle and/or its affiliates
Post-restore Synchronization
27 Copyright – © 2020 Oracle and/or its affiliates
Post-restore Synchronization
28 Copyright – © 2020 Oracle and/or its affiliates
The new mechanism in 8.0 compares favourably to its predecessor:
• Less intrusive global locks
• Locks are short-lived and employ a try-lock strategy
• SHOW TABLES improvement
• Cleaner design
• Potential Usability Improvement
Post-restore Synchronization
29 Copyright – © 2020 Oracle and/or its affiliates
• Manual: https://dev.mysql.com/doc/refman/8.0/en/mysql-cluster.html
• Packages: https://dev.mysql.com/downloads/cluster
• Source: https://github.com/mysql/mysql-server
• MySQL High Availability: https://mysqlhighavailability.com
• Mikael Ronstrom’s Blog: mikaelronstrom.blogspot.com
• Frazer Clement’s Blog: messagepassing.blogspot.com
References
30 Copyright – © 2020 Oracle and/or its affiliates
Thank You
Metadata Synchronization in MySQL NDB Cluster 8.0

More Related Content

What's hot

Introducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQLIntroducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQLMariaDB plc
 
MariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introductionMariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introductionMariaDB plc
 
Introducing workload analysis
Introducing workload analysisIntroducing workload analysis
Introducing workload analysisMariaDB plc
 
How Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDBHow Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDBMariaDB plc
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerZohar Elkayam
 
Oem12c db12c and You
Oem12c db12c and YouOem12c db12c and You
Oem12c db12c and YouBobby Curtis
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cIT Help Desk Inc
 
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAA
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAATemporal Tables, Transparent Archiving in DB2 for z/OS and IDAA
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAACuneyt Goksu
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Zohar Elkayam
 
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15Dave Segleau
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4Gianluca Hotz
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBMariaDB plc
 
Architecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cArchitecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cGustavo Rene Antunez
 
Technology Overview
Technology OverviewTechnology Overview
Technology OverviewLiran Zelkha
 
How to power microservices with MariaDB
How to power microservices with MariaDBHow to power microservices with MariaDB
How to power microservices with MariaDBMariaDB plc
 
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemThings Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemZohar Elkayam
 
The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019Amit Banerjee
 
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...CloudIDSummit
 
DITA 1.3: What's New and Different
DITA 1.3: What's New and DifferentDITA 1.3: What's New and Different
DITA 1.3: What's New and Differentdclsocialmedia
 
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...Cloudera, Inc.
 

What's hot (20)

Introducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQLIntroducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQL
 
MariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introductionMariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introduction
 
Introducing workload analysis
Introducing workload analysisIntroducing workload analysis
Introducing workload analysis
 
How Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDBHow Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDB
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
Oem12c db12c and You
Oem12c db12c and YouOem12c db12c and You
Oem12c db12c and You
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12c
 
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAA
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAATemporal Tables, Transparent Archiving in DB2 for z/OS and IDAA
Temporal Tables, Transparent Archiving in DB2 for z/OS and IDAA
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
 
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15
Oracle NoSQL Database -- Big Data Bellevue Meetup - 02-18-15
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDB
 
Architecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cArchitecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12c
 
Technology Overview
Technology OverviewTechnology Overview
Technology Overview
 
How to power microservices with MariaDB
How to power microservices with MariaDBHow to power microservices with MariaDB
How to power microservices with MariaDB
 
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop EcosystemThings Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
 
The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019The Roadmap for SQL Server 2019
The Roadmap for SQL Server 2019
 
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
 
DITA 1.3: What's New and Different
DITA 1.3: What's New and DifferentDITA 1.3: What's New and Different
DITA 1.3: What's New and Different
 
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...
Hadoop World 2011: Unlocking the Value of Big Data with Oracle - Jean-Pierre ...
 

Similar to Metadata Synchronization in MySQL NDB Cluster 8.0

MySQL Cluster 8.0 tutorial
MySQL Cluster 8.0 tutorialMySQL Cluster 8.0 tutorial
MySQL Cluster 8.0 tutorialFrazer Clement
 
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.Geir Høydalsvik
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology OverviewKeith Hollman
 
MariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineMariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineKangaroot
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLOlivier DASINI
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisOlivier DASINI
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoMarketingArrowECS_CZ
 
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Keith Hollman
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)Andrew Morgan
 
MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!Vittorio Cioe
 
MySQL High Availability Solutions - Avoid loss of service by reducing the r...
MySQL High Availability Solutions  -  Avoid loss of service by reducing the r...MySQL High Availability Solutions  -  Avoid loss of service by reducing the r...
MySQL High Availability Solutions - Avoid loss of service by reducing the r...Olivier DASINI
 
Database Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big DataDatabase Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big Dataexponential-inc
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1Ivan Ma
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09GOTO Satoru
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreMariaDB Corporation
 
MySQL Cluster Schema management (2014)
MySQL Cluster Schema management (2014)MySQL Cluster Schema management (2014)
MySQL Cluster Schema management (2014)Frazer Clement
 
What's New in Oracle BI for Developers
What's New in Oracle BI for DevelopersWhat's New in Oracle BI for Developers
What's New in Oracle BI for DevelopersDatavail
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMiguel Araújo
 

Similar to Metadata Synchronization in MySQL NDB Cluster 8.0 (20)

MySQL Cluster 8.0 tutorial
MySQL Cluster 8.0 tutorialMySQL Cluster 8.0 tutorial
MySQL Cluster 8.0 tutorial
 
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
Simplifying MySQL, Pre-FOSDEM MySQL Days, Brussels, January 30, 2020.
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
 
MariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineMariaDB: Connect Storage Engine
MariaDB: Connect Storage Engine
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
 
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
Moodle Moot Spain: Moodle Available and Scalable with MySQL HA - InnoDB Clust...
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
 
MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!MySQL InnoDB Cluster: High Availability Made Easy!
MySQL InnoDB Cluster: High Availability Made Easy!
 
MySQL High Availability Solutions - Avoid loss of service by reducing the r...
MySQL High Availability Solutions  -  Avoid loss of service by reducing the r...MySQL High Availability Solutions  -  Avoid loss of service by reducing the r...
MySQL High Availability Solutions - Avoid loss of service by reducing the r...
 
Database Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big DataDatabase Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big Data
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and More
 
MySQL Cluster Schema management (2014)
MySQL Cluster Schema management (2014)MySQL Cluster Schema management (2014)
MySQL Cluster Schema management (2014)
 
What's New in Oracle BI for Developers
What's New in Oracle BI for DevelopersWhat's New in Oracle BI for Developers
What's New in Oracle BI for Developers
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...
AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...
AMIS Oracle OpenWorld 2015 Review – part 3- PaaS Database, Integration, Ident...
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
 

Recently uploaded

%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 

Recently uploaded (20)

%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 

Metadata Synchronization in MySQL NDB Cluster 8.0

  • 1. Metadata Synchronization in MySQL NDB Cluster 8.0 Lead Member Technical Staff MySQL Cluster March 05, 2020 Arnab Ray
  • 2. 2 Copyright – © 2020 Oracle and/or its affiliates The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website at  http://www.oracle.com/investor. All information in this presentation is current as of September 2019 and Oracle undertakes no duty to update any statement in light of new information or future events. Safe Harbour Statement
  • 3. 5 4 3 2 1 Post-restore Synchronization Synchronization On Connection DDL Distribution MySQL Cluster Architecture Introduction to MySQL NDB Cluster Agenda Copyright – © 2020 Oracle and/or its affiliates3
  • 4. Massive linear scale 99.9999% Availability Distributed In-Memory Datasets Always Consistent Parallel real-time performance, auto-partitioning, data distribution, and replication built-in Read and Write Scale-Out to many TB on commodity hardware Designed for mission critical systems. Masterless, shared-nothing with no single point of failure Transactional consistency across distributed and partitioned dataset Out of the box straightforward application programming Ease of use Open Source Written in C++. Can be used standalone or with MySQL as a SQL front-end 4 Copyright – © 2020 Oracle and/or its affiliates
  • 5. 5 4 3 2 1 Post-restore Synchronization Synchronization On Connection DDL Distribution MySQL Cluster Architecture Introduction to MySQL NDB Cluster Agenda Copyright – © 2020 Oracle and/or its affiliates5
  • 6. Clients MySQL Server & Custom Applications Data Nodes NDBAPI MySQL Cluster Architecture 6 Copyright – © 2020 Oracle and/or its affiliates
  • 7. Data Dictionary Pre-8.0 World SQL .FRM .TRG .OPT System tables (mysql.*) User Proc Events InnoDB System tables NDB File system MyISAM InnoDB Native Dictionary Copyright – © 2020 Oracle and/or its affiliates7
  • 8. 8 Copyright – © 2020 Oracle and/or its affiliates Native NDB Dictionary • Distributed Dictionary • Describes all NDB metadata objects • NDB SE level • Accessed and modified directly using NDB API • Tools such as ndb_restore, ndb_drop_table, and ndb_show_tables • Source of truth MySQL Server Transactional Data Dictionary • Introduced in 8.0 • Stores information about metadata objects in InnoDB dictionary tables • Atomic DDL • Crash-safe DDL • INFORMATION_SCHEMA improvements • Cached copy of NDB metadata objects Tale Of Two Dictionaries
  • 9. Data Dictionary SQL InnoDB Data Dictionary Tables NDB Tale Of Two Dictionaries Native Dictionary Copyright – © 2020 Oracle and/or its affiliates9
  • 10. • Metadata information must be consistent between the MySQL Server DD and NDB Dictionary • MySQL Cluster usually comprises of multiple MySQL Servers • Every MySQL Server should contain the same “view” of NDB metadata information Metadata Synchronization Local DDLocal DD NDBAPI NDB Dictionary Copyright – © 2020 Oracle and/or its affiliates10
  • 11. 5 4 3 2 1 Post-restore Synchronization Synchronization On Connection DDL Distribution MySQL Cluster Architecture Introduction to MySQL NDB Cluster Agenda Copyright – © 2020 Oracle and/or its affiliates11
  • 12. • DDL statements involving NDB metadata are distributed across all MySQL Servers connected to the Cluster • DDL is sent to a MySQL Server i.e. the Originating MySQL Server • Other MySQL Servers are referred to as Participant MySQL Servers • Communication faciliated by NDB API table events on a special system table: mysql.ndb_schema DDL Distribution Local DDLocal DD NDBAPI Copyright – © 2020 Oracle and/or its affiliates12 ndb_schema
  • 13. • MySQL Servers subscribe to table events on the mysql.ndb_schema table on connection to the Cluster • Distribution Client • Distribution Coordinator • Distribution Participant • Originating MySQL Server plays the role of Client and Coordinator • Every MySQL Server connected to the Cluster performs the role of a Participant DDL Distribution Local DDLocal DD NDBAPI Table Events + Copyright – © 2020 Oracle and/or its affiliates13 ndb_schema
  • 14. • Client is responsible for writing to the mysql.ndb_schema table • DDL statement is encapsulated in event data form • Coordinator receives the request from the event stream • Maintains a list of the current subscribers DDL Distribution Local DDLocal DD NDBAPI Table Events + Copyright – © 2020 Oracle and/or its affiliates14 ndb_schema
  • 15. • Participant receives the event notification and handles the event • Uses NDB API and DD API to propagate the DDL change to the Local DD • Sends an ack to the Coordinator along with the result (new in 8.0!) • Result is sent via another special NDB system table: mysql.ndb_schema_result • Parallel acknowledgements • No Participant limit • Support for error return DDL Distribution Local DDLocal DD NDBAPI Table Events + Copyright – © 2020 Oracle and/or its affiliates15 ndb_schema ndb_schema_result
  • 16. • Coordinator receives an ack from all the Participants in its list of subscribers • Client inspects the results returned by the Participants • DDL statement is not considered to have failed even if it failed on Participant Server(s) • Failed results are pushed as warnings in the originating MySQL Server DDL Distribution Local DDLocal DD NDBAPI ndb_schema Table Events + ndb_schema_result Copyright – © 2020 Oracle and/or its affiliates16
  • 17. 17 Copyright – © 2020 Oracle and/or its affiliates DDL Distribution
  • 18. 5 4 3 2 1 Post-restore Synchronization Synchronization On Connection DDL Distribution MySQL Cluster Architecture Introduction to MySQL NDB Cluster Agenda Copyright – © 2020 Oracle and/or its affiliates18
  • 19. • MySQL Server must synchronize all NDB related contents when it (re)connects to a Cluster • Done by the way of comparison with the NDB Dictionary on a per-object basis • NDB metadata might have changed while the MySQL Server was disconnected • Ensures that the MySQL Server is ready to read/write data and perform DDL Synchronization On Connection Local DDLocal DD NDBAPI NDB Dictionary Copyright – © 2020 Oracle and/or its affiliates19
  • 20. • Synchronization is protected by a global lock • Responsible for checking that the special system NDB tables exist • Tables created if missing • NDB tables remain read-only until the synchronization concludes Synchronization On Connection Local DDLocal DD NDBAPI NDB Dictionary Copyright – © 2020 Oracle and/or its affiliates20
  • 21. 21 Copyright – © 2020 Oracle and/or its affiliates The synchronization mechanism has been enhanced in 8.0: • Rewritten to use DD API • Synchronization of logfile groups • Synchronization of tablespaces • Improved synchronization of schemata • Synchronization of NDB stored users and roles along with their grants • Modern C++ Synchronization On Connection
  • 22. 5 4 3 2 1 Post-restore Synchronization Synchronization On Connection DDL Distribution MySQL Cluster Architecture Introduction to MySQL NDB Cluster Agenda Copyright – © 2020 Oracle and/or its affiliates22
  • 23. 23 Copyright – © 2020 Oracle and/or its affiliates • The ndb_restore utility can create metadata in NDB Dictionary • Changes should be propagated to the MySQL Server’s DD • Done using SHOW TABLES query in older versions • Equivalent of Synchronization On Connection • Global locking • Additional work done by SHOW TABLES query • User thread performing synchronization Post-restore Synchronization
  • 24. • Metadata Change Monitor introduced in NDB Cluster 8.0 • Detects mismatches • Compares the contents of the NDB Dictionary with that of the MySQL Server DD • Runs in the background • User-configurable intervals of time Post-restore Synchronization Local DD NDBAPI NDB Dictionary Change Monitor Copyright – © 2020 Oracle and/or its affiliates24
  • 25. • Change Monitor submits any mismatched objects to a queue • Eventually synchronized by the NDB Event Handling component • Discovery and synchronization is asynchronous by design • Synchronization rate is throttled to avoid performance overhead Post-restore Synchronization Local DD NDBAPI NDB Dictionary Change Monitor Event Handler Copyright – © 2020 Oracle and/or its affiliates25
  • 26. 26 Copyright – © 2020 Oracle and/or its affiliates Post-restore Synchronization
  • 27. 27 Copyright – © 2020 Oracle and/or its affiliates Post-restore Synchronization
  • 28. 28 Copyright – © 2020 Oracle and/or its affiliates The new mechanism in 8.0 compares favourably to its predecessor: • Less intrusive global locks • Locks are short-lived and employ a try-lock strategy • SHOW TABLES improvement • Cleaner design • Potential Usability Improvement Post-restore Synchronization
  • 29. 29 Copyright – © 2020 Oracle and/or its affiliates • Manual: https://dev.mysql.com/doc/refman/8.0/en/mysql-cluster.html • Packages: https://dev.mysql.com/downloads/cluster • Source: https://github.com/mysql/mysql-server • MySQL High Availability: https://mysqlhighavailability.com • Mikael Ronstrom’s Blog: mikaelronstrom.blogspot.com • Frazer Clement’s Blog: messagepassing.blogspot.com References
  • 30. 30 Copyright – © 2020 Oracle and/or its affiliates Thank You