My Oracle Support Banner

How to Restore MySQL Cluster Native Backup to InnoDB for Replication (Doc ID 2100439.1)

Last updated on JULY 26, 2023

Applies to:

MySQL Cluster - Version 7.2 and later
Information in this document applies to any platform.

Goal

MySQL Cluster is really good at scalability. However, several types of read operation will not scale out very well. To work around such a scalability problem, having a InnoDB replicas is a reasonable solution. To have an InnoDB replica without service interruption, MySQL Cluster native backup should be employed as a restoration method. Because, it is not possible to use mysqldump without stopping the cluster; taking a backup on a single user mode is recommended, nor MySQL Enterprise Backup doesn't support MySQL Cluster.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Take a native backup
 2. Take a backup of schema
 3. Replace all "ndbcluster" string with "InnoDB"
 4.  Restore schema to the target MySQL Server
  5. Generate tab separated text files
 6. Restore tab separated text files
 7. Replay log included in the native backup
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.