<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>臭皮匠 &#187; innodb</title>
	<atom:link href="http://guogoul.com/tag/innodb/feed/" rel="self" type="application/rss+xml" />
	<link>http://guogoul.com</link>
	<description></description>
	<lastBuildDate>Fri, 29 Oct 2010 00:24:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>innodb_log_file_size的一个问题</title>
		<link>http://guogoul.com/2009/06/10/innodb_log_file_size/</link>
		<comments>http://guogoul.com/2009/06/10/innodb_log_file_size/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 15:13:08 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[innodb]]></category>

		<guid isPermaLink="false">http://john.renren.in/?p=122</guid>
		<description><![CDATA[备份一份mysql的数据到别的机器上的做法最简单的方案是先把运行的mysql关闭，然后把data目录下面的数据copy到别的机器上的mysql data文件夹下面去然后启动两边的mysql做主从备份。
如果数据库中有存在innodb表的话要注意innodb_log_file_size的问题。可能新的mysql启动会报这个错误
090225 23:50:08 [ERROR] /opt/lamp/apps/mysql/libexec/mysqld: Incorrect information in file: &#8216;./user/actor.frm&#8217;
主要是由于 原来的innodb_log_file_size新的参数不一致导致的。把这个参数改成原来的大小就OK了，当然还有其它的更好解决方案：
参考：
1.http://dev.mysql.com/doc/refman/5.0/en/adding-and-removing.html
2.http://qroom.blogspot.com/2007/03/incorrect-information-in-file.html
由于参考2文档需要要翻墙，把部分内容摘下：
=================
更改了innodb的日志文件大小，即innodb_log_file_size的值，重启mysql之后对innodb的表都会报错：[ERROR] /usr/local/mysql/bin/mysqld: Incorrect information in file: &#8216;./a/b.frm&#8217;。解决办法是修改其值后把日志文件ib_logfile删掉再启动mysql（请注意备份）。
注：删log之前确保innodb_fast_shutdown的值不是2，如果是2则需要先改为1，然后重启使之生效，再关闭mysql删log文件。其默认值是1。
=================
]]></description>
		<wfw:commentRss>http://guogoul.com/2009/06/10/innodb_log_file_size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql存储引擎选择</title>
		<link>http://guogoul.com/2009/06/01/storage_engin/</link>
		<comments>http://guogoul.com/2009/06/01/storage_engin/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 15:16:33 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[myisam]]></category>

		<guid isPermaLink="false">http://john.renren.in/?p=121</guid>
		<description><![CDATA[每每建表自问:  用 MyISAM好呢，还是 InnoDB？N多次都是无解
各种存储引擎都有自己的优点。做出什么样的选择，在于你自己的需求

这下好了，所有的选择按这个来吧!
]]></description>
		<wfw:commentRss>http://guogoul.com/2009/06/01/storage_engin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

