<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: Using MyISAM in production</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Santiago</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-675162</link>
		<dc:creator>Santiago</dc:creator>
		<pubDate>Tue, 10 Nov 2009 13:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-675162</guid>
		<description>Peter, thanks very much. I did this:
(Original Table = transferido. This is the MyISAM table).

-- START SCRIPT
USE mydatabase;
CREATE TABLE `transferido_inno` (

-- SOME FIELDS

 PRIMARY KEY  (`id`)
) ENGINE=INNODB DEFAULT CHARSET=latin1;



SET UNIQUE_CHECKS=0;
START TRANSACTION;

-- SOME MULTIPLE INSERTS KIND OF
INSERT INTO transferido_inno(
	SELECT * FROM transferido LIMIT 0,100000
);
INSERT INTO transferido_inno(
	SELECT * FROM transferido LIMIT 100000,100000
);
--ETC.

COMMIT;
SET UNIQUE_CHECKS=1;


ALTER TABLE transferido RENAME TO transferido_myisam;

ALTER TABLE transferido_inno RENAME TO transferido;
OPTIMIZE TABLE transferido;

-- END SCRIPT

It worked really good.

I started optimizing this database a month ago (my first real database challenge). This blog and your book (along with Pro MySQL) helped me very much. The site is now running reaaaaally good. The server load decreased from 90% to 20% with some tunning, new indexes and this new altered table(we needed MVCC desperately).

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Peter, thanks very much. I did this:<br />
(Original Table = transferido. This is the MyISAM table).</p>
<p>&#8211; START SCRIPT<br />
USE mydatabase;<br />
CREATE TABLE `transferido_inno` (</p>
<p>&#8211; SOME FIELDS</p>
<p> PRIMARY KEY  (`id`)<br />
) ENGINE=INNODB DEFAULT CHARSET=latin1;</p>
<p>SET UNIQUE_CHECKS=0;<br />
START TRANSACTION;</p>
<p>&#8211; SOME MULTIPLE INSERTS KIND OF<br />
INSERT INTO transferido_inno(<br />
	SELECT * FROM transferido LIMIT 0,100000<br />
);<br />
INSERT INTO transferido_inno(<br />
	SELECT * FROM transferido LIMIT 100000,100000<br />
);<br />
&#8211;ETC.</p>
<p>COMMIT;<br />
SET UNIQUE_CHECKS=1;</p>
<p>ALTER TABLE transferido RENAME TO transferido_myisam;</p>
<p>ALTER TABLE transferido_inno RENAME TO transferido;<br />
OPTIMIZE TABLE transferido;</p>
<p>&#8211; END SCRIPT</p>
<p>It worked really good.</p>
<p>I started optimizing this database a month ago (my first real database challenge). This blog and your book (along with Pro MySQL) helped me very much. The site is now running reaaaaally good. The server load decreased from 90% to 20% with some tunning, new indexes and this new altered table(we needed MVCC desperately).</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-673592</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 06 Nov 2009 01:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-673592</guid>
		<description>Santiago

Use replication, convert slave to Innodb and when switch.</description>
		<content:encoded><![CDATA[<p>Santiago</p>
<p>Use replication, convert slave to Innodb and when switch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santiago</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-673114</link>
		<dc:creator>Santiago</dc:creator>
		<pubDate>Wed, 04 Nov 2009 18:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-673114</guid>
		<description>Hi Peter!

I&#039;m from Argentina, sorry for my english.

Can you give me any hint to transform all my MyISAM tables to INNOdb? The database is currently used in production, we have roughly 100 tables and 100,000 rows. The idea is to avoid the dead time of the site.

Thanks a lot for your book and your site, it&#039;s a great help!</description>
		<content:encoded><![CDATA[<p>Hi Peter!</p>
<p>I&#8217;m from Argentina, sorry for my english.</p>
<p>Can you give me any hint to transform all my MyISAM tables to INNOdb? The database is currently used in production, we have roughly 100 tables and 100,000 rows. The idea is to avoid the dead time of the site.</p>
<p>Thanks a lot for your book and your site, it&#8217;s a great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: howa</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-308269</link>
		<dc:creator>howa</dc:creator>
		<pubDate>Tue, 03 Jun 2008 16:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-308269</guid>
		<description>Hi Peter,

Thanks for the reply.

2. Yes, but say for example, MyISAM default insert speed is great, but InnoDB default insert speed is poor. (I have seen your InnoDB optimization presentation, and done the  experiments)

3. This is the main point, we just afraid we will have total loss of data since we can&#039;t even repair the table.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Thanks for the reply.</p>
<p>2. Yes, but say for example, MyISAM default insert speed is great, but InnoDB default insert speed is poor. (I have seen your InnoDB optimization presentation, and done the  experiments)</p>
<p>3. This is the main point, we just afraid we will have total loss of data since we can&#8217;t even repair the table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-307962</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 03 Jun 2008 02:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-307962</guid>
		<description>1) Innodb does suffer however MyISAM often suffers even worse problems... even for read only workloads.
2) Do not use default settings for real world use.
3) It is recoverable though there is no REPAIR TABLE to make  it trivial.</description>
		<content:encoded><![CDATA[<p>1) Innodb does suffer however MyISAM often suffers even worse problems&#8230; even for read only workloads.<br />
2) Do not use default settings for real world use.<br />
3) It is recoverable though there is no REPAIR TABLE to make  it trivial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: howa</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-307740</link>
		<dc:creator>howa</dc:creator>
		<pubDate>Mon, 02 Jun 2008 15:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-307740</guid>
		<description>Hi,

Some questions:

1. Is it now InnoDB still suffer from the problems of poor performance when running in SMP server? 

2. If using build in default settings, seems MyISAM perform better in most suitation.

3. If InnoDB corrupt, it is 0% recoverable?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Some questions:</p>
<p>1. Is it now InnoDB still suffer from the problems of poor performance when running in SMP server? </p>
<p>2. If using build in default settings, seems MyISAM perform better in most suitation.</p>
<p>3. If InnoDB corrupt, it is 0% recoverable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Project 2061 Techlog &#187; Optimizing MySQL Server Runtime Parameters</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-296419</link>
		<dc:creator>Project 2061 Techlog &#187; Optimizing MySQL Server Runtime Parameters</dc:creator>
		<pubDate>Wed, 07 May 2008 18:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-296419</guid>
		<description>[...] MySQL Performance Blog: Using MyISAM in production [...]</description>
		<content:encoded><![CDATA[<p>[...] MySQL Performance Blog: Using MyISAM in production [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-291548</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 01 May 2008 23:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-291548</guid>
		<description>inanc,

May be Innodb does not work well for your particular task (set of queries) but it is not enough to say it does not work for broad set of tasks:) 

You can use GetLock (for example) to serialize data for Innodb as many people do.

Note for writes MyISAM quite often faster than Innodb but for large data sets recovery time can often be unacceptable.</description>
		<content:encoded><![CDATA[<p>inanc,</p>
<p>May be Innodb does not work well for your particular task (set of queries) but it is not enough to say it does not work for broad set of tasks:) </p>
<p>You can use GetLock (for example) to serialize data for Innodb as many people do.</p>
<p>Note for writes MyISAM quite often faster than Innodb but for large data sets recovery time can often be unacceptable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inanc</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-291540</link>
		<dc:creator>inanc</dc:creator>
		<pubDate>Thu, 01 May 2008 22:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-291540</guid>
		<description>peter,

I agree with you on some points. But with innodb we use repeatable-read concurrency with update if not rows been updated then insert kind of transactions. At the same time a cluster of nodes actively writing to the same tables which are read by another different cluster members. Whatever technique we tried nothing was as succesful as with MyISAM even it is doing its job not by parallel ( but inserts are faster works and/or seems like parallel ).

I am going to watch mysql webinars about scale-out write intensive applications maybe that can point a path.</description>
		<content:encoded><![CDATA[<p>peter,</p>
<p>I agree with you on some points. But with innodb we use repeatable-read concurrency with update if not rows been updated then insert kind of transactions. At the same time a cluster of nodes actively writing to the same tables which are read by another different cluster members. Whatever technique we tried nothing was as succesful as with MyISAM even it is doing its job not by parallel ( but inserts are faster works and/or seems like parallel ).</p>
<p>I am going to watch mysql webinars about scale-out write intensive applications maybe that can point a path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/comment-page-1/#comment-291523</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 01 May 2008 22:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/17/using-myisam-in-production/#comment-291523</guid>
		<description>inanc,

You oversimplify things - in your case you get deadlocks because your data inserts are conflicting in some form - MyISAM serializes inserts and so cures deadlocks, but it is not parallel.   What is better depends on the application and amount deadlocks you have. 

In general the approach is simple - test what works for you, think what is important for you and make decision.</description>
		<content:encoded><![CDATA[<p>inanc,</p>
<p>You oversimplify things &#8211; in your case you get deadlocks because your data inserts are conflicting in some form &#8211; MyISAM serializes inserts and so cures deadlocks, but it is not parallel.   What is better depends on the application and amount deadlocks you have. </p>
<p>In general the approach is simple &#8211; test what works for you, think what is important for you and make decision.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
