|
|||||||||||
|
Re: Use of slave server for read only queries
From: Vetle Roeim <vetler(at)opera.com>
Date: Fri Sep 07 2007 - 02:40:21 EDT
> Hi All, You could do it in the application logic, i.e. create a separate connection to the slave server that you use for reading, or perhaps this would be a good use of the MySQL Proxy <URL: http://forge.mysql.com/wiki/MySQL_Proxy >. In any case, you should be aware that the replication is not synchronous, so there might be data on the master that has not yet been added to the slave. Various things can affect this, such as heavy queries, for instance. Wether or not this is a problem for you will depend on your application. One option could be to use slave servers for users or data where up-to-date information is not necessarily required. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- MySQL Replication Mailing List For list archives: http://lists.mysql.com/replication To unsubscribe: http://lists.mysql.com/replication?unsub=lists@pantek.comReceived on Fri Sep 7 02:52:45 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:23 EDT |
||||||||||
|
|||||||||||