SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
<Insert Picture Here>




MySQL Cluster Product Overview
Wagner Bianchi – contato@wagnerbianchi.com
Disclaimer


 The preceding 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, 2 release, and timing of any features or
 functionality described for Oracle’s products remains
 at the sole discretion of Oracle.




                                                         2
Industry Leaders Rely on MySQL




 Web & Enterprise                OEM & ISVs



                     Cloud


                                              3
Agenda


• MySQL Cluster Product Overview
  –   O que é o MySQL Cluster?
  –   Componentes do MySQL Cluster
  –   MySQL Cluster Manager ™
  –   Casos de Utilização
  –   Benchmarks


• MySQL Cluster 7.2




                                     4
O que é o MySQL Cluster?




                           5
Mapping HA Architectures to Availability




                                           6
Multi-Data Center Scalability
Geographic Replication

                                • Replicate complete
                                  clusters across data
                                  centers
                                  – DR & data locality
                                  – Fully active/active
       Geographic                 – No passive resources
       Replication
                                • Split individual clusters
                                  across data centers
                                  – Synchronous replication
                                    & auto-failover between
                                    sites
                                  – Delivered as part of
                                    MySQL Cluster 7.2 DMR


                                                           7
Mapping Applications to HA Technology
                                                                               Shared-Nothing,
                                        Database          Clustered /
           Applica ons                                                         Geo-Replicated
                                       Replica on         Virtualized
                                                                                   Cluster
        E-Commerce / Trading                     (1)
        Session Management                       (1)
   User Authen ca on / Accoun ng                (1)
         Feeds, Blogs, Wikis

                OLTP                             (1)
         Data Warehouse/BI

        Content Management

                CRM

            Collabora on

         Packaged So ware
       Network Infrastructure

  Core Telco Apps (HLR/HSS/SDP…)

1: Replication used in combination with cluster or virtualization – based HA




                                                                                                 8
MySQL Cluster


• O MySQL Cluster é formado por 3 componentes:
  – Management Node: permite a realização de tarefas
    administrativas como monitoramento dos nós, backup dos
    nós de dados do cluster e outras – seu binário é o ndb_mgmd;

  – Data ou Storage Node: responsável por processar e
    armazenar dados dos bancos de dados localizados no cluster
    – seu binário é o ndbd ou ndbmtd;

  – API ou SQL Node: este é o nó que recebe as conexões das
    aplicações e enviam e requisitam dados armazenados nos
    Data Nodes – seu binário é o mysqld;




                                                                   9
MySQL Cluster - Auto-Partitioning


      Table T1                      Data Node 1




                     P1
                                    Data Node 2

                     P2

                     P3             Data Node 3


                     P4

                                    Data Node 4




                                                  10
MySQL Cluster - Auto-Partitioning


      Table T1                      Data Node 1

                                    F1



                     P1
                                    Data Node 2

                     P2

                     P3             Data Node 3


                     P4

                                    Data Node 4




                                                  11
MySQL Cluster - Auto-Partitioning


      Table T1                      Data Node 1

                                    F1



                     P1
                                    Data Node 2

                                              F1
                     P2

                     P3             Data Node 3


                     P4

                                    Data Node 4




                                                   12
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3


                    P4

                                    Data Node 4




                                                   13
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3


                    P4

                                    Data Node 4




                                                   14
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2
                    P4

                                    Data Node 4




                                                   15
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2
                    P4

                                    Data Node 4

                                              F2




                                                   16
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2
                    P4

                                    Data Node 4

                                    F4        F2




                                                   17
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2        F4
                    P4

                                    Data Node 4

                                    F4        F2




                                                   18
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1                        Node Group 1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2        F4
                    P4

                                    Data Node 4

                                    F4        F2




                                                       19
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1                        Node Group 1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2        F4
                    P4
                                              Node Group 2
                                    Data Node 4

                                    F4        F2




                                                       20
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1                        Node Group 1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2        F4
                    P4
                                              Node Group 2
                                    Data Node 4

                                    F4        F2




                                                       21
MySQL Cluster - Auto-Partitioning

     Table T1                       Data Node 1

                                    F1        F3



                    P1                        Node Group 1
                                    Data Node 2

                                    F3        F1
                    P2

                    P3              Data Node 3

                                    F2        F4
                    P4
                                              Node Group 2
                                    Data Node 4

                                    F4        F2




                                                       22
MySQL Cluster - Auto-Partitioning

     Table T1

                                    Scalability   a
                    P1              Performanc
                                         e
                    P2
                                        HA        a
                    P3              Ease of use

                    P4              SQL/Joins     a
                                       ACID       a
                                    Transaction
                                         s



                                                      23
MySQL Cluster




                24
MySQL Cluster


• Recomenda-se que:
  – todos os componentes sejam pelo menos duplicados, tendo
    uma instalação com no mínimo 6 nodes dentro do cluster;
  – o cluster seja colocado em uma sub-rede que possibilite
    trafegar dados somente do cluster para que não haja perda
    de pacotes;
  – todas as máquinas que figuram SQL e Storage node tenham
    as mesmas configurações para evitar bottlenecks;
  – todos os binários de todos os componentes sejam da mesma
    versão e release do produto;




                                                                25
Comparison
                                  MySQL                                      Oracle VM               Solaris              MySQL
   HA Technology                                           WSFC*
                                 Replication                                 Template                Cluster              Cluster
                                  All supported by       Windows Server        Oracle Linux         Oracle Solaris      All supported by
    Platform Support              MySQL Server **            2008                                                      MySQL Cluster ****
                                     All (InnoDB             InnoDB               InnoDB              All (InnoDB        NDB (MySQL
Supported Storage Engine           recommended)                                                     recommended)           Cluster)

     Auto IP Failover                    No                    Yes                 Yes                     Yes                Yes

 Auto Database Failover                  No                    Yes                 Yes                     Yes                Yes

      Auto Data                          No               N/A – Shared         N/A – Shared         N/A – Shared              Yes
                                                            Storage              Storage              Storage
   Resynchronization
      Failover Time                 User / Script           5 seconds +         5 seconds +          5 seconds +       1 Second or Less
                                    Dependent            InnoDB Recovery     InnoDB Recovery      InnoDB Recovery
                                                              Time***             Time***              Time***
                                Asynchronous / Semi-      N/A – Shared         N/A – Shared         N/A – Shared         Synchronous
    Replication Mode                Synchronous             Storage              Storage              Storage
                                No, distributed across         Yes                 Yes                     Yes           No, distributed
     Shared Storage                     nodes                                                                            across nodes
                                  Master & Multiple      Active / Passive    Active / Passive      Active / Passive      255 + Multiple
      No. of Nodes                    Slaves             Master + Multiple   Master + Multiple     Master + Multiple        Slaves
                                                              Slaves              Slaves                Slaves

 Availability Design Level             99.9%                 99.95%               99.99%                  99.99%           99.999%


                                     * Windows Server 2008R2 Failover Clustering
                          ** http://www.mysql.com/support/supportedplatforms/database.html
                 *** InnoDB recovery time dependent on cache and database size, database activity, etc.
                          **** http://www.mysql.com/support/supportedplatforms/cluster.html


                                                                                                                                       26
MySQL Cluster Manager ™


                          •   Funciona através do
                              MySQL Enterprise
                              Monitor;

                          •   Permite fazer start,
                              restart e stop de
                              Storage Nodes
                              através de Interface
                              Gráfica;

                          •   Live Demo:
                              http://bit.ly/rqjQRp



                                                     27
MySQL Cluster Manager ™

           MySQL Cluster nodes automatically restarted
                    after configuration change




                                                         28
Benchmarks – Scale-Out




    Aumento de servidores faz que haja aumento na escala,
    aumentando a capacidade de resolução de requisições!


                                                            29
MySQL Cluster Architecture




                                        REST         LDAP
                            Application Nodes                              Scalability
                                                                           Performanc
                                                                                e
             Node Group 1                   Node Group 2
                                                                               HA
                      F1                                    F2             Ease of use
             Node 1




Cluster                                     Node 3               Cluster
 Mgr                                                              Mgr
                      F3                                    F4
                                                                           SQL/Joins     a
                      F3                                    F4                ACID       a
             Node 2




                                            Node 4




                      F1                                    F2             Transaction
                                 Data                                           s
                                Nodes



                                                                                         30
MySQL Cluster Architecture




                                        REST         LDAP
                            Application Nodes                              Scalability
                                                                           Performanc
                                                                                e
             Node Group 1                   Node Group 2
                                                                               HA        a
                      F1                                    F2             Ease of use
             Node 1




Cluster                                     Node 3               Cluster
 Mgr                                                              Mgr
                      F3                                    F4
                                                                           SQL/Joins     a
                      F3                                    F4                ACID       a
             Node 2




                                            Node 4




                      F1                                    F2             Transaction
                                 Data                                           s
                                Nodes



                                                                                         31
Wagner Bianchi




É especialista em MySQL e outros servidores de bancos de dados
relacionais como Oracle e SQL Server. Formado em Gerenciamento de
Bancos de Dados, com MBA em Administração de Empresas pela
Fundação Getúlio Vargas e Pós-Graduando em Bancos de Dados pela
Universidade Gama Filho do Distrito Federal, possui várias
certificações, entre elas a SCMA, SCMDEV, SCMDBA e SCMCDBA.
Atualmente é Consultor Sênior em bancos de dados pela
WAGNERBIANCHI.COM.




                                                                    32

Contenu connexe

Tendances

Netezza vs teradata
Netezza vs teradataNetezza vs teradata
Netezza vs teradataAsis Mohanty
 
KIISE:SIGDB Workshop presentation.
KIISE:SIGDB Workshop presentation.KIISE:SIGDB Workshop presentation.
KIISE:SIGDB Workshop presentation.Kyong-Ha Lee
 
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015Deanna Kosaraju
 
Parallel Data Processing with MapReduce: A Survey
Parallel Data Processing with MapReduce: A SurveyParallel Data Processing with MapReduce: A Survey
Parallel Data Processing with MapReduce: A SurveyKyong-Ha Lee
 
My First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterMy First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterGustavo Rene Antunez
 
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger Yahoo Developer Network
 
PostgreSQL 13 New Features
PostgreSQL 13 New FeaturesPostgreSQL 13 New Features
PostgreSQL 13 New FeaturesJosé Lin
 

Tendances (8)

Netezza vs teradata
Netezza vs teradataNetezza vs teradata
Netezza vs teradata
 
KIISE:SIGDB Workshop presentation.
KIISE:SIGDB Workshop presentation.KIISE:SIGDB Workshop presentation.
KIISE:SIGDB Workshop presentation.
 
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015
Optimal Execution Of MapReduce Jobs In Cloud - Voices 2015
 
Hadoop
HadoopHadoop
Hadoop
 
Parallel Data Processing with MapReduce: A Survey
Parallel Data Processing with MapReduce: A SurveyParallel Data Processing with MapReduce: A Survey
Parallel Data Processing with MapReduce: A Survey
 
My First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra ClusterMy First 100 days with a Cassandra Cluster
My First 100 days with a Cassandra Cluster
 
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger
Sep 2012 HUG: Giraffa File System to Grow Hadoop Bigger
 
PostgreSQL 13 New Features
PostgreSQL 13 New FeaturesPostgreSQL 13 New Features
PostgreSQL 13 New Features
 

Similaire à MySQL Cluster Product Overview

Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introductionAndrew Morgan
 
My sql cluster_taipei_event
My sql cluster_taipei_eventMy sql cluster_taipei_event
My sql cluster_taipei_eventIvan Tu
 
Solving performance problems in MySQL without denormalization
Solving performance problems in MySQL without denormalizationSolving performance problems in MySQL without denormalization
Solving performance problems in MySQL without denormalizationdmcfarlane
 
Akiban Technologies: Renormalize
Akiban Technologies: RenormalizeAkiban Technologies: Renormalize
Akiban Technologies: RenormalizeAriel Weil
 
Akiban Technologies: Renormalize
Akiban Technologies: RenormalizeAkiban Technologies: Renormalize
Akiban Technologies: RenormalizeAriel Weil
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practicesMat Keep
 
MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) Frazer Clement
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real WorldEnkitec
 
Introduction to Apache Accumulo
Introduction to Apache AccumuloIntroduction to Apache Accumulo
Introduction to Apache AccumuloJared Winick
 
Performance Issues on Hadoop Clusters
Performance Issues on Hadoop ClustersPerformance Issues on Hadoop Clusters
Performance Issues on Hadoop ClustersXiao Qin
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptxIvan Ma
 
My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)Nicholas Adu Gyamfi
 
3.5 SDN CloudStack Developer Day
3.5  SDN CloudStack Developer Day3.5  SDN CloudStack Developer Day
3.5 SDN CloudStack Developer DayKimihiko Kitase
 
MySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesMySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesBernd Ocklin
 
Severalnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part IISeveralnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part IISeveralnines
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningSeveralnines
 
Introduction to MySQL Cluster
Introduction to MySQL ClusterIntroduction to MySQL Cluster
Introduction to MySQL ClusterAbel Flórez
 
Laserdata i skyen - Geomatikkdagene 2013
Laserdata i skyen - Geomatikkdagene 2013Laserdata i skyen - Geomatikkdagene 2013
Laserdata i skyen - Geomatikkdagene 2013Geodata AS
 

Similaire à MySQL Cluster Product Overview (20)

Mysql cluster introduction
Mysql cluster introductionMysql cluster introduction
Mysql cluster introduction
 
My sql cluster_taipei_event
My sql cluster_taipei_eventMy sql cluster_taipei_event
My sql cluster_taipei_event
 
Solving performance problems in MySQL without denormalization
Solving performance problems in MySQL without denormalizationSolving performance problems in MySQL without denormalization
Solving performance problems in MySQL without denormalization
 
Akiban Technologies: Renormalize
Akiban Technologies: RenormalizeAkiban Technologies: Renormalize
Akiban Technologies: Renormalize
 
Akiban Technologies: Renormalize
Akiban Technologies: RenormalizeAkiban Technologies: Renormalize
Akiban Technologies: Renormalize
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practices
 
MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014)
 
Managing Exadata in the Real World
Managing Exadata in the Real WorldManaging Exadata in the Real World
Managing Exadata in the Real World
 
My sql tutorial-oscon-2012
My sql tutorial-oscon-2012My sql tutorial-oscon-2012
My sql tutorial-oscon-2012
 
Introduction to Apache Accumulo
Introduction to Apache AccumuloIntroduction to Apache Accumulo
Introduction to Apache Accumulo
 
Performance Issues on Hadoop Clusters
Performance Issues on Hadoop ClustersPerformance Issues on Hadoop Clusters
Performance Issues on Hadoop Clusters
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 
My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)
 
3.5 SDN CloudStack Developer Day
3.5  SDN CloudStack Developer Day3.5  SDN CloudStack Developer Day
3.5 SDN CloudStack Developer Day
 
MySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesMySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion Queries
 
Severalnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part IISeveralnines Self-Training: MySQL® Cluster - Part II
Severalnines Self-Training: MySQL® Cluster - Part II
 
MYSQL
MYSQLMYSQL
MYSQL
 
Conference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance TuningConference slides: MySQL Cluster Performance Tuning
Conference slides: MySQL Cluster Performance Tuning
 
Introduction to MySQL Cluster
Introduction to MySQL ClusterIntroduction to MySQL Cluster
Introduction to MySQL Cluster
 
Laserdata i skyen - Geomatikkdagene 2013
Laserdata i skyen - Geomatikkdagene 2013Laserdata i skyen - Geomatikkdagene 2013
Laserdata i skyen - Geomatikkdagene 2013
 

Plus de MySQL Brasil

MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL Brasil
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL Brasil
 
Alta disponibilidade com MySQL Enterprise
Alta disponibilidade com MySQL EnterpriseAlta disponibilidade com MySQL Enterprise
Alta disponibilidade com MySQL EnterpriseMySQL Brasil
 
MySQL Roadmap NoSQL HA Fev17
MySQL Roadmap NoSQL HA Fev17MySQL Roadmap NoSQL HA Fev17
MySQL Roadmap NoSQL HA Fev17MySQL Brasil
 
Segurança no MySQL
Segurança no MySQLSegurança no MySQL
Segurança no MySQLMySQL Brasil
 
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQLMySQL Brasil
 
Alta disponibilidade no MySQL 5.7 GUOB 2016
Alta disponibilidade no MySQL 5.7 GUOB 2016Alta disponibilidade no MySQL 5.7 GUOB 2016
Alta disponibilidade no MySQL 5.7 GUOB 2016MySQL Brasil
 
MySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL Brasil
 
Enabling digital transformation with MySQL
Enabling digital transformation with MySQLEnabling digital transformation with MySQL
Enabling digital transformation with MySQLMySQL Brasil
 
Alta Disponibilidade no MySQL 5.7 para aplicações em PHP
Alta Disponibilidade no MySQL 5.7 para aplicações em PHPAlta Disponibilidade no MySQL 5.7 para aplicações em PHP
Alta Disponibilidade no MySQL 5.7 para aplicações em PHPMySQL Brasil
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7MySQL Brasil
 
NoSQL no MySQL 5.7
NoSQL no MySQL 5.7NoSQL no MySQL 5.7
NoSQL no MySQL 5.7MySQL Brasil
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em StartupsMySQL Brasil
 
Novidades do MySQL para desenvolvedores ago15
Novidades do MySQL para desenvolvedores ago15Novidades do MySQL para desenvolvedores ago15
Novidades do MySQL para desenvolvedores ago15MySQL Brasil
 
Estratégias de Segurança e Gerenciamento para MySQL
Estratégias de Segurança e Gerenciamento para MySQLEstratégias de Segurança e Gerenciamento para MySQL
Estratégias de Segurança e Gerenciamento para MySQLMySQL Brasil
 
Novidades do Universo MySQL julho-15
Novidades do Universo MySQL julho-15Novidades do Universo MySQL julho-15
Novidades do Universo MySQL julho-15MySQL Brasil
 
Serviços Escaláveis e de Alta Performance com MySQL e Java
Serviços Escaláveis e de Alta Performance com MySQL e JavaServiços Escaláveis e de Alta Performance com MySQL e Java
Serviços Escaláveis e de Alta Performance com MySQL e JavaMySQL Brasil
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL Brasil
 

Plus de MySQL Brasil (20)

MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e Uber
 
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR
 
Alta disponibilidade com MySQL Enterprise
Alta disponibilidade com MySQL EnterpriseAlta disponibilidade com MySQL Enterprise
Alta disponibilidade com MySQL Enterprise
 
MySQL Roadmap NoSQL HA Fev17
MySQL Roadmap NoSQL HA Fev17MySQL Roadmap NoSQL HA Fev17
MySQL Roadmap NoSQL HA Fev17
 
Segurança no MySQL
Segurança no MySQLSegurança no MySQL
Segurança no MySQL
 
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
 
Alta disponibilidade no MySQL 5.7 GUOB 2016
Alta disponibilidade no MySQL 5.7 GUOB 2016Alta disponibilidade no MySQL 5.7 GUOB 2016
Alta disponibilidade no MySQL 5.7 GUOB 2016
 
MySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL 5.7 como Document Store
MySQL 5.7 como Document Store
 
Enabling digital transformation with MySQL
Enabling digital transformation with MySQLEnabling digital transformation with MySQL
Enabling digital transformation with MySQL
 
Alta Disponibilidade no MySQL 5.7 para aplicações em PHP
Alta Disponibilidade no MySQL 5.7 para aplicações em PHPAlta Disponibilidade no MySQL 5.7 para aplicações em PHP
Alta Disponibilidade no MySQL 5.7 para aplicações em PHP
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7
 
NoSQL no MySQL 5.7
NoSQL no MySQL 5.7NoSQL no MySQL 5.7
NoSQL no MySQL 5.7
 
OpenStack & MySQL
OpenStack & MySQLOpenStack & MySQL
OpenStack & MySQL
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups
 
Novidades do MySQL para desenvolvedores ago15
Novidades do MySQL para desenvolvedores ago15Novidades do MySQL para desenvolvedores ago15
Novidades do MySQL para desenvolvedores ago15
 
Estratégias de Segurança e Gerenciamento para MySQL
Estratégias de Segurança e Gerenciamento para MySQLEstratégias de Segurança e Gerenciamento para MySQL
Estratégias de Segurança e Gerenciamento para MySQL
 
Novidades do Universo MySQL julho-15
Novidades do Universo MySQL julho-15Novidades do Universo MySQL julho-15
Novidades do Universo MySQL julho-15
 
Serviços Escaláveis e de Alta Performance com MySQL e Java
Serviços Escaláveis e de Alta Performance com MySQL e JavaServiços Escaláveis e de Alta Performance com MySQL e Java
Serviços Escaláveis e de Alta Performance com MySQL e Java
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15
 

Dernier

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Dernier (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

MySQL Cluster Product Overview

  • 1. <Insert Picture Here> MySQL Cluster Product Overview Wagner Bianchi – contato@wagnerbianchi.com
  • 2. Disclaimer The preceding 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, 2 release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. Industry Leaders Rely on MySQL Web & Enterprise OEM & ISVs Cloud 3
  • 4. Agenda • MySQL Cluster Product Overview – O que é o MySQL Cluster? – Componentes do MySQL Cluster – MySQL Cluster Manager ™ – Casos de Utilização – Benchmarks • MySQL Cluster 7.2 4
  • 5. O que é o MySQL Cluster? 5
  • 6. Mapping HA Architectures to Availability 6
  • 7. Multi-Data Center Scalability Geographic Replication • Replicate complete clusters across data centers – DR & data locality – Fully active/active Geographic – No passive resources Replication • Split individual clusters across data centers – Synchronous replication & auto-failover between sites – Delivered as part of MySQL Cluster 7.2 DMR 7
  • 8. Mapping Applications to HA Technology Shared-Nothing, Database Clustered / Applica ons Geo-Replicated Replica on Virtualized Cluster E-Commerce / Trading (1) Session Management (1) User Authen ca on / Accoun ng (1) Feeds, Blogs, Wikis OLTP (1) Data Warehouse/BI Content Management CRM Collabora on Packaged So ware Network Infrastructure Core Telco Apps (HLR/HSS/SDP…) 1: Replication used in combination with cluster or virtualization – based HA 8
  • 9. MySQL Cluster • O MySQL Cluster é formado por 3 componentes: – Management Node: permite a realização de tarefas administrativas como monitoramento dos nós, backup dos nós de dados do cluster e outras – seu binário é o ndb_mgmd; – Data ou Storage Node: responsável por processar e armazenar dados dos bancos de dados localizados no cluster – seu binário é o ndbd ou ndbmtd; – API ou SQL Node: este é o nó que recebe as conexões das aplicações e enviam e requisitam dados armazenados nos Data Nodes – seu binário é o mysqld; 9
  • 10. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 P1 Data Node 2 P2 P3 Data Node 3 P4 Data Node 4 10
  • 11. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 P2 P3 Data Node 3 P4 Data Node 4 11
  • 12. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 F1 P2 P3 Data Node 3 P4 Data Node 4 12
  • 13. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 P4 Data Node 4 13
  • 14. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 P4 Data Node 4 14
  • 15. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 P4 Data Node 4 15
  • 16. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 P4 Data Node 4 F2 16
  • 17. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 P4 Data Node 4 F4 F2 17
  • 18. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 F4 P4 Data Node 4 F4 F2 18
  • 19. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 F4 P4 Data Node 4 F4 F2 19
  • 20. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 F4 P4 Node Group 2 Data Node 4 F4 F2 20
  • 21. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 F4 P4 Node Group 2 Data Node 4 F4 F2 21
  • 22. MySQL Cluster - Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 F3 F1 P2 P3 Data Node 3 F2 F4 P4 Node Group 2 Data Node 4 F4 F2 22
  • 23. MySQL Cluster - Auto-Partitioning Table T1 Scalability a P1 Performanc e P2 HA a P3 Ease of use P4 SQL/Joins a ACID a Transaction s 23
  • 25. MySQL Cluster • Recomenda-se que: – todos os componentes sejam pelo menos duplicados, tendo uma instalação com no mínimo 6 nodes dentro do cluster; – o cluster seja colocado em uma sub-rede que possibilite trafegar dados somente do cluster para que não haja perda de pacotes; – todas as máquinas que figuram SQL e Storage node tenham as mesmas configurações para evitar bottlenecks; – todos os binários de todos os componentes sejam da mesma versão e release do produto; 25
  • 26. Comparison MySQL Oracle VM Solaris MySQL HA Technology WSFC* Replication Template Cluster Cluster All supported by Windows Server Oracle Linux Oracle Solaris All supported by Platform Support MySQL Server ** 2008 MySQL Cluster **** All (InnoDB InnoDB InnoDB All (InnoDB NDB (MySQL Supported Storage Engine recommended) recommended) Cluster) Auto IP Failover No Yes Yes Yes Yes Auto Database Failover No Yes Yes Yes Yes Auto Data No N/A – Shared N/A – Shared N/A – Shared Yes Storage Storage Storage Resynchronization Failover Time User / Script 5 seconds + 5 seconds + 5 seconds + 1 Second or Less Dependent InnoDB Recovery InnoDB Recovery InnoDB Recovery Time*** Time*** Time*** Asynchronous / Semi- N/A – Shared N/A – Shared N/A – Shared Synchronous Replication Mode Synchronous Storage Storage Storage No, distributed across Yes Yes Yes No, distributed Shared Storage nodes across nodes Master & Multiple Active / Passive Active / Passive Active / Passive 255 + Multiple No. of Nodes Slaves Master + Multiple Master + Multiple Master + Multiple Slaves Slaves Slaves Slaves Availability Design Level 99.9% 99.95% 99.99% 99.99% 99.999% * Windows Server 2008R2 Failover Clustering ** http://www.mysql.com/support/supportedplatforms/database.html *** InnoDB recovery time dependent on cache and database size, database activity, etc. **** http://www.mysql.com/support/supportedplatforms/cluster.html 26
  • 27. MySQL Cluster Manager ™ • Funciona através do MySQL Enterprise Monitor; • Permite fazer start, restart e stop de Storage Nodes através de Interface Gráfica; • Live Demo: http://bit.ly/rqjQRp 27
  • 28. MySQL Cluster Manager ™ MySQL Cluster nodes automatically restarted after configuration change 28
  • 29. Benchmarks – Scale-Out Aumento de servidores faz que haja aumento na escala, aumentando a capacidade de resolução de requisições! 29
  • 30. MySQL Cluster Architecture REST LDAP Application Nodes Scalability Performanc e Node Group 1 Node Group 2 HA F1 F2 Ease of use Node 1 Cluster Node 3 Cluster Mgr Mgr F3 F4 SQL/Joins a F3 F4 ACID a Node 2 Node 4 F1 F2 Transaction Data s Nodes 30
  • 31. MySQL Cluster Architecture REST LDAP Application Nodes Scalability Performanc e Node Group 1 Node Group 2 HA a F1 F2 Ease of use Node 1 Cluster Node 3 Cluster Mgr Mgr F3 F4 SQL/Joins a F3 F4 ACID a Node 2 Node 4 F1 F2 Transaction Data s Nodes 31
  • 32. Wagner Bianchi É especialista em MySQL e outros servidores de bancos de dados relacionais como Oracle e SQL Server. Formado em Gerenciamento de Bancos de Dados, com MBA em Administração de Empresas pela Fundação Getúlio Vargas e Pós-Graduando em Bancos de Dados pela Universidade Gama Filho do Distrito Federal, possui várias certificações, entre elas a SCMA, SCMDEV, SCMDBA e SCMCDBA. Atualmente é Consultor Sênior em bancos de dados pela WAGNERBIANCHI.COM. 32