MySQL Forums
Forum List  »  Router & Proxy

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

Options: ReplyQuote


Subject
Views
Written By
Posted
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


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.