MySQL Cluster Basics

Wagner Bianchi
Wagner BianchiPrincipal RDBA, DBOps, Project, Process & Services Addicted, Oracle ACE Diretor at MariaDB Corporation
MySQL Cluster Wagner Bianchi – LAD Senior Principal Consulting [email_address]
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, release, and timing of any features or functionality described for Oracle ’s products remains at the sole discretion of Oracle.
Technology Specifications ,[object Object],[object Object],NodeType MachineName IP Management node1 192.168.0.101 Management node2 192.168.0.102 Data/Storage node3 192.168.0.103 Data/Storage node4 192.168.0.104 Data/Storage node5 192.168.0.105 Data/Storage node6 192.168.0.106 SQL/API node7 192.168.0.107 SQL/API node8 192.168.0.108 SQL/API node9  192.168.0.109 SQL/API node10 192.168.0.110
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- Part I - Part II
Management Node ,[object Object],[object Object],[object Object],[object Object]
Management Node ,[object Object],[object Object],# executing na online native backup shell> ndb_mgm –e “START BACKUP”
Management Node ,[object Object],[object Object],# executing na online native backup shell> ndb_mgm –e “ALL REPORT memoryusage” # checking data node’s status shell> ndb_mgm –e “ALL STATUS”
Management Node ,[object Object],[object Object],# start or restarting data nodes after its execution shell> ndb_mgm –e “4 [ START | RESTART ]”
Management Node ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Management Node ,[object Object],# creating directories -> BASEDIR and DATADIR [ root@node1 ~ ] mkdir -p /usr/local/mysql-cluster [ root@node1 ~ ] mkdir -p /var/lib/mysql-cluster [ root@node1 ~ ] cd /usr/local/mysql-cluster # downloading management node necessary packages [ root@node1 ~ ] wget http://downloads.mysql...management.rpm [ root@node1 ~ ] wget http://downloads.mysql...tools.rpm # installing necessary packages [ root@node1 mysql-cluster ] rpm -ivh MySQL-*  Preparing... ############################################ [100%] 1:MySQL-Cluster-gpl-management ########################### [100%] 2:MySQL-Cluster-gpl-tools ################################ [100%]
Management Node ,[object Object],[object Object],# command-line management daemon execution  shell> ndb_mgmd --config-file=/path/to/file # using short form to state cluster’s config file shell> ndb_mgmd –f /path/to/file
Management Node ,[object Object],[object Object],[ root@node1 ]# ps aux | grep ndb_mgmd root 103467 17.3 0.7 8398 2564 ? Ssl 3:20 3:55 ndb_mgmd –f /usr/local/mysql-cluster/config.ini  # SHOW command retrieves information about cluster  [ root@node1 ]# ndb_mgm –e “ SHOW”
Data/Storage   Node ,[object Object],[object Object],[object Object]
Data/Storage   Node ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data/Storage   Node
Data/Storage   Node ,[object Object],[object Object],[object Object],[object Object],[object Object],This is the same idea of multi-threaded  replication applied on slave server when  using MySQL 5.6 (milestone yet!!)
SQL/API Node ,[object Object],[object Object],[object Object],[object Object],[object Object]
A good strategy for packages… ,[object Object]
Configuration Files
Configuration File ,[object Object],[object Object],[object Object],[object Object],[object Object]
Local Configuration File ,[object Object],[object Object],[ndbd] # local ndbd’s configuration file - /etc/my.cnf ndb-connectstring=192.168.0.101:1186,192.168.0.102:1186 NoStart  # ndbd do not start after be invoked
Global Configuration File ,[object Object],[object Object],[object Object]
Global Configuration File [ndb_mgmd] NodeId=1 HostName=192.168.0.101 [ndbd default] NoOfReplicas=2 DataDir=/var/lib/mysql-cluster StopOnError=false # angel will restart failed nodes [ndbd] NodeId=2 HostName=192.168.0.102 [ndbd] NodeId=3 HostName=192.168.0.103 [mysqld] NodeIde=4 HostName=192.168.0.104 [mysqld] # free reserved slot – e.g. ndb_restore, the native cli for database restore
The Cluster Connectstring ,[object Object],[object Object],[object Object],[object Object],[object Object]
Cluster Partitioning
Cluster Partitioning ,[object Object],[object Object],[object Object]
Cluster Partitioning ,[object Object],[object Object],[object Object]
Cluster Partitioning
Cluster Partitioning ,[object Object],[object Object],[object Object],[object Object]
Cluster Partitioning
Cluster Partitioning ,[object Object],[object Object],#some columns were omitted from the final result to better accommodate it  --  Per partition info  –  Partition Row count Commit count  Frag fixed memory Frag varsized memory  2  2  2  65536  327680 1  2  2  65536 327680  3 NDBT_ProgramExit: 0 - OK
Cluster Partitioning ,[object Object],[object Object],# alter partitions in order to adjust and better accommodate data # among all partitions, fragments and data nodes mysql> ALTER ONLINE TABLE world.City -> REORGANIZE PARTITION;  Query OK, 0 rows affected (1.52 sec)
Disk-based and  In-memory Tables
Disk-based Tables ,[object Object],[object Object],[object Object],[object Object]
Disk-based Tables ,[object Object],[object Object]
Disk-based Tables ,[object Object],[object Object]
Disk-based Tables # creating database world mysql> CREATE DATABASE world; Query OK, 0 rows affected (1.52 sec) # creating logfile group world_log mysql> CREATE LOGFILE GROUP world_log ADD UNDOFILE ‘world_log.dat’  -> UNDO_BUFFER_SIZE=16M INITIAL_SIZE=200M ENGINE=NDB; Query OK, 0 rows affected (2.23 sec) # creating tablespace world_tbs, where will reside table`s data mysql> CREATE TABLESPACE world_tbs ADD DATAFILE ‘world_tbs.dat’ -> USE LOGFILE GROUP world_log INITIAL_SIZE=500M ENGINE=NDB; Query OK, 0 rows affected (1.09 sec) # restoring world database from world.sql file shell> cat world.sql | sed –e ‘s/ENGINE=MyISAM/STORAGE DISK TABLESPACE world_tbs ENGINE = NDB/g’ | mysql world
Disk-based Tables ,[object Object],[object Object],# on data node (node3) I used ndb_show_tables filtering results shell> ndb_show_tables –c 192.168.1.101 –d world | grep Tablespace 9 Tablespace Online - world_tbs
Disk-based Tables ,[object Object],[object Object]
Disk Storage Metadata ,[object Object],[object Object]
Disk Storage Metadata ,[object Object],# creating a simple view to check that main question CREATE VIEW check_space AS SELECT  FILE_NAME, ((TOTAL_EXTENTS * EXTENT_SIZE)/(1024 * 1024)) AS ‘Total MB’, ((FREE_EXTENTS * EXTENT_SIZE)/(1024*1024)) AS ‘Free MB’, ( ((FREE_EXTENTS * EXTENT_SIZE)*100) /(TOTAL_EXTENTS * EXTENT_SIZE) ) AS ‘% Free’, EXTRA FROM INFORMATION_SCHEMA.FILES WHERE ENGINE = ‘NDBCLUSTER’ AND FILE_TYPE = ‘DATAFILE’;
Disk Storage Metadata ,[object Object],# results returned after the query’s execution mysql> select * from check_space; +---------------+----------+----------+---------+----------------+ | FILE_NAME  | Total MB | Free MB  | % Free  | EXTRA  | +---------------+----------+----------+---------+----------------+ | world_tbs.dat | 500.0000 | 494.0000 | 98.8000 | CLUSTER_NODE=3 | | world_tbs.dat | 500.0000 | 494.0000 | 98.8000 | CLUSTER_NODE=4 | | world_tbs.dat | 500.0000 | 494.0000 | 98.8000 | CLUSTER_NODE=5 | | world_tbs.dat | 500.0000 | 494.0000 | 98.8000 | CLUSTER_NODE=6 | +---------------+----------+----------+---------+----------------+ 4 rows in set (0.11 sec)
Disk Storage Metadata ,[object Object],[object Object],# results returned after the query’s execution mysql> ALTER TABLESPACE world_tbs -> ADD DATAFILE ‘world_tbs-1.dat’ ENGINE=NDB;  Query OK, 0 rows affected (4.11 sec) # results returned after the query’s execution mysql>  select * from check_space; +-----------------+----------+----------+----------+-----------------+ | FILE_NAME       | Total MB | Free MB  | % Free   | EXTRA          | +-----------------+----------+----------+----------+----------------+ | world_tbs.dat   | 500.0000 | 494.0000 |  98.8000 | CLUSTER_NODE=3 | | world_tbs.dat   | 500.0000 | 494.0000 |  98.8000 | CLUSTER_NODE=4 | | world_tbs.dat   | 500.0000 | 494.0000 |  98.8000 | CLUSTER_NODE=5 | | world_tbs.dat   | 500.0000 | 494.0000 |  98.8000 | CLUSTER_NODE=6 | | world_tbs-1.dat | 100.0000 | 100.0000 | 100.0000 | CLUSTER_NODE=3 | | world_tbs-1.dat | 100.0000 | 100.0000 | 100.0000 | CLUSTER_NODE=4 | | world_tbs-1.dat | 100.0000 | 100.0000 | 100.0000 | CLUSTER_NODE=5 | | world_tbs-1.dat | 100.0000 | 100.0000 | 100.0000 | CLUSTER_NODE=6 | +-----------------+----------+----------+----------+----------------+ 8 rows in set (0.08 sec)
Disk Storage Metadata ,[object Object],# trying to remove a tbs without remove logfile group used mysql> DROP TABLESPACE world_tbs ENGINE=NDB; ERROR 1529 (HY000): Failed to drop TABLESPACE mysql> SHOW WARNINGS; +-----------------------------------------------------------------+ Error | 1296 | Got error 768 'Cant drop filegroup, filegroup is used' from NDB | Error | 1529 | Failed to drop TABLESPACE  +-----------------------------------------------------------------+ 2 rows in set (0.01 sec)
Disk Storage Metadata ,[object Object],# checking if logs are reach its max file size mysql> SELECT CONCAT('CLUSTER NODE: ', node_id) AS NodeId,     ->        FORMAT(total/1024/1024,0) AS 'Total Space (MB)',     ->        FORMAT(used/1024/1024,0) AS 'Used Space (MB)'     -> FROM logspaces     -> GROUP BY NodeId; +-----------------+------------------+-----------------+ | NodeId          | Total Space (MB) | Used Space (MB) | +-----------------+------------------+-----------------+ | CLUSTER NODE: 3 | 256              | 0               | | CLUSTER NODE: 4 | 256              | 0               | | CLUSTER NODE: 5 | 256              | 0               | | CLUSTER NODE: 6 | 256              | 0               | +-----------------+------------------+-----------------+ 4 rows in set (0.26 sec)
In-memory Tables ,[object Object],[object Object],[object Object]
In-memory Tables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Good strategy to place’s tables ,[object Object],[object Object],[object Object],[object Object],[object Object]
Calculating DataMemory and IndexMemory ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Install epel repository and use “ yum install ”
Calculating DataMemory and IndexMemory ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Calculating DataMemory and IndexMemory ,[object Object],# executing ndb_size.pl on command-line shell> ndb_size.pl --user=wb --password=“123” --hostname=192.168.1.107 --database=world --format=text # checking how much memory is required to put world database into a “MC” Parameter Minimum Requirements (world database) ----------------------------------------------- * indicates greater than default Parameter  Default  4.1  5.0  5.1  DataMemory (KB)  81920  480  480  512 NoOfOrderedIndexes  128  3  3  3 NoOfTables  128  3  3  3 IndexMemory (KB)  18432  192  88  88 NoOfUniqueHashIndexes  64  0  0  0 NoOfAttributes  1000  24  24  24 NoOfTriggers  768  15  15  15
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- Part I - Part II
Replication
MySQL Cluster Replication ,[object Object],[object Object],[object Object],[object Object]
MySQL Cluster Replication ,[object Object],[object Object]
MySQL Cluster Replication ,[object Object],[object Object],# read only will avoid write query execution from any user # apart from root -- root will continue be able to do writes mysql> SET GLOBAL read_only = 1; Query OK, 0 rows affected (0.00 sec)
MySQL Cluster Replication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MySQL Cluster Replication
Backup & Restore
Backup & Restore ,[object Object],[object Object],[object Object]
Backup – SINGLE USER MODE ,[object Object],# entering single user mode – other SQL/API will be ignored ndb_mgm> ENTER SINGLE USER MODE 4 Single user mode entered Access is granted for API node 4 only ndb_mgm> START BACKUP NOWAIT ndb_mgm>  ndb_mgm> EXIT SINGLE USER MODE Exiting single user mode in progress Use ALL STATUS or SHOW to see when single user mode has been exited
Backup – START BACKUP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Backup – START BACKUP ,[object Object],[object Object],[object Object],[object Object],[object Object]
Backup – START BACKUP ,[object Object],# using START BACKUP with NOWAIT and monitoring its process ndb_mgm> START BACKUP NOWAIT ndb_mgm> ALL REPORT BACKUPSTATUS Node 3: Local backup status: backup 3 started from node 1  #Records: 0 #LogRecords: 0  Data: 0 bytes Log: 0 bytes Node 4: Local backup status: backup 3 started from node 1  #Records: 0 #LogRecords: 0  Data: 0 bytes Log: 0 bytes ndb_mgm> Node 3: Backup 3 started from node 1 Node 3: Backup 3 started from node 1 completed  StartGCP: 5444 StopGCP: 5447  #Records: 7370 #LogRecords: 0  Data: 497788 bytes Log: 0 bytes
Backup – START BACKUP ,[object Object],[object Object],# listing DataDir/BACKUP subdirectories [root@node3]#  ls –l BACKUP-1 # listing files from BACKUP-1 directory [root@node3 BACKUP]# ls -l BACKUP-1/ total 276 -rw-r--r-- 1 root root 253388 Jun  7 17:57 BACKUP-1-0.3.Data -rw-r--r-- 1 root root  17660 Jun  7 17:57 BACKUP-1.3.ctl -rw-r--r-- 1 root root     52 Jun  7 17:57 BACKUP-1.3.log
Restore - ndb_restore ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Restore - ndb_restore ,[object Object]
Performance Tuning
Engine Condition Pushdown ,[object Object],[object Object]
[object Object],Engine Condition Pushdown Data Nodes Many Rows MySQL Few Rows SQL Query engine_condition_pushdown=0
Engine Condition Pushdown ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Engine Condition Pushdown ,[object Object],engine_condition_pushdown=1 Few Rows MySQL Few Rows SQL Query
Engine Condition Pushdown ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Iptraf ,[object Object],[object Object],[object Object],[object Object],[object Object]
Iptraf
MySQL Cluster’s Architecture
Thanks! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 of 77

Recommended

The Full MySQL and MariaDB Parallel Replication Tutorial by
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialJean-François Gagné
3.3K views113 slides
Redo log improvements MYSQL 8.0 by
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Mydbops
368 views44 slides
Galera cluster for high availability by
Galera cluster for high availability Galera cluster for high availability
Galera cluster for high availability Mydbops
2.2K views28 slides
Best Practice for Achieving High Availability in MariaDB by
Best Practice for Achieving High Availability in MariaDBBest Practice for Achieving High Availability in MariaDB
Best Practice for Achieving High Availability in MariaDBMariaDB plc
4.2K views35 slides
MySQL Group Replication by
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationKenny Gryp
6.6K views65 slides
MariaDB High Availability by
MariaDB High AvailabilityMariaDB High Availability
MariaDB High AvailabilityMariaDB plc
2.6K views39 slides

More Related Content

What's hot

PL22 - Backup and Restore Performance.pptx by
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxVinicius M Grippa
272 views37 slides
A Deep Dive into ASM Redundancy in Exadata by
A Deep Dive into ASM Redundancy in ExadataA Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in ExadataEmre Baransel
7.9K views33 slides
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK) by
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)Jean-François Gagné
1.2K views55 slides
Running MariaDB in multiple data centers by
Running MariaDB in multiple data centersRunning MariaDB in multiple data centers
Running MariaDB in multiple data centersMariaDB plc
3.5K views46 slides
Percona XtraDB Cluster ( Ensure high Availability ) by
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )Mydbops
1.9K views35 slides
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) by
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Mydbops
2.6K views42 slides

What's hot(20)

PL22 - Backup and Restore Performance.pptx by Vinicius M Grippa
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptx
Vinicius M Grippa272 views
A Deep Dive into ASM Redundancy in Exadata by Emre Baransel
A Deep Dive into ASM Redundancy in ExadataA Deep Dive into ASM Redundancy in Exadata
A Deep Dive into ASM Redundancy in Exadata
Emre Baransel7.9K views
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK) by Jean-François Gagné
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)
MySQL Parallel Replication: All the 5.7 and 8.0 Details (LOGICAL_CLOCK)
Running MariaDB in multiple data centers by MariaDB plc
Running MariaDB in multiple data centersRunning MariaDB in multiple data centers
Running MariaDB in multiple data centers
MariaDB plc3.5K views
Percona XtraDB Cluster ( Ensure high Availability ) by Mydbops
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops1.9K views
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) by Mydbops
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Mydbops2.6K views
What is new in MariaDB 10.6? by Mydbops
What is new in MariaDB 10.6?What is new in MariaDB 10.6?
What is new in MariaDB 10.6?
Mydbops859 views
MySQL Database Architectures - InnoDB ReplicaSet & Cluster by Kenny Gryp
MySQL Database Architectures - InnoDB ReplicaSet & ClusterMySQL Database Architectures - InnoDB ReplicaSet & Cluster
MySQL Database Architectures - InnoDB ReplicaSet & Cluster
Kenny Gryp2.6K views
MySQL8.0_performance_schema.pptx by NeoClova
MySQL8.0_performance_schema.pptxMySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
NeoClova405 views
An Overview to MySQL SYS Schema by Mydbops
An Overview to MySQL SYS Schema An Overview to MySQL SYS Schema
An Overview to MySQL SYS Schema
Mydbops864 views
MariaDB MaxScale by MariaDB plc
MariaDB MaxScaleMariaDB MaxScale
MariaDB MaxScale
MariaDB plc1.9K views
MMUG18 - MySQL Failover and Orchestrator by Simon J Mudd
MMUG18 - MySQL Failover and OrchestratorMMUG18 - MySQL Failover and Orchestrator
MMUG18 - MySQL Failover and Orchestrator
Simon J Mudd1.4K views
The InnoDB Storage Engine for MySQL by Morgan Tocker
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
Morgan Tocker13.4K views
Almost Perfect Service Discovery and Failover with ProxySQL and Orchestrator by Jean-François Gagné
Almost Perfect Service Discovery and Failover with ProxySQL and OrchestratorAlmost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
Almost Perfect Service Discovery and Failover with ProxySQL and Orchestrator
MariaDB 마이그레이션 - 네오클로바 by NeoClova
MariaDB 마이그레이션 - 네오클로바MariaDB 마이그레이션 - 네오클로바
MariaDB 마이그레이션 - 네오클로바
NeoClova883 views
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11 by Kenny Gryp
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
Kenny Gryp661 views
MySQL/MariaDB Proxy Software Test by I Goo Lee
MySQL/MariaDB Proxy Software TestMySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software Test
I Goo Lee2K views
EM12c: Capacity Planning with OEM Metrics by Maaz Anjum
EM12c: Capacity Planning with OEM MetricsEM12c: Capacity Planning with OEM Metrics
EM12c: Capacity Planning with OEM Metrics
Maaz Anjum19.9K views
MySQL Atchitecture and Concepts by Tuyen Vuong
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and Concepts
Tuyen Vuong32.5K views
ProxySQL - High Performance and HA Proxy for MySQL by René Cannaò
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQL
René Cannaò5.1K views

Viewers also liked

Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ... by
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Software Park Thailand
2.5K views33 slides
Successful MySQL Scalability by
Successful MySQL ScalabilitySuccessful MySQL Scalability
Successful MySQL ScalabilityRonald Bradford
3.2K views73 slides
MySQL High Availability Solutions - Feb 2015 webinar by
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarAndrew Morgan
51.2K views56 slides
NoSQL and SQL - blending the best of both worlds by
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worldsAndrew Morgan
6.3K views25 slides
MySQL Developer Day conference: MySQL Replication and Scalability by
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and ScalabilityShivji Kumar Jha
2.7K views107 slides
Mysql cluster introduction by
Mysql cluster introductionMysql cluster introduction
Mysql cluster introductionAndrew Morgan
8.7K views25 slides

Viewers also liked(15)

Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ... by Software Park Thailand
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
MySQL High Availability Solutions - Feb 2015 webinar by Andrew Morgan
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
Andrew Morgan51.2K views
NoSQL and SQL - blending the best of both worlds by Andrew Morgan
NoSQL and SQL - blending the best of both worldsNoSQL and SQL - blending the best of both worlds
NoSQL and SQL - blending the best of both worlds
Andrew Morgan6.3K views
MySQL Developer Day conference: MySQL Replication and Scalability by Shivji Kumar Jha
MySQL Developer Day conference: MySQL Replication and ScalabilityMySQL Developer Day conference: MySQL Replication and Scalability
MySQL Developer Day conference: MySQL Replication and Scalability
Shivji Kumar Jha2.7K views
Mysql cluster introduction by Andrew Morgan
Mysql cluster introductionMysql cluster introduction
Mysql cluster introduction
Andrew Morgan8.7K views
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL... by Software Park Thailand
Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...Seminar : "The Future of MYSQL - Roadmap to Success"  session MySQL...
Seminar : "The Future of MYSQL - Roadmap to Success" session MySQL...
Building a Scalable Architecture for web apps by Directi Group
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
Directi Group37.2K views
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ... by Software Park Thailand
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Seminar : "The Future of MySQL - Roadmap to Success" session MySQL ...
Best practices for MySQL High Availability by Colin Charles
Best practices for MySQL High AvailabilityBest practices for MySQL High Availability
Best practices for MySQL High Availability
Colin Charles23.5K views
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4) by Andrew Morgan
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 Morgan10.2K views
FOSDEM 2015 - NoSQL and SQL the best of both worlds by Andrew Morgan
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worlds
Andrew Morgan8.5K views
7 Stages of Scaling Web Applications by David Mitzenmacher
7 Stages of Scaling Web Applications7 Stages of Scaling Web Applications
7 Stages of Scaling Web Applications
David Mitzenmacher103.7K views
Architecture of a Modern Web App by scothis
Architecture of a Modern Web AppArchitecture of a Modern Web App
Architecture of a Modern Web App
scothis82.7K views
Facebook architecture presentation: scalability challenge by Cristina Munoz
Facebook architecture presentation: scalability challengeFacebook architecture presentation: scalability challenge
Facebook architecture presentation: scalability challenge
Cristina Munoz18.8K views

Similar to MySQL Cluster Basics

My SQL Portal Database (Cluster) by
My SQL Portal Database (Cluster)My SQL Portal Database (Cluster)
My SQL Portal Database (Cluster)Nicholas Adu Gyamfi
105 views64 slides
MySQL Utilities -- PyTexas 2015 by
MySQL Utilities -- PyTexas 2015MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015Dave Stokes
698 views29 slides
Get mysql clusterrunning-windows by
Get mysql clusterrunning-windowsGet mysql clusterrunning-windows
Get mysql clusterrunning-windowsJoeSg
692 views3 slides
MySQL database replication by
MySQL database replicationMySQL database replication
MySQL database replicationPoguttuezhiniVP
52 views9 slides
Mysql wp cluster_quickstart_windows by
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windowsRogério Rocha
293 views3 slides
Drupal MySQL Cluster by
Drupal MySQL ClusterDrupal MySQL Cluster
Drupal MySQL ClusterKris Buytaert
4K views52 slides

Similar to MySQL Cluster Basics(20)

MySQL Utilities -- PyTexas 2015 by Dave Stokes
MySQL Utilities -- PyTexas 2015MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015
Dave Stokes698 views
Get mysql clusterrunning-windows by JoeSg
Get mysql clusterrunning-windowsGet mysql clusterrunning-windows
Get mysql clusterrunning-windows
JoeSg692 views
Mysql wp cluster_quickstart_windows by Rogério Rocha
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windows
Rogério Rocha293 views
Cloud Meetup - Automation in the Cloud by petriojala123
Cloud Meetup - Automation in the CloudCloud Meetup - Automation in the Cloud
Cloud Meetup - Automation in the Cloud
petriojala12378 views
Data has a better idea the in-memory data grid by Bogdan Dina
Data has a better idea   the in-memory data gridData has a better idea   the in-memory data grid
Data has a better idea the in-memory data grid
Bogdan Dina50 views
Setting up mongodb sharded cluster in 30 minutes by Sudheer Kondla
Setting up mongodb sharded cluster in 30 minutesSetting up mongodb sharded cluster in 30 minutes
Setting up mongodb sharded cluster in 30 minutes
Sudheer Kondla4.6K views
Asian Spirit 3 Day Dba On Ubl by newrforce
Asian Spirit 3 Day Dba On UblAsian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce1.3K views
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda... by Mydbops
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Mydbops289 views
MySQL 101 PHPTek 2017 by Dave Stokes
MySQL 101 PHPTek 2017MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
Dave Stokes551 views
High Availability != High-cost by normanmaurer
High Availability != High-costHigh Availability != High-cost
High Availability != High-cost
normanmaurer2.7K views
RAC-Installing your First Cluster and Database by Nikhil Kumar
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
Nikhil Kumar1.1K views
RAC - The Savior of DBA by Nikhil Kumar
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
Nikhil Kumar1.8K views
Percona Cluster Installation with High Availability by Ram Gautam
Percona Cluster Installation with High AvailabilityPercona Cluster Installation with High Availability
Percona Cluster Installation with High Availability
Ram Gautam275 views

More from Wagner Bianchi

Migrations from PLSQL and Transact-SQL - m18 by
Migrations from PLSQL and Transact-SQL - m18Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18Wagner Bianchi
480 views36 slides
Maxscale switchover, failover, and auto rejoin by
Maxscale switchover, failover, and auto rejoinMaxscale switchover, failover, and auto rejoin
Maxscale switchover, failover, and auto rejoinWagner Bianchi
1.6K views21 slides
Meetup São Paulo, Maxscale Implementação e Casos de Uso by
Meetup São Paulo, Maxscale Implementação e Casos de UsoMeetup São Paulo, Maxscale Implementação e Casos de Uso
Meetup São Paulo, Maxscale Implementação e Casos de UsoWagner Bianchi
662 views24 slides
Escalando o ambiente com MariaDB Cluster (Portuguese Edition) by
Escalando o ambiente com MariaDB Cluster (Portuguese Edition)Escalando o ambiente com MariaDB Cluster (Portuguese Edition)
Escalando o ambiente com MariaDB Cluster (Portuguese Edition)Wagner Bianchi
1.1K views30 slides
NY Meetup: Scaling MariaDB with Maxscale by
NY Meetup: Scaling MariaDB with MaxscaleNY Meetup: Scaling MariaDB with Maxscale
NY Meetup: Scaling MariaDB with MaxscaleWagner Bianchi
1.3K views36 slides
Webinar: MariaDB Provides the Solution to Ease Multi-Source Replication by
Webinar: MariaDB Provides the Solution to Ease Multi-Source ReplicationWebinar: MariaDB Provides the Solution to Ease Multi-Source Replication
Webinar: MariaDB Provides the Solution to Ease Multi-Source ReplicationWagner Bianchi
806 views30 slides

More from Wagner Bianchi(20)

Migrations from PLSQL and Transact-SQL - m18 by Wagner Bianchi
Migrations from PLSQL and Transact-SQL - m18Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18
Wagner Bianchi480 views
Maxscale switchover, failover, and auto rejoin by Wagner Bianchi
Maxscale switchover, failover, and auto rejoinMaxscale switchover, failover, and auto rejoin
Maxscale switchover, failover, and auto rejoin
Wagner Bianchi1.6K views
Meetup São Paulo, Maxscale Implementação e Casos de Uso by Wagner Bianchi
Meetup São Paulo, Maxscale Implementação e Casos de UsoMeetup São Paulo, Maxscale Implementação e Casos de Uso
Meetup São Paulo, Maxscale Implementação e Casos de Uso
Wagner Bianchi662 views
Escalando o ambiente com MariaDB Cluster (Portuguese Edition) by Wagner Bianchi
Escalando o ambiente com MariaDB Cluster (Portuguese Edition)Escalando o ambiente com MariaDB Cluster (Portuguese Edition)
Escalando o ambiente com MariaDB Cluster (Portuguese Edition)
Wagner Bianchi1.1K views
NY Meetup: Scaling MariaDB with Maxscale by Wagner Bianchi
NY Meetup: Scaling MariaDB with MaxscaleNY Meetup: Scaling MariaDB with Maxscale
NY Meetup: Scaling MariaDB with Maxscale
Wagner Bianchi1.3K views
Webinar: MariaDB Provides the Solution to Ease Multi-Source Replication by Wagner Bianchi
Webinar: MariaDB Provides the Solution to Ease Multi-Source ReplicationWebinar: MariaDB Provides the Solution to Ease Multi-Source Replication
Webinar: MariaDB Provides the Solution to Ease Multi-Source Replication
Wagner Bianchi806 views
MySQL Multi-Source Replication for PL2016 by Wagner Bianchi
MySQL Multi-Source Replication for PL2016MySQL Multi-Source Replication for PL2016
MySQL Multi-Source Replication for PL2016
Wagner Bianchi1.4K views
MySQL 5.7 Multi-Source Replication by Wagner Bianchi
MySQL 5.7 Multi-Source ReplicationMySQL 5.7 Multi-Source Replication
MySQL 5.7 Multi-Source Replication
Wagner Bianchi1.2K views
UNIFAL - MySQL 5.6 - Replicação by Wagner Bianchi
UNIFAL - MySQL 5.6 - ReplicaçãoUNIFAL - MySQL 5.6 - Replicação
UNIFAL - MySQL 5.6 - Replicação
Wagner Bianchi1.2K views
UNIFAL - MySQL Logs - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Logs - 5.0/5.6UNIFAL - MySQL Logs - 5.0/5.6
UNIFAL - MySQL Logs - 5.0/5.6
Wagner Bianchi1.3K views
UNIFAL - MySQL Transações - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Transações - 5.0/5.6UNIFAL - MySQL Transações - 5.0/5.6
UNIFAL - MySQL Transações - 5.0/5.6
Wagner Bianchi3.3K views
UNIFAL - MySQL Storage Engine - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Storage Engine - 5.0/5.6UNIFAL - MySQL Storage Engine - 5.0/5.6
UNIFAL - MySQL Storage Engine - 5.0/5.6
Wagner Bianchi3.4K views
UNIFAL - MySQL Views - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Views - 5.0/5.6UNIFAL - MySQL Views - 5.0/5.6
UNIFAL - MySQL Views - 5.0/5.6
Wagner Bianchi446 views
UNIFAL - MySQL Triggers - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Triggers - 5.0/5.6UNIFAL - MySQL Triggers - 5.0/5.6
UNIFAL - MySQL Triggers - 5.0/5.6
Wagner Bianchi769 views
UNIFAL - MySQL Stored Routines - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Stored Routines - 5.0/5.6UNIFAL - MySQL Stored Routines - 5.0/5.6
UNIFAL - MySQL Stored Routines - 5.0/5.6
Wagner Bianchi759 views
UNIFAL - MySQL Linguagem SQL Básico - 5.0/5.6 by Wagner Bianchi
UNIFAL - MySQL Linguagem SQL Básico - 5.0/5.6UNIFAL - MySQL Linguagem SQL Básico - 5.0/5.6
UNIFAL - MySQL Linguagem SQL Básico - 5.0/5.6
Wagner Bianchi1K views
UNIFAL - MySQL & Vagrant (iniciando os trabalhos) by Wagner Bianchi
UNIFAL - MySQL & Vagrant (iniciando os trabalhos)UNIFAL - MySQL & Vagrant (iniciando os trabalhos)
UNIFAL - MySQL & Vagrant (iniciando os trabalhos)
Wagner Bianchi486 views
Wagner Bianchi, GUOB 2014 MySQL Cluster 7.3 by Wagner Bianchi
Wagner Bianchi, GUOB 2014 MySQL Cluster 7.3Wagner Bianchi, GUOB 2014 MySQL Cluster 7.3
Wagner Bianchi, GUOB 2014 MySQL Cluster 7.3
Wagner Bianchi1.4K views
Introdução ao MySQL 5.6 by Wagner Bianchi
Introdução ao MySQL 5.6Introdução ao MySQL 5.6
Introdução ao MySQL 5.6
Wagner Bianchi3.8K views

Recently uploaded

Business Analyst Series 2023 - Week 4 Session 7 by
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
126 views31 slides
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
176 views20 slides
Data Integrity for Banking and Financial Services by
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial ServicesPrecisely
78 views26 slides
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...ShapeBlue
132 views15 slides
NTGapps NTG LowCode Platform by
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform Mustafa Kuğu
365 views30 slides
Cencora Executive Symposium by
Cencora Executive SymposiumCencora Executive Symposium
Cencora Executive Symposiummarketingcommunicati21
139 views14 slides

Recently uploaded(20)

Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10126 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue176 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely78 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue132 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu365 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue163 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson156 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue123 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software385 views
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... by ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue88 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue85 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue154 views
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates by ShapeBlue
Keynote Talk: Open Source is Not Dead - Charles Schulz - VatesKeynote Talk: Open Source is Not Dead - Charles Schulz - Vates
Keynote Talk: Open Source is Not Dead - Charles Schulz - Vates
ShapeBlue210 views
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... by ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue79 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue98 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash153 views

MySQL Cluster Basics

  • 1. MySQL Cluster Wagner Bianchi – LAD Senior Principal Consulting [email_address]
  • 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, release, and timing of any features or functionality described for Oracle ’s products remains at the sole discretion of Oracle.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Data/Storage Node
  • 16.
  • 17.
  • 18.
  • 20.
  • 21.
  • 22.
  • 23. Global Configuration File [ndb_mgmd] NodeId=1 HostName=192.168.0.101 [ndbd default] NoOfReplicas=2 DataDir=/var/lib/mysql-cluster StopOnError=false # angel will restart failed nodes [ndbd] NodeId=2 HostName=192.168.0.102 [ndbd] NodeId=3 HostName=192.168.0.103 [mysqld] NodeIde=4 HostName=192.168.0.104 [mysqld] # free reserved slot – e.g. ndb_restore, the native cli for database restore
  • 24.
  • 26.
  • 27.
  • 29.
  • 31.
  • 32.
  • 33. Disk-based and In-memory Tables
  • 34.
  • 35.
  • 36.
  • 37. Disk-based Tables # creating database world mysql> CREATE DATABASE world; Query OK, 0 rows affected (1.52 sec) # creating logfile group world_log mysql> CREATE LOGFILE GROUP world_log ADD UNDOFILE ‘world_log.dat’ -> UNDO_BUFFER_SIZE=16M INITIAL_SIZE=200M ENGINE=NDB; Query OK, 0 rows affected (2.23 sec) # creating tablespace world_tbs, where will reside table`s data mysql> CREATE TABLESPACE world_tbs ADD DATAFILE ‘world_tbs.dat’ -> USE LOGFILE GROUP world_log INITIAL_SIZE=500M ENGINE=NDB; Query OK, 0 rows affected (1.09 sec) # restoring world database from world.sql file shell> cat world.sql | sed –e ‘s/ENGINE=MyISAM/STORAGE DISK TABLESPACE world_tbs ENGINE = NDB/g’ | mysql world
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 54.
  • 55.
  • 56.
  • 57.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 77.

Editor's Notes

  1. In this example the MySQL Cluster has 4 data nodes; this means that the table is divides into 4 partitions (labaled P1, P2, P3, and P4). We assume that there are 2 replicas (NoOfReplicas=2 in this global configuration file).