Thanks for the reply Jeremy... What I need actually is a cluster. We have lots of users using lots of small databases... Our users should send a query to one server, and somehow we must load balance that... I think I'd better get more hardware to that server, until mysql come up with a clustering solution...
Thanks, Gustavo On Thu, 2001-12-06 at 23:34, Jeremy Zawodny wrote: > 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 -- -------------------------------------------------------------------------- Gustavo Baratto - Programming and Technical Support [EMAIL PROTECTED] * (604) 638-2525 ext. 408 Technical support web-site: http://support.superb.net Superb Internet Corp. "Ahead of the Rest" ------------------------------------------------------------------------- --------------------------------------------------------------------- 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