mysql-proxy发布了0.7版本 - 开源中国社区
mysql-proxy发布了0.7版本
红薯 2009年02月02日

mysql-proxy发布了0.7版本

红薯 红薯 发布于2009年02月02日 收藏 0 评论 0

有免费的MySQL,为什么还要买? >>>  

Mysql proxy是MySQL官方开发一个mysql数据库前端代理,使用C语言编写,并且支持lua来编写proxy规则,可以用来实现mysql的读写分离,负载均衡等等功能。经过了一年多的等待,mysql proxy终于从0.6.1升级到了0.7版本。

0.7版本被拆成4个模块:
    * a chassis which handles cmdline, service, logging, plugin loading
    * a core library for the life-cycle, network handling and protocol decoding
    * a lua layer wrapping around the internals
    * a set of plugins: proxy, admin, debug, replicant

此外还有两个工具:

    * mysql-binlog-dump
    * mysql-myisam-dump

详细的ChangeLog如下:

Changelog:

Chassis

    * added support for SIGHUP to reopen logfiles
    * added win32-service support
    * added --basedir
    * added experimental --log-backtrace-on-crash
    * added DTrace probes
    * added a angel to keep the chasses alive
    * added --user option to change the system user the proxy runs as
    * added config-file support that maps cmdline options to configfile options

Core

    * fixed handling of RBR for long multi-byte CHAR() fields (#37426)
    * fixed assertions when COM_TIME, COM_PROCESS_INFO or COM_DEBUG are received
    * replaced assertions in protocol decoders by proper error-codes
    * added handling of the 4.0 auth packets
    * added parser for master.info files
    * added a writev() network backend

Lua Layer

    * expose chassis_log_* functions to lua
    * added the posix and lpeg module from luaforge
    * use the LPEG lua-module to parse statements
    * added memory profiling
    * added { resultset_is_needed = false } as default
    * moved proxy.backends.* to proxy.global.backends.*
    * added a lua-wrapper around some glib-2.0 functions
    * added a script cache
    * removed explicit call to lua_gc() to improve the speed

Proxy Plugin

    * track rows and bytes of a resultset
    * fixed quoting of SQL commands like COMMIT and ROLLBACK
    * added test-cases for connection-pooling, fail-over, ...
    * refactored the SQL tokenizer into a lua module
    * fixed handling -- comments in the SQL tokenizer
    * fixed backend state cache

Admin Plugin

    * replaced the hardcoded admin commands by a lua script interface
    * added authentication support

Debug Plugin

    * return "number" as DOUBLE or INTs

MySQL Binlog Dump

    * added a library and cmdline interface to dump binlogs incl. MySQL 5.1 RBR

MyISAM Dump

    * added mysql-myisam-dump to dump the content of a .FRM files and .MYD files

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:mysql-proxy发布了0.7版本
分享
评论(0)
最新评论
顶部