sqlrelay 文档

问题由来

Update 9/2008

You can always query multiple db's on the same server.
To query multiple db's on different servers with a single query you need to either; combine the tables using federated tables, replication or temporary tables
In this case you're accessing multiple db's on the same server
or
parse the query
In this case you're splitting the query into two or more queries at the router/proxy server.

This can be done with:

Sql Relay - http://sqlrelay.sourceforge.net/sqlrelay/router.html

Mysql Proxy - http://forge.mysql.com/wiki/MySQL_Proxy

Mysql Federated Storage engine -
link to an example of a hack for combining multiple db server logs in tables
http://www.oreillynet.com/databases/blog/2007/05/hacking_mysql_table_log...

You could write your own query filter/proxy using either a plugin or UDF.

Mysql Plugin - http://dev.mysql.com/doc/refman/5.1/en/plugin-api.html

Mysql UDF - http://dev.mysql.com/doc/refman/5.0/en/adding-functions.html

 


SQL Relay文档首页(中文翻译)

http://blog.sina.com.cn/s/blog_550ffb0b0100lvck.html


sqlrelay的安装配置和应用

http://www.okpython.com/viewthread.php?tid=3831

 

 

SQL Relay + Python

http://www.docunext.com/blog/2008/07/sql-relay-python.html

 

sqlrelay 的安装配置和应用

http://www.linuxsir.org/main/node/144

 

api for python

http://sqlrelay.sourceforge.net/sqlrelay/programming/python.html

 

 

install in freebsd

cd ./databases/py-sqlrelay

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值