<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Amoeba 开发者博客</title>
	<atom:link href="http://amoeba.meidusa.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://amoeba.meidusa.com/wordpress</link>
	<description>Keep Amoeba Simple And Stupid</description>
	<pubDate>Thu, 02 Sep 2010 03:11:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Amoeba for Mysql 1.3.1-BETA发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=71</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=71#comments</comments>
		<pubDate>Thu, 02 Sep 2010 02:50:26 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba]]></category>

		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=71</guid>
		<description><![CDATA[Amoeba for Mysql 1.3.1-BETA 版本发布：
Bug Fix：
1、主要解决 1.3.0 -BETA 版本的amoeba进程的native memory（非JVM heap）使用逐步增长(内存增加速度取决于请求量)，并且最终会导致amoeba本身无法响应、或者崩溃
请大家停止使用1.3.0-BETA版本
]]></description>
			<content:encoded><![CDATA[<p>Amoeba for Mysql 1.3.1-BETA 版本发布：</p>
<p>Bug Fix：</p>
<p>1、主要解决 1.3.0 -BETA 版本的amoeba进程的native memory（非JVM heap）使用逐步增长(内存增加速度取决于请求量)，并且最终会导致amoeba本身无法响应、或者崩溃</p>
<p>请大家停止使用1.3.0-BETA版本</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=71</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for mysql 1.3.0-BETA发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=64</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=64#comments</comments>
		<pubDate>Thu, 26 Aug 2010 06:11:20 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=64</guid>
		<description><![CDATA[Amoeba for mysql 1.3.0-BETA发布：
1、解决部分sql 解析问题
From 关键字后面如果是非子查询 一律不能带括号&#8221;()&#8221;
如果的表中字段名与关键字或者函数名字一样需要带上字符` （比如：mytable.`order`）
2、解决刚刚创建的mysql连接偶尔出现timeout的情况
3、兼容部分客户端启用压缩协议无法连接到amoeba的情况
&#8212;&#8212;&#8212;新BUG&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
1、使用native memory溢出
]]></description>
			<content:encoded><![CDATA[<p><strong>Amoeba for mysql 1.3.0-BETA发布：</strong></p>
<p>1、解决部分sql 解析问题</p>
<li><strong>From</strong> 关键字后面如果是非子查询 一律不能带括号&#8221;()&#8221;</li>
<li>如果的表中字段名与关键字或者函数名字一样需要带上字符` （比如：mytable.`order`）</li>
<p>2、解决刚刚创建的mysql连接偶尔出现timeout的情况</p>
<p>3、兼容部分客户端启用压缩协议无法连接到amoeba的情况</p>
<p>&#8212;&#8212;&#8212;新BUG&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>1、使用native memory溢出</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=64</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for Mysql 1.2.1-GA发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=49</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=49#comments</comments>
		<pubDate>Fri, 02 Jul 2010 08:32:42 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=49</guid>
		<description><![CDATA[2010-07-01 发布了Amoeba for Mysql 1.2.1-GA 版本
主要修改以下内容：
1、解决了一个Connection close 与 Query Session结束的时候偶尔会出现 Deadlock！
2、增加 queryTimeout  的超时时间可调整，保证amoeba在执行sql的时候不会由于mysql数据不返回而导致链接回收慢的问题
3、修复ConnectionManager 在关闭 connection的时候出现异常导致ConnectionManager无法正常工作
4、修复tableRule在没有规则的情况下无法正常工作的bug
]]></description>
			<content:encoded><![CDATA[<p>2010-07-01 发布了Amoeba for Mysql 1.2.1-GA 版本</p>
<p>主要修改以下内容：</p>
<p>1、解决了一个Connection close 与 Query Session结束的时候偶尔会出现 Deadlock！</p>
<p>2、增加 queryTimeout  的超时时间可调整，保证amoeba在执行sql的时候不会由于mysql数据不返回而导致链接回收慢的问题</p>
<p>3、修复ConnectionManager 在关闭 connection的时候出现异常导致ConnectionManager无法正常工作<br />
4、修复tableRule在没有规则的情况下无法正常工作的bug</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=49</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for mysql 1.2.0-RC3 发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=29</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=29#comments</comments>
		<pubDate>Mon, 03 May 2010 13:19:40 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=29</guid>
		<description><![CDATA[2010-05-01 amoeba-mysql-1.2.0-RC3
1、修复了select last_insert_id() 返回id过大以后，客户端无法获得的问题
2、支持PHP的PDO，个人不是PHP程序员，希望有更多使用PDO的开发人员反馈
3、增强了amoeba与mysql的连接池心跳检测机制(修复HA机制的支持)
4、另外提醒使用amoeba的同仁，建议采用prepared statement来访问amoeba，这样amoeba就不需要重复解析sql语句。会节约不少的资源
5、amoeba的日志输出，默认级别是info甚至更高。需要看到更详细的日志信息，请修改amoeba下面的conf/log4j.xml
6、稳定性增强
7 、修正错别字(isReadStatment  &#8211;&#62; isReadStatement )
8 、修正insert语句中包含 ON DUPLICATE KEY UPDATE  关键字而无法解析的问题
]]></description>
			<content:encoded><![CDATA[<p>2010-05-01 amoeba-mysql-1.2.0-RC3<br />
1、修复了select last_insert_id() 返回id过大以后，客户端无法获得的问题<br />
2、支持PHP的PDO，个人不是PHP程序员，希望有更多使用PDO的开发人员反馈<br />
3、增强了amoeba与mysql的连接池心跳检测机制(修复HA机制的支持)<br />
4、另外提醒使用amoeba的同仁，建议采用prepared statement来访问amoeba，这样amoeba就不需要重复解析sql语句。会节约不少的资源<br />
5、amoeba的日志输出，默认级别是info甚至更高。需要看到更详细的日志信息，请修改amoeba下面的conf/log4j.xml<br />
6、稳定性增强</p>
<p>7 、修正错别字(isReadStatment  &#8211;&gt; isReadStatement )</p>
<p>8 、修正insert语句中包含 ON DUPLICATE KEY UPDATE  关键字而无法解析的问题</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for mysql 1.2.0-RC1</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=27</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=27#comments</comments>
		<pubDate>Mon, 05 Apr 2010 11:58:31 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba]]></category>

		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=27</guid>
		<description><![CDATA[2010-04-05 amoeba-mysql-1.2.0-RC1
1、添加规则函数case、range、增加表达式   （boolean表达式 ? 表达式1: 表达式2）
range函数：
  id in range(12,16,0,1) 表示 id&#62;12 and id&#60;=16
  id in range(12,16,0,0) 表示 id&#62;12 and id&#60;16
  id in range(12,16,1,0) 表示 id&#62;=12 and id&#60;16
  id in range(12,16,1,1) 表示 id&#62;=12 and id&#60;=16
case 函数
   case  (abs(hash(SDID)) % 32)  when range(0,8,1,0) then (isReadStatment ? &#8217;server1&#8242; : &#8217;server1_write&#8217;);
           when range(8,16,1,0) then (isReadStatment ? &#8217;server2&#8242; : &#8217;server2_write&#8217;);
           [...]]]></description>
			<content:encoded><![CDATA[<p>2010-04-05 amoeba-mysql-1.2.0-RC1<br />
1、添加规则函数case、range、增加表达式   （boolean表达式 ? 表达式1: 表达式2）</p>
<p>range函数：<br />
  id in range(12,16,0,1) 表示 id&gt;12 and id&lt;=16<br />
  id in range(12,16,0,0) 表示 id&gt;12 and id&lt;16<br />
  id in range(12,16,1,0) 表示 id&gt;=12 and id&lt;16<br />
  id in range(12,16,1,1) 表示 id&gt;=12 and id&lt;=16</p>
<p>case 函数<br />
   case  (abs(hash(SDID)) % 32)  when range(0,8,1,0) then (isReadStatment ? &#8217;server1&#8242; : &#8217;server1_write&#8217;);<br />
           when range(8,16,1,0) then (isReadStatment ? &#8217;server2&#8242; : &#8217;server2_write&#8217;);<br />
           when range(16,24,1,0) then &#8216;(isReadStatment ? &#8217;server3&#8242; : &#8217;server3_write&#8217;)';<br />
           else &#8217;server4&#8242;<br />
   END CASE;<br />
                          <br />
2、增加bool 类型的规则内置变量 isReadStatment<br />
 用户可以在规则的表达式中使用比如 :  isReadStatment? &#8216;pool1&#8242; : &#8216;pool2&#8242;<br />
3、稳定性增强，解决了在大并发下需要多个数据库聚合结果集的时候出现数据异常而无法返回给客户端的问题<br />
4、规则属性新增加ruleResult属性，有3种类型（BOOLEAN、POOLNAME、INDEX）<br />
 BOOLEAN &#8212; 默认值、结果一定是布尔值，表示执行的sql是否匹配当前的规则<br />
 POOLNAME &#8212; 结果是字符串，是由dbpool名字组成的字符串，多个pool以分号间隔（rule中的defaultPools、readPools、writePools无效）<br />
 INDEX &#8212; 结果是数字 ，如果&gt;=0 则表示当前规则匹配，并且将相关index的pool返回<br />
 <br />
    &lt;tableRule name=&#8221;LIST_FRIEND_GROUP,RELATION_FOLLOW&#8221; schema=&#8221;sd_relation&#8221;<br />
      defaultPools=&#8221;server1,server2,server3,server4&#8243;&gt;</p>
<p>     &lt;rule name=&#8221;rule1&#8243; ruleResult=&#8221;POOLNAME&#8221;&gt;<br />
                   &lt;parameters&gt;SDID&lt;/parameters&gt;<br />
                   &lt;expression&gt;&lt;![CDATA[<br />
                           var hashid = abs(hash(SDID)) % 32;<br />
                           case  hashid  when range(0,8,1,0) then (isReadStatment ? 'server1' : 'server1_write');<br />
                                   when range(8,16,1,0) then (isReadStatment ? 'server2' : 'server2_write');<br />
                                   when range(16,24,1,0) then '(isReadStatment ? 'server3' : 'server3_write')';<br />
                                   when range(24,32,1,0) then '(isReadStatment ? 'server4' : 'server4_write')';'<br />
                           END CASE;</p>
<p>                   ]]&gt;&lt;/expression&gt;<br />
           &lt;/rule&gt;<br />
    &lt;/tableRule&gt;<br />
5、支持select last_insert_id()/ @@Identity －－最后一次自增长的ID</p>
<p>6、规则函数中，增加自定义变量（格式 var 变量名称= 变量值 ;） 比如： var hashid = abs(hash(SDID)) % 32;</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for mysql 1.1.0-BETA发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=25</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=25#comments</comments>
		<pubDate>Fri, 29 Jan 2010 06:45:55 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba]]></category>

		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=25</guid>
		<description><![CDATA[Amoeba for mysql 1.1.0-BETA发布
主要解决以下问题：
1、解决amoeba运行一段时间以后可能出现阻塞
2、修复个别sql解析问题
3、重构了ConnectionManager，去除之前读取数据包采用线池的方式，改成目前采用MultiConnectionManagerWrapper，采用多个（具体多少默认由可用的cpu 核数量决定）ConnectionManager进行负责网络IO， 而每个ConnectionManager都是一个单线程
注意：与之前的amoeba.xml在配置上有点出入（defaultManager 的配置与之前不一样了）
sf 主页下载： http://sourceforge.net/projects/amoeba/
]]></description>
			<content:encoded><![CDATA[<p>Amoeba for mysql 1.1.0-BETA发布</p>
<p>主要解决以下问题：</p>
<p>1、解决amoeba运行一段时间以后可能出现阻塞</p>
<p>2、修复个别sql解析问题</p>
<p>3、重构了ConnectionManager，去除之前读取数据包采用线池的方式，改成目前采用MultiConnectionManagerWrapper，采用多个（具体多少默认由可用的cpu 核数量决定）ConnectionManager进行负责网络IO， 而每个ConnectionManager都是一个单线程</p>
<p><strong>注意：与之前的amoeba.xml在配置上有点出入（defaultManager 的配置与之前不一样了）</strong></p>
<p>sf 主页下载： <a href="http://sourceforge.net/projects/amoeba/">http://sourceforge.net/projects/amoeba/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=25</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for mysql 1.0.2 beta版本发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=24</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=24#comments</comments>
		<pubDate>Sun, 30 Aug 2009 07:07:51 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba]]></category>

		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=24</guid>
		<description><![CDATA[修复bug列表:
1、修复无法解析抛出unknown statement（1.0.0新bug）。将无法解析得sql默认在defaultPool中执行
2、修复union关键字无法解析问题
3、修复函数前面! 无法解析问题
4、修复order by 、group by 后面带表达式得sql
]]></description>
			<content:encoded><![CDATA[<p>修复bug列表:</p>
<p>1、修复无法解析抛出unknown statement（1.0.0新bug）。将无法解析得sql默认在defaultPool中执行</p>
<p>2、修复union关键字无法解析问题</p>
<p>3、修复函数前面! 无法解析问题</p>
<p>4、修复order by 、group by 后面带表达式得sql</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>discuz on amoeba 乱码问题解决</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=22</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=22#comments</comments>
		<pubDate>Sun, 28 Jun 2009 05:36:49 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=22</guid>
		<description><![CDATA[Amoeba 默认设置支持客户端设置编码的方式是 ： set names gbk 其他方式目前还没考虑到。
Discuz遇到编码问题，可以通过修改 include/db_mysql.class.php 里的 设置编码方式改成：
 set names utf8
 &#8211;即支持utf8编码格式
  原文来自：
http://hi.baidu.com/hlxwell/blog/item/ea0d445913af102d2834f0d5.html
]]></description>
			<content:encoded><![CDATA[<p>Amoeba 默认设置支持客户端设置编码的方式是 ： set names gbk 其他方式目前还没考虑到。</p>
<p>Discuz遇到编码问题，可以通过修改 include/db_mysql.class.php 里的 设置编码方式改成：</p>
<p> set names utf8</p>
<p> &#8211;即支持utf8编码格式</p>
<p>  原文来自：</p>
<p><a href="http://hi.baidu.com/hlxwell/blog/item/ea0d445913af102d2834f0d5.html">http://hi.baidu.com/hlxwell/blog/item/ea0d445913af102d2834f0d5.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=22</wfw:commentRss>
		</item>
		<item>
		<title>Amoeba for Mysql 1.0.0-BETA 版本发布</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=21</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=21#comments</comments>
		<pubDate>Sat, 27 Jun 2009 15:50:45 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba for mysql]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=21</guid>
		<description><![CDATA[该版本基于0.32版本之上进行bugs fixed,非常感谢阿权提供的一些bug列表
这次版本跳跃比较大，也是我打算在amoeba这个项目花下时间的决心。因此将amoeba提升到新的起点1.0.0版本
下面是这次主要的变更：
1、修复sql解析 explain 关键字开始的sql
2、修复FORCE INDEX (xx) 之类的sql无法解析问题
3、修复包含转义符合在内的sql 比如：insert into xx values(&#8217;\'test\&#8217;)
4、修复包含 Order by rand()的sql
5、调整默认 网络接受发送缓冲区成128k
下载地址： http://sourceforge.net/projects/amoeba/files/Amoeba%20for%20mysql/1.0.0-BETA/amoeba-mysql-1.0.0-BETA.zip/download
]]></description>
			<content:encoded><![CDATA[<p>该版本基于0.32版本之上进行bugs fixed,非常感谢<a href="http://www.aslibra.com/blog/post/Amoeba_for_Mysql_problems.php">阿权</a>提供的一些bug列表</p>
<p>这次版本跳跃比较大，也是我打算在amoeba这个项目花下时间的决心。因此将amoeba提升到新的起点1.0.0版本</p>
<p>下面是这次主要的变更：</p>
<p>1、修复sql解析 explain 关键字开始的sql<br />
2、修复FORCE INDEX (xx) 之类的sql无法解析问题<br />
3、修复包含转义符合在内的sql 比如：insert into xx values(&#8217;\'test\&#8217;)<br />
4、修复包含 Order by rand()的sql<br />
5、调整默认 网络接受发送缓冲区成128k</p>
<p>下载地址： <a href="http://sourceforge.net/projects/amoeba/files/Amoeba%20for%20mysql/1.0.0-BETA/amoeba-mysql-1.0.0-BETA.zip/download">http://sourceforge.net/projects/amoeba/files/Amoeba%20for%20mysql/1.0.0-BETA/amoeba-mysql-1.0.0-BETA.zip/download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>关于使用mysql ODBC驱动</title>
		<link>http://amoeba.meidusa.com/wordpress/?p=20</link>
		<comments>http://amoeba.meidusa.com/wordpress/?p=20#comments</comments>
		<pubDate>Tue, 24 Feb 2009 03:34:32 +0000</pubDate>
		<dc:creator>陈思儒</dc:creator>
		
		<category><![CDATA[Amoeba]]></category>

		<guid isPermaLink="false">http://amoeba.meidusa.com/wordpress/?p=20</guid>
		<description><![CDATA[很多人使用mysql odbc驱动来连接amoeba。在其中出现各种问题
amoeba目前只解析mysql 协议10 以上版本，或者是mysql 4.1以上版本。
mysql ODBC 3.51 （ODBCAD32.exe）测试通过
mysql ODBC 5.1  （ODBCAD32.exe）测试通过（建议使用）
请大家别用其他连接参数，比如压缩流（个别版本会引起工作不正常）
]]></description>
			<content:encoded><![CDATA[<p>很多人使用mysql odbc驱动来连接amoeba。在其中出现各种问题</p>
<p>amoeba目前只解析mysql 协议10 以上版本，或者是mysql 4.1以上版本。</p>
<p>mysql ODBC 3.51 （ODBCAD32.exe）测试通过</p>
<p>mysql ODBC 5.1  （ODBCAD32.exe）测试通过（建议使用）</p>
<p>请大家别用其他连接参数，比如压缩流（个别版本会引起工作不正常）</p>
]]></content:encoded>
			<wfw:commentRss>http://amoeba.meidusa.com/wordpress/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
	</channel>
</rss>
