<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/post/357/</link>
<title><![CDATA[MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[Cache与存储]]></category>
<pubDate>Sun, 20 Jul 2008 05:58:11 +0000</pubDate> 
<guid>http://zyan.cc/post/357/</guid> 
<description>
<![CDATA[ 
	　　[文章作者：张宴 本文版本：v1.1 最后修改：2008.09.09 转载请注明原文链接：<a href="http://blog.zyan.cc/post/357/" target="_blank">http://blog.zyan.cc/post/357/</a>]<br/><br/>　　鉴于国内外还没有人撰写如何安装Memcache_engine的文章，于是，我根据自己的编译安装步骤，写下此文。<br/><br/>　　Memcache_engine是一个MySQL 5.1数据库的存储引擎，它能够让用户通过标准的SQL语句（SELECT/UPDATE/INSERTE/DELETE）访问Memcached（还支持新浪的<a href="http://www.memcachedb.org" target="_blank">Memcachedb</a>、<a href="http://code.google.com/p/dbcached" target="_blank">dbcached</a>）中存放的数据。<br/><br/>　　<strong>限制：</strong><br/>　　1、Memcache表必须有主键。<br/>　　2、只能使用主键去查询，即只能使用SELECT ... FROM ... WHERE id = ... 方式去查询。<br/>　　3、不支持自增ID。<br/><br/>　　<strong>安装与使用：</strong><br/>　　1、编译安装memcache_engine的步骤：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">cd /tmp<br/>wget <a href="http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.26-rc.tar.gz/from/http://mirror.x10.com/mirror/mysql/" target="_blank">http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.26-rc.tar.gz/from/http://mirror.x10.com/mirror/mysql/</a><br/>tar zxvf mysql-5.1.26-rc.tar.gz<br/>#安装、配置MySQL的步骤省略，注意不要以静态方式编译安装。<br/><br/>wget <a href="http://download.tangent.org/libmemcached-0.23.tar.gz" target="_blank">http://download.tangent.org/libmemcached-0.23.tar.gz</a><br/>tar zxvf libmemcached-0.23.tar.gz <br/>cd libmemcached-0.23/<br/>./configure --prefix=/usr/local/memcache_engine<br/>make<br/>make install<br/>cd ../<br/><br/>wget <a href="http://xmlsoft.org/sources/libxml2-2.6.32.tar.gz" target="_blank">http://xmlsoft.org/sources/libxml2-2.6.32.tar.gz</a><br/>tar zxvf libxml2-2.6.32.tar.gz<br/>cd libxml2-2.6.32/<br/>./configure --prefix=/usr/local/memcache_engine<br/>make<br/>make install<br/>cd ../<br/><br/>wget <a href="http://download.tangent.org/libxmlrow-0.2.tar.gz" target="_blank">http://download.tangent.org/libxmlrow-0.2.tar.gz</a><br/>tar zxvf libxmlrow-0.2.tar.gz<br/>cd libxmlrow-0.2/<br/>export PKG_CONFIG_PATH=/usr/local/memcache_engine/lib/pkgconfig/<br/>./configure --prefix=/usr/local/memcache_engine<br/>make<br/>make install<br/>cd ../<br/><br/>wget <a href="http://download.tangent.org/memcache_engine-0.7.tar.gz" target="_blank">http://download.tangent.org/memcache_engine-0.7.tar.gz</a><br/>tar zxvf memcache_engine-0.7.tar.gz<br/>cd memcache_engine-0.7/<br/>sed -i "s#uint16_t#uint32_t#g" ./src/ha_memcache.cc<br/>export PKG_CONFIG_PATH=/usr/local/memcache_engine/lib/pkgconfig/<br/>./configure --prefix=/usr/local/memcache_engine --with-mysql=<font color="red">/tmp/mysql-5.1.26-rc</font><br/>make<br/>make install<br/>cd ../</div><br/>　　<strong>注意：</strong>红色标记部分为MySQL 5.1.22以上版本的源码路径。<br/><br/>............<br/><br/>Tags - <a href="http://zyan.cc/tags/linux/" rel="tag">linux</a> , <a href="http://zyan.cc/tags/mysql/" rel="tag">mysql</a> , <a href="http://zyan.cc/tags/cache/" rel="tag">cache</a> , <a href="http://zyan.cc/tags/memcached/" rel="tag">memcached</a> , <a href="http://zyan.cc/tags/memcache/" rel="tag">memcache</a> , <a href="http://zyan.cc/tags/memcachedb/" rel="tag">memcachedb</a> , <a href="http://zyan.cc/tags/dbcached/" rel="tag">dbcached</a> , <a href="http://zyan.cc/tags/memcache_engine/" rel="tag">memcache engine</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1342</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>lphy &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 20 Jul 2008 15:35:24 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1342</guid> 
<description>
<![CDATA[ 
	每次来看都有新东西～！
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1343</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>apu &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 21 Jul 2008 00:02:40 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1343</guid> 
<description>
<![CDATA[ 
	在Memcache前又增加MySQL,不知道具体的效果怎样，不知作者有没有一些数据供参考。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1344</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>yorkane &lt;whyork@21cn.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 21 Jul 2008 03:59:06 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1344</guid> 
<description>
<![CDATA[ 
	非常的好的文章<br/>有没有测试过，这样的组合效率如何？<br/>有没有谁用memcached_engine做过应用啊？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1348</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>king&#039;space &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 22 Jul 2008 06:43:28 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1348</guid> 
<description>
<![CDATA[ 
	看了很久你的博客<br/><br/>很多都是关于性能优化。<br/><br/>张兄能否把自己的博客 优化的速度快些？或是我网通访问慢。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1484</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>kevin &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 02 Sep 2008 11:48:17 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1484</guid> 
<description>
<![CDATA[ 
	引用：<br/>创建一张memcache_engine表的SQL语句：<br/>CREATE TABLE &#96;table&#96; (<br/>&#96;id&#96; int(11) NOT NULL DEFAULT &#039;0&#039;,<br/>&#96;a&#96; int(11) DEFAULT NULL,<br/>&#96;b&#96; int(11) DEFAULT NULL,<br/>PRIMARY KEY (&#96;id&#96;)<br/>) ENGINE=MEMCACHE DEFAULT CHARSET=latin1<br/>CONNECTION=&#039;localhost:11211&#039;;<br/><br/>张老师，请问,这在mysql里使用哪个库呀？<br/>我在按你所做的时候，出现如下错误：<br/>mysql&gt; CREATE TABLE &#96;table&#96; (<br/> &nbsp; &nbsp;-&gt; &#96;id&#96; int(11) NOT NULL DEFAULT &#039;0&#039;,<br/> &nbsp; &nbsp;-&gt; &#96;a&#96; int(11) DEFAULT NULL,<br/> &nbsp; &nbsp;-&gt; &#96;b&#96; int(11) DEFAULT NULL,<br/> &nbsp; &nbsp;-&gt; PRIMARY KEY (&#96;id&#96;)<br/> &nbsp; &nbsp;-&gt; ) ENGINE=MEMCACHE DEFAULT CHARSET=latin1<br/> &nbsp; &nbsp;-&gt; CONNECTION=&#039;localhost:11211&#039;;<br/>ERROR 1046 (3D000): No database selected<br/><br/>刚编译安装完的mysql数据库的表有：<br/>mysql&gt; show databases;<br/>+--------------------+<br/>&#124; Database &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#124;<br/>+--------------------+<br/>&#124; information_schema &#124;<br/>&#124; mysql &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#124;<br/>&#124; test &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#124;<br/>+--------------------+<br/>3 rows in set (0.00 sec)<br/><br/>请问，执行你的那段代码时，是使用哪个库或是新建一个库？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1488</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>kevin &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 03 Sep 2008 01:33:52 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1488</guid> 
<description>
<![CDATA[ 
	呵，谢了，写得不错！
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1489</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>kevin &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 03 Sep 2008 01:55:10 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1489</guid> 
<description>
<![CDATA[ 
	<div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>mysql&gt; create database memcache;<br/>Query OK, 1 row affected (0.00 sec)<br/>mysql&gt; <br/>mysql&gt; use memcache;<br/>Database changed<br/>mysql&gt; <br/>mysql&gt; CREATE TABLE &#96;table&#96; (<br/> &nbsp; &nbsp;-&gt; &#96;id&#96; int(11) NOT NULL DEFAULT &#039;0&#039;,<br/> &nbsp; &nbsp;-&gt; &#96;a&#96; int(11) DEFAULT NULL,<br/> &nbsp; &nbsp;-&gt; &#96;b&#96; int(11) DEFAULT NULL,<br/> &nbsp; &nbsp;-&gt; PRIMARY KEY (&#96;id&#96;)<br/> &nbsp; &nbsp;-&gt; ) ENGINE=MEMCACHE DEFAULT CHARSET=latin1<br/> &nbsp; &nbsp;-&gt; CONNECTION=&#039;localhost:11211&#039;;<br/>Query OK, 0 rows affected (0.00 sec)<br/>mysql&gt;<br/>mysql&gt; show tables;<br/>+--------------------+<br/>&#124; Tables_in_memcache &#124;<br/>+--------------------+<br/>&#124; table &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#124;<br/>+--------------------+<br/>1 row in set (0.00 sec)<br/>mysql&gt; select * from table;<br/>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;table&#039; at line 1<br/>mysql&gt; <br/>mysql&gt; select * from table where id=1;<br/>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;table where id=1&#039; at line 1<br/></div></div><br/><br/>请问张老师，我这样的查询，是哪里出了问题了吗？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1490</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>kevin &lt;ldw21cn@hotmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 03 Sep 2008 02:28:33 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1490</guid> 
<description>
<![CDATA[ 
	<div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>mysql&gt; create database memcache;<br/>Query OK, 1 row affected (0.00 sec)<br/>mysql&gt;<br/>mysql&gt; use memcache;<br/>Database changed<br/>mysql&gt;<br/>mysql&gt; CREATE TABLE &#96;table&#96; (<br/> &nbsp; -&gt; &#96;id&#96; int(11) NOT NULL DEFAULT &#039;0&#039;,<br/> &nbsp; -&gt; &#96;a&#96; int(11) DEFAULT NULL,<br/> &nbsp; -&gt; &#96;b&#96; int(11) DEFAULT NULL,<br/> &nbsp; -&gt; PRIMARY KEY (&#96;id&#96;)<br/> &nbsp; -&gt; ) ENGINE=MEMCACHE DEFAULT CHARSET=latin1<br/> &nbsp; -&gt; CONNECTION=&#039;localhost:11211&#039;;<br/>Query OK, 0 rows affected (0.00 sec)<br/>mysql&gt;<br/>mysql&gt; show tables;<br/>+--------------------+<br/>&#124; Tables_in_memcache &#124;<br/>+--------------------+<br/>&#124; table &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#124;<br/>+--------------------+<br/>1 row in set (0.00 sec)<br/>mysql&gt; select * from table;<br/>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;table&#039; at line 1<br/>mysql&gt;<br/>mysql&gt; select * from table where id=1;<br/>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;table where id=1&#039; at line 1<br/>请问张老师，我这样的查询，是哪里出了问题了吗？ <br/></div></div><br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>找到解决方法了，如下所示：<br/>先启动memcache<br/>#memcached -d -p 11211 -u nobody -m 256 -c 1024 -P /tmp/memcached.pid<br/>#mysql<br/>mysql&gt; use memcache;<br/>Database changed<br/>mysql&gt;<br/>mysql&gt; create table &#96;memdata&#96; (<br/> &nbsp; &nbsp;-&gt; &nbsp; &#96;id&#96; int(11) not null default &#039;0&#039;,<br/> &nbsp; &nbsp;-&gt; &nbsp; &#96;name&#96; char(50) default null,<br/> &nbsp; &nbsp;-&gt; &nbsp; &#96;info&#96; varchar(255) default null,<br/> &nbsp; &nbsp;-&gt; &nbsp; primary key (&#96;id&#96;)<br/> &nbsp; &nbsp;-&gt; ) engine=memcache default charset=latin1<br/> &nbsp; &nbsp;-&gt; connection=&#039;localhost:11211&#039;;<br/>Query OK, 0 rows affected (0.01 sec)<br/>mysql&gt;<br/>mysql&gt; insert into memdata (id, name, info) values (1, &#039;kevin&#039;, &#039;system&#039;);<br/>Query OK, 1 row affected (0.01 sec)<br/>mysql&gt;<br/>mysql&gt; select * from memdata;<br/>Empty set (0.00 sec)<br/>mysql&gt;<br/>mysql&gt; select * from memdata where id=1;<br/>+----+-------+-----------+<br/>&#124; id &#124; name &nbsp;&#124; info &nbsp; &nbsp; &nbsp;&#124;<br/>+----+-------+-----------+<br/>&#124; &nbsp;1 &#124; kevin &#124; system &#124;<br/>+----+-------+-----------+<br/>1 row in set (0.00 sec)<br/>mysql&gt;quit;<br/><br/>从上面的实验可以看出：<br/>只能使用主键去查询，即只能使用SELECT ... FROM ... WHERE id = ... 方式去查询。<br/><br/><br/>呵，班门弄斧了一下，请张老师指点一下!<br/></div></div>
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1611</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>冰山 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 28 Sep 2008 03:01:56 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1611</guid> 
<description>
<![CDATA[ 
	table 为mysql的关键字. 如果要用table做具体的表名, 在使用表时须用&#96;table&#96;.
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment1715</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>www &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 23 Oct 2008 08:39:24 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment1715</guid> 
<description>
<![CDATA[ 
	张老师，给你提个建议，你是实力派，你长得那么...，就不要把近照放在博客上嘛，换个远一点照片的比较好。每次看你的博客都被这张照片搞得很很压抑。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment2147</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>lll0905 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 06 Dec 2008 06:34:24 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment2147</guid> 
<description>
<![CDATA[ 
	在freebsd下安装memcache-engine,按照你的做法,该装的都装了<br/><br/>[root@dbmemcache /usr/src/memcache_engine-0.7]==&gt;./configure --prefix=/usr/local/memcache_engine \<br/>&gt; --with-mysql=/usr/src/mysql-5.1.30<br/><br/>但是make时报错:<br/><br/>In file included from mysql_priv.h:652,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ha_memcache.cc:30:<br/>/usr/src/mysql-5.1.30/sql/table.h:502: error: use of enum &#039;enum_table_ref_type&#039; without previous declaration<br/>/usr/src/mysql-5.1.30/sql/table.h: In member function &#039;int st_table_share::get_table_ref_type() const&#039;:<br/>/usr/src/mysql-5.1.30/sql/table.h:505: error: &#039;TABLE_REF_VIEW&#039; was not declared in this scope<br/>/usr/src/mysql-5.1.30/sql/table.h:508: error: &#039;TABLE_REF_BASE_TABLE&#039; was not declared in this scope<br/>/usr/src/mysql-5.1.30/sql/table.h:510: error: &#039;TABLE_REF_I_S_TABLE&#039; was not declared in this scope<br/>/usr/src/mysql-5.1.30/sql/table.h:512: error: &#039;TABLE_REF_TMP_TABLE&#039; was not declared in this scope<br/>/usr/src/mysql-5.1.30/sql/table.h: At global scope:<br/>/usr/src/mysql-5.1.30/sql/table.h:1370: error: &#039;enum_query_type&#039; has not been declared<br/>/usr/src/mysql-5.1.30/sql/table.h:1488: error: use of enum &#039;enum_table_ref_type&#039; without previous declaration<br/>In file included from mysql_priv.h:670,<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ha_memcache.cc:30:<br/>/usr/src/mysql-5.1.30/sql/item.h:783: error: &#039;enum_query_type&#039; has not been declared<br/>还有很多..............................省略.<br/><br/>研究了一会.无奈.<br/>求助!
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment2797</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>黑糊糊 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 15 Mar 2009 13:06:05 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment2797</guid> 
<description>
<![CDATA[ 
	原来libmemcached是要和5.1匹配啊，怪不得我装了以后，5.0总说找不到so呢。
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment5948</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>wolf &lt;wangxuliangboy@163.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 20 May 2010 02:38:55 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment5948</guid> 
<description>
<![CDATA[ 
	HI...请教你一个问题。。。。。<br/>我在配置mysql memcache_engine时。出现mysql crashing<br/><a href="http://bugs.mysql.com/bug.php?id=43892&nbsp;&nbsp;" target="_blank">http://bugs.mysql.com/bug.php?id=43892&nbsp;&nbsp;</a>这个里面推荐使用libmemcache-0.26。但我换了还一样。。<br/><br/><br/>key_buffer_size=8388600<br/>read_buffer_size=131072<br/>max_used_connections=1<br/>max_threads=151<br/>threads_connected=1<br/>It is possible that mysqld could use up to <br/>key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338299 K<br/>bytes of memory<br/>Hope that&#039;s ok; if not, decrease some variables in the equation.<br/><br/>thd: 0xebbb060<br/>Attempting backtrace. You can use the following information to find out<br/>where mysqld died. If you see no messages after this, something went<br/>terribly wrong...<br/>stack_bottom = 0x4157e0e0 thread_stack 0x40000<br/>/app/java/mysql/libexec/mysqld(my_print_stacktrace+0x24) [0x756ce4]<br/>/app/java/mysql/libexec/mysqld(handle_segfault+0x322) [0x587772]<br/>/lib64/libpthread.so.0 [0x366000e7c0]<br/>/app/java/mysql/libexec/mysqld [0x768a73]<br/>/app/java/mysql/libexec/mysqld(my_hash_insert+0x229) [0x74be99]<br/>/app/java/mysql/lib/mysql/plugin/libmemcache_engine.so(ha_memcache::open(char const*, int, unsigned int)+0x189) [0x2aaaab3b4959]<br/>/app/java/mysql/libexec/mysqld(handler::ha_open(st_table*, char const*, int, int)+0x3f) [0x671d6f]<br/>/app/java/mysql/libexec/mysqld(open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool)+0x4dc) [0x5de2bc]<br/>/app/java/mysql/libexec/mysqld [0x5d7ad0]<br/>/app/java/mysql/libexec/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int)+0x79a) [0x5da37a]<br/>/app/java/mysql/libexec/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int)+0x64a) [0x5daf6a]<br/>/app/java/mysql/libexec/mysqld(open_normal_and_derived_tables(THD*, TABLE_LIST*, unsigned int)+0x1e) [0x5db22e]<br/>/app/java/mysql/libexec/mysqld(mysqld_list_fields(THD*, TABLE_LIST*, char const*)+0x22) [0x68de82]<br/>/app/java/mysql/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x834) [0x59dd54]<br/>/app/java/mysql/libexec/mysqld(do_command(THD*)+0xe4) [0x59ea84]<br/>/app/java/mysql/libexec/mysqld(handle_one_connection+0x5d7) [0x58f727]<br/>/lib64/libpthread.so.0 [0x36600064a7]<br/>/lib64/libc.so.6(clone+0x6d) [0x365f8d3c2d]<br/>Trying to get some variables.<br/>Some pointers may be invalid and cause the dump to abort...<br/>thd-&gt;query at 0xec11758 = <br/>thd-&gt;thread_id=1<br/>thd-&gt;killed=NOT_KILLED<br/>The manual page at <a href="http://dev.mysql.com/doc/mysql/en/crashing.html" target="_blank">http://dev.mysql.com/doc/mysql/en/crashing.html</a> contains<br/>information that should help you find out what is causing the crash.<br/>servers localhost:11211<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost : 11211<br/><br/><br/>请问你有遇到过类似问题吗？？
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment5952</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>xiaogt &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 20 May 2010 09:11:15 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment5952</guid> 
<description>
<![CDATA[ 
	小弟现在想把memory引擎的数据表转换成memcache引擎的表&nbsp;&nbsp;可是没想到的装好了memcache引擎<br/>转的时候报这样错请大虾们帮忙分析一下&nbsp;&nbsp;<br/>也可以把数据导出在导进去。不过试了也不行。有没有什么好的办法和思路？<br/><br/><br/>mysql&gt; alter table t engine=MEMCACHE;<br/>ERROR 1005 (HY000): Can&#039;t create table &#039;zhu.#sql-baa_3&#039; (errno: 1429)<br/><br/><br/>引擎是安装了<br/>mysql&gt; SHOW PLUGINS;<br/>+------------+----------+----------------+-----------------------+---------+<br/>&#124; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#124; Status&nbsp;&nbsp; &#124; Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#124; Library&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#124; License &#124;<br/>+------------+----------+----------------+-----------------------+---------+<br/>&#124; binlog&nbsp;&nbsp;&nbsp;&nbsp; &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; partition&nbsp;&nbsp;&#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; ARCHIVE&nbsp;&nbsp;&nbsp;&nbsp;&#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; BLACKHOLE&nbsp;&nbsp;&#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; CSV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; FEDERATED&nbsp;&nbsp;&#124; DISABLED &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; MEMORY&nbsp;&nbsp;&nbsp;&nbsp; &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; InnoDB&nbsp;&nbsp;&nbsp;&nbsp; &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; MyISAM&nbsp;&nbsp;&nbsp;&nbsp; &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; MRG_MYISAM &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; ndbcluster &#124; DISABLED &#124; STORAGE ENGINE &#124; NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>&#124; MEMCACHE&nbsp;&nbsp; &#124; ACTIVE&nbsp;&nbsp; &#124; STORAGE ENGINE &#124; libmemcache_engine.so &#124; GPL&nbsp;&nbsp;&nbsp;&nbsp; &#124;<br/>+------------+----------+----------------+-----------------------+---------+<br/>12 rows in set (0.00 sec)
]]>
</description>
</item><item>
<link>http://zyan.cc/post/357/#blogcomment7374</link>
<title><![CDATA[[评论] MySQL Memcache_engine的安装与使用[原创]]]></title> 
<author>xueli101068 &lt;xueli101068@163.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 30 Nov 2010 03:35:12 +0000</pubDate> 
<guid>http://zyan.cc/post/357/#blogcomment7374</guid> 
<description>
<![CDATA[ 
	去哪里办文凭？办理文凭 请找&nbsp;&nbsp;<a href="http://www.lovexueli.com" target="_blank">www.lovexueli.com</a><br/><br/><br/>办学历 办上网学历&nbsp;&nbsp; 办专科学历&nbsp;&nbsp;办理本科及研究生学历&nbsp;&nbsp; 北京办统招学历 真学历 办北京上网学历； 可在教育网上查询 <a href="http://www.chsi.com.cn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" target="_blank">www.chsi.com.cn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> 有意者请登录我们的网址<a href="http://www.lovexueli.com" target="_blank">www.lovexueli.com</a> 、具体流程请在网站查看
]]>
</description>
</item>
</channel>
</rss>