Re: Free load balancing and sharding

2015-09-02 Thread Reindl Harald
Am 02.09.2015 um 09:55 schrieb S.Mohammad Emami Razavi: I want to cluster MySQL to several servers and have no idea to start. Some questions have stuck to my mind such as How to balance connections and How to make mesh of shards and ... Can you show me a way to do these tasks correctly?

Free load balancing and sharding

2015-09-02 Thread S.Mohammad Emami Razavi
I want to cluster MySQL to several servers and have no idea to start. Some questions have stuck to my mind such as How to balance connections and How to make mesh of shards and ... Can you show me a way to do these tasks correctly? Many Thanks,

PECL: mysqlnd_ms (Load-Balancing)

2011-04-20 Thread Reindl Harald
make many setups very scaleable and much more efficient as do the work in php-scripts with all the needed decisions read-query, which mysql-host and is the host currently available I think this would be finally a thing to directly include in mysqlnd and leave default off The replication and load

Re: mysql load balancing

2009-12-28 Thread Baron Schwartz
Miguel, On Fri, Dec 25, 2009 at 4:56 PM, Miguel Angel Nieto cor...@miguelangelnieto.net wrote: Load balancing, or high availability? I do not think there is anything good and simple AND generic out of the box.  As previous posters have noted, you generally have to build something on top

Re: mysql load balancing

2009-12-25 Thread Baron Schwartz
Miguel, On Sun, Dec 20, 2009 at 6:21 PM, Miguel Angel Nieto cor...@miguelangelnieto.net wrote: Hi, I am searching fot a Mysql Load Balacing tool. I read about mysql proxy, sqlrelay, haproxy... Load balancing, or high availability? I do not think there is anything good and simple AND generic

Re: mysql load balancing

2009-12-25 Thread Miguel Angel Nieto
Load balancing, or high availability? I do not think there is anything good and simple AND generic out of the box.  As previous posters have noted, you generally have to build something on top of other tools. Hi, I have the HA solved with MMM. Now, I want load balacing, sending read queries

RE: mysql load balancing

2009-12-25 Thread Neil Aggarwal
Baron: Load balancing, or high availability? I do not think there is anything good and simple We use MySQL master-master replication to keep geographically separated databases in sync. It works very well. We built a management layer on top of it to allow the endpoints (Web servers) to talk

Re: mysql load balancing

2009-12-24 Thread Jaime Crespo Rincón
about LVS and keepalived but I can't see the difference between them. Are they the same thing? I want the load balancing for my replicated servers. I suppose that LVS can't distinguish between inserts and selects (to send queries to the master o slave server). I do not know about keepalived

Re: mysql load balancing

2009-12-24 Thread Pascal Charest
you are going to deploy and how much scability you need. Thank you. I have read about LVS and keepalived but I can't see the difference between them. Are they the same thing? I want the load balancing for my replicated servers. I suppose that LVS can't distinguish between inserts and selects

Re: mysql load balancing

2009-12-22 Thread Jaime Crespo Rincón
2009/12/21 Miguel Angel Nieto cor...@miguelangelnieto.net: Hi, I am searching fot a Mysql Load Balacing tool. I read about mysql proxy, sqlrelay, haproxy... What do you prefer? Hi, The solutions I have heard most from our customers (in production) are not mysql-specific: 1) Simple, not

Re: mysql load balancing

2009-12-22 Thread Miguel Angel Nieto
the difference between them. Are they the same thing? I want the load balancing for my replicated servers. I suppose that LVS can't distinguish between inserts and selects (to send queries to the master o slave server). See you. -- Lo que haría sería hacerme pasar por sordomudo y así no tendría que

mysql load balancing

2009-12-20 Thread Miguel Angel Nieto
Hi, I am searching fot a Mysql Load Balacing tool. I read about mysql proxy, sqlrelay, haproxy... What do you prefer? What are the benefits and bugs? :) Thank you. -- Lo que haría sería hacerme pasar por sordomudo y así no tendría que hablar. Si querían decirme algo, tendrían que escribirlo

Clusterring, Fail over (High Availability) and Load Balancing With Ubuntu 8.04

2009-06-05 Thread sangprabv
Is it possible to do load balancing with 3 servers which also cluster and fail over (High Availibity) with MySQL? Can somebody give me the how to or URL to setup? Willy -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

question on mysql proxy's load balancing

2008-08-29 Thread Jenny Chen
Hi, When I read Jk's document on MySQL proxy: http://jan.kneschke.de/projects/mysql/mysql-proxy/ In Load balancing part, he mentioned that: We use SQF (shortest queue first) to distribute the load across the backends equally. Each backend will get the same number of connections. My

Re: MySQL Load Balancing

2006-08-08 Thread Renato Golin
Ed Pauley II wrote: Continuent's m/cluster will not work for me as it does not allow replication across a WAN. Yeah, known problem... We have an offsite backup that needs to be in the replication (2-way to make switching back and forth easy) chain. Why do you need a backup site to write

Re: MySQL Load Balancing

2006-08-08 Thread Ed Pauley II
Renato Golin wrote: Ed Pauley II wrote: Continuent's m/cluster will not work for me as it does not allow replication across a WAN. Yeah, known problem... We have an offsite backup that needs to be in the replication (2-way to make switching back and forth easy) chain. Why do you need a

Re: MySQL Load Balancing

2006-08-08 Thread Renato Golin
? I'd rather go for the first one because the second one will raise more problems than solve, specially related to network delays. If, in the first case, one master fails you can issue a change master to the other master and it'll keep running. As you'll only have the slave there will be no load

Re: MySQL Load Balancing

2006-08-08 Thread Jon Drukman
to load balance the slaves at each location. We use a Netscaler 9000 in front of our slaves but you can use any load balancing appliance really. We used to use an Alteon. -jsd- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: MySQL Load Balancing

2006-08-07 Thread Ed Pauley II
-out stack but nothing on Citrix.com mentions MySQL. I also read that friendster wrote a custom script for NetScaler to work in a MySQL environment. I would rather not have to do that. Is there an out-of-box solution for load balancing MySQL. My understanding is that MySQL is a little more

Re: MySQL Load Balancing

2006-08-07 Thread Peter Zaitsev
require a different setup. Is anyone actually using Sequoia? Does anyone use an appliance for load balancing MySQL? LVS seems like a good possibility but I would rather have an out-of-box solution since I will be repeating this setup at a remote location. Sorry, did not try Sequoia so

MySQL Load Balancing

2006-08-04 Thread Ed Pauley II
wrote a custom script for NetScaler to work in a MySQL environment. I would rather not have to do that. Is there an out-of-box solution for load balancing MySQL. My understanding is that MySQL is a little more complicated than HTTP load balancing, which we already do with Coyote Point

Re: MySQL Load Balancing

2006-08-04 Thread Atle Veka
white paper shows NetScaler in the scale-out stack but nothing on Citrix.com mentions MySQL. I also read that friendster wrote a custom script for NetScaler to work in a MySQL environment. I would rather not have to do that. Is there an out-of-box solution for load balancing MySQL. My

Re: MySQL Load Balancing

2006-08-04 Thread Dan Buettner
Ed, in Jeremy Zawodny's (excellent) book High Performance MySQL, there is a chapter on load balancing - though it's a bit more of a theoretical discussion than a how-to. There are a couple of commercial products mentioned briefly - Veritas and EMIC Networks. One idea he presents might work

Re: MySQL Load Balancing

2006-08-04 Thread Atle Veka
on Citrix.com mentions MySQL. I also read that friendster wrote a custom script for NetScaler to work in a MySQL environment. I would rather not have to do that. Is there an out-of-box solution for load balancing MySQL. My understanding is that MySQL is a little more complicated than HTTP load

Re: MySQL Load Balancing

2006-08-04 Thread Peter Zaitsev
on Citrix.com mentions MySQL. I also read that friendster wrote a custom script for NetScaler to work in a MySQL environment. I would rather not have to do that. Is there an out-of-box solution for load balancing MySQL. My understanding is that MySQL is a little more complicated than HTTP

Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-19 Thread Christopher G. Stach II
Kevin Burton wrote: Hey Gang. I wanted to get this out on the list and facilitate some feedback. http://www.feedblog.org/2006/07/announce_lbpool.html What does this have over MySQL Connector/J's load balancing? -- Christopher G. Stach II -- MySQL General Mailing List For list

Re: Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-19 Thread Kevin Burton
There was a thread before about this... this is much better than connector J's load balancing. You can take machines out of production, add thhem back in, it's MySQL slave aware, etc On 7/19/06, Christopher G. Stach II [EMAIL PROTECTED] wrote: Kevin Burton wrote: Hey Gang. I wanted to get

Announce: LBPool 1.0 beta1 (Load Balancing JDBC Connection Pool)

2006-07-18 Thread Kevin Burton
. == The lbpool project provides a load balancing JDBC driver for use with DB connection pools. It wraps a normal JDBC driver providing reconnect semantics in the event of additional hardware availability, partial system failure, or uneven load distribution. It also evenly distributes all new

Load Balancing Mysql with Foundry ServerIron Switches????

2005-06-10 Thread Kishore Jalleda
Hi All, Has anybody implemented Load Balancing Mysql with Foundry Load Balancers, I know that the ServerIron series switches dont have a way to do a Layer 7 health check for mysql, as it is not a default port profile, any help from who has dome some work on foundry switches would

Re: Suggestions on db server configuration - Replication load balancing or Clustering??

2005-06-09 Thread Ian Sales (DBA)
. The other option is load balancing and replication. My problem with this setup is that there will be too many points of failure since there can only be one master for each slave. Not to mention the lag that may be introduced since there would be multiple servers at each location. It is crucial

Suggestions on db server configuration - Replication load balancing or Clustering??

2005-06-08 Thread Ed Pauley II
times we are seeing 1200 to 2000 QPS. For good reason our database servers have high load averages during peek times. I have been looking at MySQL clustering, but due to the fact that our database is rather large the in memory only restriction will make it unfeasible. The other option is load

Connection latency reduction attempt for load balancing mysql slaves.

2005-01-29 Thread Kevin A. Burton
I'm experimenting with using ConnectorJ 3.1.7 to connect to MySQL slaves to handle load balancing queries. The environment would either include a hardware loadbalancer or round robin DNS (or static configuration). The main component though is having the JDBC driver continually reconnect

Re: Connection latency reduction attempt for load balancing mysql slaves.

2005-01-29 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin A. Burton wrote: I'm experimenting with using ConnectorJ 3.1.7 to connect to MySQL slaves to handle load balancing queries. The environment would either include a hardware loadbalancer or round robin DNS (or static configuration

Re: MySQL Load Balancing w/ Alteons...Half Open Connections

2005-01-28 Thread Ian Sales (DBA)
Kevin A. Burton wrote: Jason J. W. Williams wrote: Has anyone ever had a problem with Alteon load balancers leaving the MySQL connections half open? After about a minute of heavy use the Alteon has completely DoS'd our MySQL servers. I know we must be doing something wrong...just not sure what.

Re: MySQL Load Balancing w/ Alteons...Half Open Connections

2005-01-28 Thread Kevin A. Burton
Ian Sales (DBA) wrote: Kevin A. Burton wrote: Define DoS? - Denial of Service... ug... Thats not what I meant... I mean what type of behavior were you noticing? Just all connections being occupied on the server? Kevin -- Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an

MySQL Load Balancing w/ Alteons...Half Open Connections

2005-01-27 Thread Jason J. W. Williams
Has anyone ever had a problem with Alteon load balancers leaving the MySQL connections half open? After about a minute of heavy use the Alteon has completely DoS'd our MySQL servers. I know we must be doing something wrong...just not sure what. Any help is greatly appreciated! Best Regards, Jason

Re: MySQL Load Balancing w/ Alteons...Half Open Connections

2005-01-27 Thread Kevin A. Burton
Jason J. W. Williams wrote: Has anyone ever had a problem with Alteon load balancers leaving the MySQL connections half open? After about a minute of heavy use the Alteon has completely DoS'd our MySQL servers. I know we must be doing something wrong...just not sure what. Any help is greatly

Re: MySQL load balancing...

2004-12-16 Thread Russell E Glaue
We have fail-over using Linux Virtual Server, now upgrading to Red Hat Cluster Suite. We do not implement load-balancing. Here is why. In order to have full true load balancing, you need to have two or more MySQL database server replicating data to each other in real time. Currently your only

Re: MySQL load balancing...

2004-12-16 Thread Greg Whalin
We also use Linux Virtual Server for load balancing, but only on our read-only cluster. Our current levels of RW traffic do not demand more than one machine. Russell E Glaue wrote: We have fail-over using Linux Virtual Server, now upgrading to Red Hat Cluster Suite. We do not implement load

Re: MySQL load balancing...

2004-12-16 Thread Jon Drukman
Kevin A. Burton wrote: Was curious what people on the list are using for load balancing.. there are a number of techniques here but it would be interesting if people could share some real-world experiences HTTP load balancing is pretty well understood but there's not a bunch out

MySQL load balancing...

2004-12-15 Thread Kevin A. Burton
Was curious what people on the list are using for load balancing.. there are a number of techniques here but it would be interesting if people could share some real-world experiences HTTP load balancing is pretty well understood but there's not a bunch out there on MySQL load balancing

Books High Performance MySQL and Server Load Balancing

2004-05-14 Thread Renato Cramer
Hi All, I'm reading High Performance MySQL. In my humble opinion is an very good book. Congratulations to the authors. In the chapter Load Balancing and High Availability is cited the Tony Bourke's book Server Load Balancing. Someone read it? is one good reference font? I need study

Re: MySQL load balancing

2004-02-26 Thread Sasha Pachev
Problem: all the mod_perl pages run a few write queries, so they will require a connection to the main database server. Since around 80% of our queries are reads, would you recommend that each script has two connections: one for read queries, and one for write queries? We can determine which

MySQL load balancing

2004-02-25 Thread Alex Greg
RAID-5 array, and it only runs MySQL. I am intending on implementing a load-balancing solution, whereby we have a pool of around 3 slaves replicating off the main database server. mod_perl scripts can then make a connection to a random slave, and send their read queries there. Hopefully we can

Re: MySQL load balancing

2004-02-25 Thread mos
with 1.5GB RAM and a 73GB SCSI RAID-5 array, and it only runs MySQL. I am intending on implementing a load-balancing solution, whereby we have a pool of around 3 slaves replicating off the main database server. mod_perl scripts can then make a connection to a random slave, and send their read

Read Slaves, and load balancing between them...

2004-01-29 Thread James
I am interested in setting up 3 read only slaves and one write master. I am thinking of implementing this because one server is slower than 3 ;-). But anyway, I have read all the docs and I am fairly sure how I want do this and keep the sanity checking in the loop. What I am considering doing is

RE: Read Slaves, and load balancing between them...

2004-01-29 Thread Mike Johnson
From: James [mailto:[EMAIL PROTECTED] I am interested in setting up 3 read only slaves and one write master. I am thinking of implementing this because one server is slower than 3 ;-). But anyway, I have read all the docs and I am fairly sure how I want do this and keep the sanity

RE: Read Slaves, and load balancing between them...

2004-01-29 Thread Andrew Braithwaite
Hi, I employ a simple method, I have a 'status' table on the master and have a cron job that updates this table with the current time (now()) every minute. I test all the slaves each minute and if the time in the status table gets too far behind the actual time then it flags a warning to me.

RE: Read Slaves, and load balancing between them...

2004-01-29 Thread James
, and load balancing between them... From: James [mailto:[EMAIL PROTECTED] I am interested in setting up 3 read only slaves and one write master. I am thinking of implementing this because one server is slower than 3 ;-). But anyway, I have read all the docs and I am fairly sure how I want

RE: Read Slaves, and load balancing between them...

2004-01-29 Thread Mike Johnson
From: James [mailto:[EMAIL PROTECTED] Mike Andrew, Excellent ideas... The reason I am considering checking the log location, is because normal lusers will be using this software, so it won't be too good for them to see errors about the slave being out of synch. (Some 20 people

Re: Read Slaves, and load balancing between them...

2004-01-29 Thread Jim Richardson
On Thu, Jan 29, 2004 at 03:40:17PM -, Andrew Braithwaite wrote: Hi, I employ a simple method, I have a 'status' table on the master and have a cron job that updates this table with the current time (now()) every minute. I test all the slaves each minute and if the time in the status table

RE: Read Slaves, and load balancing between them...

2004-01-29 Thread Andrew Braithwaite
PROTECTED] Subject: Re: Read Slaves, and load balancing between them... On Thu, Jan 29, 2004 at 03:40:17PM -, Andrew Braithwaite wrote: Hi, I employ a simple method, I have a 'status' table on the master and have a cron job that updates this table with the current time (now()) every minute

Re: Read Slaves, and load balancing between them...

2004-01-29 Thread Jim Richardson
On Thu, Jan 29, 2004 at 11:47:52PM -, Andrew Braithwaite wrote: I believe MySQL 4.1 has support for ssl replication but it's still alpha at the moment. If you are referring to connecting to a MySQL server from an application to query it then the following applies: ---from the manual--- When

Re: load-balancing with NFS

2001-06-15 Thread harm
On Fri, Jun 15, 2001 at 09:54:32AM +0200, Wouter de Jong wrote: On Thu, Jun 14, 2001 at 05:05:56PM -0700, Justin Bauer wrote: You can do load balancing, you just need to have the same information on each server. With mysql you would use Replication to keep the servers sync'ed. Well

Re: load-balancing with NFS

2001-06-14 Thread Wouter de Jong
, 2001 10:21 To: [EMAIL PROTECTED] Subject: load-balancing with NFS *This message was transferred with a trial version of CommuniGate(tm) Pro* Hello, I have an idea about setting up 1 machine that contains the var-directory (RAID5 for backup, etc). Then I mount the var directory

load-balancing with NFS

2001-06-13 Thread Wouter de Jong
a shared /var/ directory for all databases inside ? I want load-balancing, cause my server can't handle the pressure good anymore. database-01 IN A 192.168.0.101 database-01 IN A 192.168.0.102 192.168.0.101: (running mysqld) 192.168.0.100:/opt/database/mysql/var /opt/database/mysql/var 192.168.0.102

RE: load-balancing with NFS

2001-06-13 Thread Sven Huster
filer) regards Sven Huster Senior IT Systems Engineer -Original Message- From: Wouter de Jong [mailto:[EMAIL PROTECTED]] Sent: 13 June, 2001 10:21 To: [EMAIL PROTECTED] Subject: load-balancing with NFS *This message was transferred with a trial version of CommuniGate(tm) Pro

Re: Load Balancing.

2001-02-01 Thread Jeremy D. Zawodny
On Tue, Jan 30, 2001 at 02:35:29PM -0700, Nathan Cook wrote: It seems like I have seen somewhere that load balancing and fail-over-services are available for MySQL, to share the load and mirror the data between two machines. Other than MySQL's built-in replication, which doesn't handle fail

Re: Load Balancing.

2001-02-01 Thread Nathan Cook
:: Programmer [ phone - 208.343.3110 ][ pager - 208.387.9983 ] - Original Message - From: "Jeremy D. Zawodny" [EMAIL PROTECTED] To: "Nathan Cook" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 1:51 AM Subject: Re: Load Balancing. On Tue, Jan 30, 2001

Load Balancing.

2001-01-30 Thread Nathan Cook
It seems like I have seen somewhere that load balancing and fail-over-services are available for MySQL, to share the load and mirror the data between two machines. Is this possible and if so where can I read more about it? Thank You, .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. Systems Network

Re: newbie question on replication and load balancing...

2001-01-16 Thread Jeremy D. Zawodny
On Tue, Jan 16, 2001 at 03:41:14PM +0800, Ganen Ganeswaran wrote: I'm a relative newbie in mySQL. I have 10 mySQL databases. At the moment I'm only using 1 of the databases. I was wondering if it's possible (and how) to setup some sort of replication/load balancing between all 10 dbs