My job has a testing, staging and production enviroment. They want most database changes to be done on the staging environment and for the production environment to replicate the staging environment. From the research I've done, it appears that Mysql Replication process would be the best way to do this. So the Staging Database would be the master DB and the live production site would run on the slave DB. So my question is this.
From what I found, I was able to figure out how to setup a master slave database environment but the resources I've found do not go in detail on how frequently the slave talks to the master database. I would like for the slave to talk to the master either on demand or during a particular time during the day. I maybe misunderstanding the resources I am reading but thats why I am asking this question. I would not like for the database to constantly listen for new changes in the master log. How does replication work by default and how can I get it to listen at a particular time or when I tell it to.