On Thu, Dec 06, 2001 at 07:42:29PM -0800, Gustavo A. Baratto wrote: > Hi Guys, > > The documentation in http://www.mysql.com/doc/R/e/Replication.html , > is not clear enough regarding using replication for load balancing. > > I understand that the load balance can just be done on SELECTS. And > the documentation says that "The extra speed is achieved by sending > a part of the non-updating queries to the replica server". > > My question is: Do we have to send the SELECT explicitly to the > slave, or we can send it to the master, and it (the master) will > take care of that?
You have to send them yourself (explicitly). Assuming you have 1 master and N slaves, you can use various load-balancing techniques (round-robin DNS, LVS, etc) for the SELECTs. Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.41-max: up 7 days, processed 170,180,367 queries (249/sec. avg) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php