Quantcast
Channel: adding another table to existing MySQL replication scenario - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 2

adding another table to existing MySQL replication scenario

0
0

I'm running a simple MySQL replication scenario MASTER ➙ BLACKHOLE ➙ SLAVE, replicating only a number of tables via replicate-do-table on BLACKHOLE and SLAVE. Now I would like to add several more tables (that already exist and filled with data on MASTER) to existing replication, with minimum downtime on MASTER and SLAVE. I have general understanding of steps to undertake in order to have a consistent snapshot (lock master tables, stop replication, dump&source etc), but this process includes 10+ steps and prone to human mistakes, especially if we set up more slaves in future.

Question: is there an easier option to add new table(s) to replication? Like using

mysqldump --master-data ...

and then somehow start replication of a particular table from a certain binlog position?

Thank you.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images