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? https:

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
gt; The replication and load balancing plugin is a plugin for the mysqlnd library. > It can be used with PHP MySQL extensions (ext/mysql, ext/mysqli, PDO_MySQL). > if they are compiled to use mysqlnd. The plugin inspects queries to do > read-write > splitting. Read-only queries are s

Re: mysql load balancing

2009-12-28 Thread Baron Schwartz
Miguel, On Fri, Dec 25, 2009 at 4:56 PM, Miguel Angel Nieto 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 >> s

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 serve

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 balacin

Re: mysql load balancing

2009-12-25 Thread Baron Schwartz
Miguel, On Sun, Dec 20, 2009 at 6:21 PM, Miguel Angel Nieto 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 out of

Re: mysql load balancing

2009-12-24 Thread Pascal Charest
, ndb), the kind of applications 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 repli

Re: mysql load balancing

2009-12-24 Thread Jaime Crespo Rincón
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 (to send queries to the master > o slave server). I

Re: mysql load balancing

2009-12-22 Thread Miguel Angel Nieto
lity 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 (to send queries to the master o slav

Re: mysql load balancing

2009-12-22 Thread Jaime Crespo Rincón
2009/12/21 Miguel Angel Nieto : > 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 load-aware *DNS balancin

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 connect

Re: MySQL Load Balancing

2006-08-08 Thread Jon Drukman
y with how 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 unsubscrib

Re: MySQL Load Balancing

2006-08-08 Thread Renato Golin
d balance ? 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 ha

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 ba

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 th

Re: MySQL Load Balancing

2006-08-07 Thread Peter Zaitsev
know would 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

Re: MySQL Load Balancing

2006-08-07 Thread Ed Pauley II
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 understanding is that MySQL is a l

Re: MySQL Load Balancing

2006-08-04 Thread Peter Zaitsev
t; 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 understanding is that MySQL

Re: MySQL Load Balancing

2006-08-04 Thread Atle Veka
ork well for MySQL. MySQL's 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 o

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

Re: MySQL Load Balancing

2006-08-04 Thread Atle Veka
work well for MySQL. MySQL's 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 > s

MySQL Load Balancing

2006-08-04 Thread Ed Pauley II
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 balancing, which we already do with Co

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 Ga

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 Genera

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

2006-07-18 Thread Kevin Burton
uages. == 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 al

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 be

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

2005-06-09 Thread Ian Sales (DBA)
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 to the

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

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

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 reconnec

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

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. Any

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 apprec

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...

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 the

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 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

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 bala

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

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 quer

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

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 then

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 you

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

2004-01-29 Thread Andrew Braithwaite
EMAIL 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 c

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 gets

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 peopl

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

2004-01-29 Thread James
ad Slaves, 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

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. Chee

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 ch

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 c

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 kee

Re: load-balancing with NFS

2001-06-15 Thread Wouter de Jong
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, then you'd have to do 2way replication

Re: load-balancing with NFS

2001-06-14 Thread Wouter de Jong
riginal 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) P

RE: load-balancing with NFS

2001-06-13 Thread Sven Huster
etapp 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 tria

load-balancing with NFS

2001-06-13 Thread Wouter de Jong
e 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.1

Re: Load Balancing.

2001-02-01 Thread Nathan Cook
ator :: 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 Balanci

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, whi

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 & Net

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

2001-01-21 Thread Ganen Ganeswaran
sible (and how) to setup some sort of replication/load balancing > > between all 10 dbs. Basically I want the information in one db > > replicated across the other 9. I also read some documentation that > > said that there can only be 100 simultaneous connections at any one > >

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 balanc

newbie question on replication and load balancing...

2001-01-15 Thread Ganen Ganeswaran
Hi, 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. Basically I want the information in one db replicated a

load balancing, high-availability setup

2001-01-12 Thread Lars Andersson
| ++ +-+ I going to use Server I for all queries that changes the database, and server 1 and 2 should both be used for read-only queries. I want both load balancing and redundancy with this setup. The idea is to separate all queries into two kinds, the ones that change the database