What are the advantages and disadvantages for Master/Slave type mysql architectures vs load balancing web servers with read only db's in each using a separate server holding a mysql database just for the writes?
相关问题
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Why sometimes there is one of more gap(s) in the v
- mySQL alter table on update, current timestamp
Master/Slave type architecture is useful for when your application is "read heavy", that is a majority of connections to the database are for reading data as opposed to writing data.
Master/Slave allows you to scale out your application just by adding more hardware. Simply create a copy of the database on a new box and add it as a slave to the master.
With regards to
This just sounds like a Master/Slave type architecture. With Master/Slave you want the slaves to be read only, as the master is the only place where data changes (and those changes propagate to the slaves).