MySQL Forums
Forum List  »  Router & Proxy

Re: mysqld selection based on table or general query match
Posted by: Jan Kneschke
Date: July 18, 2007 01:28AM

At

http://svn.mysql.com/svnpublic/mysql-proxy/trunk/examples/tutorial-keepalive.lua

you can already see how it works in general. This script works with the current code base and prints "send to master" and "send to slave" based on your queries. Here I match on "SELECT"s which are not in transactions. You can match on what ever you want and will be able to pick the backend you like when I'm done.

--
Jan Kneschke, MySQL Enterprise Tools

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysqld selection based on table or general query match
2496
July 18, 2007 01:28AM


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.