手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

MySQL Proxy 0.8.3 发布

[日期:2012-08-24] 来源:Linux社区  作者:Linux [字体:大 中 小]

MySQL Proxy 0.8.3发布。2012-08-20 这是MySQL官方的读写分离以及负载均衡工具,上一个版本还是2011-08-17的0.8.2.已经过了一年。

MySQL-Proxy是处在你的MySQL数据库客户和服务端之间的程序,它还支持嵌入性脚本语言Lua。这个代理可以用来分析、监控和变换(transform)通信数据,它支持非常广泛的使用场景:

  • 负载平衡和故障转移处理
  • 查询分析和日志
  • SQL宏(SQL macros)
  • 查询重写(query rewriting)
  • 执行shell命令

MySQL Proxy更强大的一项功能是实现“读写分离(Read/Write Splitting)”。基本的原理是让主数据库处理事务性查询,而从数据库处理SELECT查询。数据库复制被用来把事务性查询导致的变更同步到集群中的从数据库。

该版本主要改进:

D.7.1. Changes in MySQL Proxy 0.8.3 (2012-08-20)

Functionality Added or Changed

  • Added timeouts for connect, read, and write operations through --proxy-connect-timeout, --proxy-read-timeout, and --proxy-write-timeout options.

  • Added support for making connections to backends and clients using IPv6 addresses..

  • Added initial support for the Windows authentication plugin.

  • Added support for extracting pluggable authentication protocol information. In the Lua API, added these values: con.client.challenge.auth_plugin_name, con.client.response.auth_plugin_name.

Bugs Fixed

  • Fixed handling of capability flags in the client authentication response. In the C API, network_mysqld_auth_response_new() needs the server-side capabilities. In the Lua API, added these values: con.client.challenge (mirrors con.server.challenge), con.client.response.server_capabilties, con.server.challenge.server_capabilities.

  • Fixed the length of auth-plugin-data in the client authentication response packet.

  • Fixed crash if the configfile value contained invalid characters. In the C API, added chassis_keyfile_to_options_with_error() and deprecated chassis_keyfile_to_options().

  • Fixed a crash if the --max-open-files value was invalid on Win32.

  • Fixed the default plugin_dir value for 64-bit Unix systems (lib64/ versus lib/).

  • Fixed a crash if COM_BINLOG_DUMP was used with rw-splitting.lua.

  • Fixed handling of a missing trailing \0 in MySQL 5.5.7 through MySQL 5.5.10 in the auth-method name.

  • Fixed abort() in COM_CHANGE_USER+auth-method-switch.

  • Fixed excessive buffering of LOAD DATA LOCAL INFILE data.

  • Fixed a lockup under very high load.

下载:ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-Proxy/mysql-proxy-0.8.3.tar.gz

MySQL Proxy 的详细介绍:请点这里
MySQL Proxy 的下载地址:请点这里

相关阅读:

MySQL Proxy读写分离实战 http://www.linuxidc.com/Linux/2008-09/15656.htm

在CentOS 5.2下安装最新的MySQL Proxy http://www.linuxidc.com/Linux/2009-03/18907.htm

RHEL5.5下MySQL Proxy 安装 http://www.linuxidc.com/Linux/2011-11/47630.htm

mysql proxy、mysql-mmm实现读写分离高可用性 http://www.linuxidc.com/Linux/2012-09/71010.htm

linux
相关资讯       MySQL Proxy 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款