Solved

resynchronize tables between  two db mysql mariadb

Posted on 2014-01-27
1
383 Views
Last Modified: 2014-02-06
Hello,

I have to resynchronize tables between  two db mysql mariadb innodb. The tables contain million rows.
How can do it because it can take several hours?
Is it possible to do a cold backup and copy the file tables?

Thanks
0
Comment
Question by:bibi92
1 Comment
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 500 total points
ID: 39812670
If you were using innodb_file_per_table, and MySQL 5.6, you could copy the .ibd file from one server to another and import the tablespace. I don't know if mariadb has implemented that.

http://dev.mysql.com/doc/refman/5.6/en/tablespace-copying.html
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question