Ir al contenido principal

Entradas

Mostrando las entradas con la etiqueta SLAVE

MYSQL - MASTER --> SLAVE

  MySQL replication is a process that enables data from one MySQL database server (the master) to be copied automatically to one or more MySQL database servers (the slaves). It is usually used to spread read access on multiple servers for scalability, although it can also be used for other purposes such as for failover, or analyzing data on the slave in order not to overload the master. As the master-slave replication is a one-way replication (from master to slave), only the master database is used for the write operations, while read operations may be spread on multiple slave databases. What this means is that if master-slave replication is used as the scale-out solution, you need to have at least two data sources defined, one for write operations and the second for read operations. MySQL developers  usually work on only one machine and tend to have their whole development environment on that one machine, with the logic that they are not dependent on a network or internet con...