I have two live databases that require migration to a new server. These are large databases that are constantly used.
I want to configure replication using a slave on a new server and start migrating data through. However, I would like to try to avoid execution mysqldumpfor the current master data in order to get the initial position of binlog, since I do not want to lock the database for a long period of time.
Is there any way to find out the earliest master_log_posso that I can start replication from the very beginning? If not, are there any other solutions to avoid transactions (as much as possible)?
James source
share