Re: Handling of SET commands in R/W splitting
Posted by:
Gerry Reno
Date: August 03, 2007 07:31PM
Reverting Subject:
One of the limitations in the way that MySQL handles replication is that it makes the assumption that you are in a current context (eg: USE) and therefore does not like replicating statements that are qualified with dbname.tablename. Also there may be issues with charsets and other aspects related to a particular connection. To reuse such connections is playing russian roulette at times. MySQL-Proxy could possibly be used to setup a sane context or perhaps at least a default context for each client that reuses a connection from a pool of open connections. This would be an improvement from the current situation that exists today. In the case of each client it could keep a context table and use this information to place a connection into the last used context for that client prior to accepting new commands.
Gerry
Subject
Views
Written By
Posted
3653
August 02, 2007 08:05AM
2719
August 02, 2007 08:37AM
2570
August 02, 2007 08:53AM
2486
August 02, 2007 09:10AM
2546
August 03, 2007 01:42AM
2560
August 03, 2007 02:08AM
2527
August 03, 2007 02:59AM
2636
August 03, 2007 05:26PM
Re: Handling of SET commands in R/W splitting
2647
August 03, 2007 07:31PM
2552
August 04, 2007 04:23PM
2509
August 05, 2007 05:14PM
2452
January 18, 2008 08:16AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.