<?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: Reasons to use innodb_file_per_table</title>
	<atom:link href="http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/feed" rel="self" type="application/rss+xml" />
	<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table</link>
	<description>Blog by Shlomi Noach</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:47:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: MySQL performance tips for Zabbix &#124; Zabbix Zone</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-58013</link>
		<dc:creator>MySQL performance tips for Zabbix &#124; Zabbix Zone</dc:creator>
		<pubDate>Tue, 08 Nov 2011 10:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-58013</guid>
		<description>[...] Some discussions about this: http://dom.as/2009/05/21/innodb-tablespace/ http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table [...]</description>
		<content:encoded><![CDATA[<p>[...] Some discussions about this: <a href="http://dom.as/2009/05/21/innodb-tablespace/" rel="nofollow">http://dom.as/2009/05/21/innodb-tablespace/</a> <a href="http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table" rel="nofollow">http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-55313</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Tue, 18 Oct 2011 12:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-55313</guid>
		<description>Well, you&#039;re in a serious problem.
I would tell you to open your backup, but I&#039;m sure you&#039;re asking this question as you don&#039;t have one. Or you could rely on your replicating slave if you have one.
Depending on your file system, you may be able to restore the file itself.
If this is made possible, you may recover your innodb data using &lt;a href=&quot;https://launchpad.net/percona-data-recovery-tool-for-innodb&quot; rel=&quot;nofollow&quot;&gt;innodb-tools&lt;/a&gt;. But if you&#039;re down to that, you may seek out help from Percona, who author those tools.</description>
		<content:encoded><![CDATA[<p>Well, you're in a serious problem.<br />
I would tell you to open your backup, but I'm sure you're asking this question as you don't have one. Or you could rely on your replicating slave if you have one.<br />
Depending on your file system, you may be able to restore the file itself.<br />
If this is made possible, you may recover your innodb data using <a href="https://launchpad.net/percona-data-recovery-tool-for-innodb" rel="nofollow">innodb-tools</a>. But if you're down to that, you may seek out help from Percona, who author those tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-55312</link>
		<dc:creator>rahul</dc:creator>
		<pubDate>Tue, 18 Oct 2011 12:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-55312</guid>
		<description>i want to know one thing&gt;&gt;&gt;&gt;if bychance iddata1 file has deleted then all table data would gone.....how i will resolve this solution.</description>
		<content:encoded><![CDATA[<p>i want to know one thing&gt;&gt;&gt;&gt;if bychance iddata1 file has deleted then all table data would gone.....how i will resolve this solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-52559</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Fri, 23 Sep 2011 04:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-52559</guid>
		<description>@John, George,

Ah, but it has been more than two years since this post was published. Much has happened since.
In particular, the emergence of InnoDB Plugin (now just InnoDB), replacing the older &quot;builting&quot; InnoDB.
InnoDB Plugic comes with many improvements; performance, scale up, bugfixes, blob storage, ...
And to fully utilize its functionality (you can use half of its advantages without changing anything), you need to upgrade your tables to &quot;barracuda format&quot;. 
Guess what? It requires innodb_file_per_table.
So file-per-table is now also a feature issue. You loose features (e.g. compression, blob storage) which can directly relate to performance issues.</description>
		<content:encoded><![CDATA[<p>@John, George,</p>
<p>Ah, but it has been more than two years since this post was published. Much has happened since.<br />
In particular, the emergence of InnoDB Plugin (now just InnoDB), replacing the older "builting" InnoDB.<br />
InnoDB Plugic comes with many improvements; performance, scale up, bugfixes, blob storage, ...<br />
And to fully utilize its functionality (you can use half of its advantages without changing anything), you need to upgrade your tables to "barracuda format".<br />
Guess what? It requires innodb_file_per_table.<br />
So file-per-table is now also a feature issue. You loose features (e.g. compression, blob storage) which can directly relate to performance issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George M</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-52555</link>
		<dc:creator>George M</dc:creator>
		<pubDate>Fri, 23 Sep 2011 03:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-52555</guid>
		<description>I&#039;ve been running several MySQL servers for a number of years. I have one particular box that has a little over 400 databases totaling about 350GB. The server was originally setup using 3 ibdata files back on 4.0, and was later changed to file per table. There has not been any appreciable speed difference from what I can see. The server is very busy, averaging 6-7 GB of binlogs per day. There is file system overhead for sure, but the db files are stored on a 16 spindle 6gb/s sas array, so I don&#039;t expect that any small gain would warrant moving back to single files again.</description>
		<content:encoded><![CDATA[<p>I've been running several MySQL servers for a number of years. I have one particular box that has a little over 400 databases totaling about 350GB. The server was originally setup using 3 ibdata files back on 4.0, and was later changed to file per table. There has not been any appreciable speed difference from what I can see. The server is very busy, averaging 6-7 GB of binlogs per day. There is file system overhead for sure, but the db files are stored on a 16 spindle 6gb/s sas array, so I don't expect that any small gain would warrant moving back to single files again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Scott</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-49169</link>
		<dc:creator>John Scott</dc:creator>
		<pubDate>Thu, 18 Aug 2011 17:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-49169</guid>
		<description>I hail from DB2 land and I really enjoyed the ability to put one or more tables of my choosing in a particular tablespace and others in another tablespace.

I totally agree with many of the points here about the filesystem overhead of having a file per table.  However, I also don&#039;t want all tables to be in one file. 

Is there not a happy medium in mysql?</description>
		<content:encoded><![CDATA[<p>I hail from DB2 land and I really enjoyed the ability to put one or more tables of my choosing in a particular tablespace and others in another tablespace.</p>
<p>I totally agree with many of the points here about the filesystem overhead of having a file per table.  However, I also don't want all tables to be in one file. </p>
<p>Is there not a happy medium in mysql?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe da Silveira</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-17800</link>
		<dc:creator>Gabe da Silveira</dc:creator>
		<pubDate>Sun, 19 Sep 2010 22:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-17800</guid>
		<description>I find the whole tone of Domas&#039; post extremely irritating.  Internet trolls are a dime a dozen, but when someone really knows their stuff, it&#039;s annoying when they go around with an attitude like anyone without that domain knowledge is an idiot.  Especially when he makes hand-wavy assumptions about real world scenarios that aren&#039;t universally true, such as the idea that permanent data will always grow faster overall than temporary data.  Not to mention cases where there are other infrastructure considerations in play, such as using Time Machine on OS X where monolithic files defeat the primary utility of the system.

It sort of reminds me of Fabian Pascal&#039;s dbdebunk.com mysterious silence coinciding very closely with the rise of the NoSQL movement.  That guy was one of the foremost experts in relational theory, and yet for all his expertise, he was not able to educate people and fell prey to his own dogma which was unreconcilable with the unprecedented scaling challenges faced by the social web.  No doubt he is still sitting in his office wildly gesticulating about the failure of the market to produce a &quot;true&quot; RDBMS system, which, of course, would have superceded the need for the current breed of alternate database technologies.

The lesson here, which I would have posted to Domas&#039; post if he allowed comments, is that no one knows everything, and if you are a domain expert you should share your knowledge openly rather than belittling others.  If Domas built a web application I could poke his implementation choices full of countless holes, but it wouldn&#039;t make me smarter than him.</description>
		<content:encoded><![CDATA[<p>I find the whole tone of Domas' post extremely irritating.  Internet trolls are a dime a dozen, but when someone really knows their stuff, it's annoying when they go around with an attitude like anyone without that domain knowledge is an idiot.  Especially when he makes hand-wavy assumptions about real world scenarios that aren't universally true, such as the idea that permanent data will always grow faster overall than temporary data.  Not to mention cases where there are other infrastructure considerations in play, such as using Time Machine on OS X where monolithic files defeat the primary utility of the system.</p>
<p>It sort of reminds me of Fabian Pascal's dbdebunk.com mysterious silence coinciding very closely with the rise of the NoSQL movement.  That guy was one of the foremost experts in relational theory, and yet for all his expertise, he was not able to educate people and fell prey to his own dogma which was unreconcilable with the unprecedented scaling challenges faced by the social web.  No doubt he is still sitting in his office wildly gesticulating about the failure of the market to produce a "true" RDBMS system, which, of course, would have superceded the need for the current breed of alternate database technologies.</p>
<p>The lesson here, which I would have posted to Domas' post if he allowed comments, is that no one knows everything, and if you are a domain expert you should share your knowledge openly rather than belittling others.  If Domas built a web application I could poke his implementation choices full of countless holes, but it wouldn't make me smarter than him.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-6462</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Thu, 12 Nov 2009 06:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-6462</guid>
		<description>Hi,

They guy who absolutely hates innodb_file_per_table would be &lt;a href=&quot;http://dammit.lt/2009/05/21/innodb-tablespace/&quot; rel=&quot;nofollow&quot;&gt;Domas Mituzas&lt;/a&gt;.
I disagree with part of his arguments. But he is an expert in the field, so this does not mean I belittle him. It&#039;s just that there&#039;s some contention between &quot;what&#039;s utterly best for performance&quot; and &quot;what&#039;s best to live with&quot;. The two do not work well together.

There&#039;s reasons for and against. I&#039;ve presented the reasons &quot;for&quot;.
As I see it, the development is moving in the direction of innodb_file_pre_table: the innodb plugin has to use this option if you want to use Barracuda table format (which allows for compression, among other things).

Anyway, I don&#039;t get paid to support innodb_file_per_table :) I&#039;ll use the single tablespace if I think it&#039;s superior.

Regards</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>They guy who absolutely hates innodb_file_per_table would be <a href="http://dammit.lt/2009/05/21/innodb-tablespace/" rel="nofollow">Domas Mituzas</a>.<br />
I disagree with part of his arguments. But he is an expert in the field, so this does not mean I belittle him. It's just that there's some contention between "what's utterly best for performance" and "what's best to live with". The two do not work well together.</p>
<p>There's reasons for and against. I've presented the reasons "for".<br />
As I see it, the development is moving in the direction of innodb_file_pre_table: the innodb plugin has to use this option if you want to use Barracuda table format (which allows for compression, among other things).</p>
<p>Anyway, I don't get paid to support innodb_file_per_table <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I'll use the single tablespace if I think it's superior.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikev</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-6460</link>
		<dc:creator>Mikev</dc:creator>
		<pubDate>Thu, 12 Nov 2009 05:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-6460</guid>
		<description>I have found various blogs/sites on the net attacking the innodb_file_per_table setting due to extra threads and disk io usage that can occur.
This guys post appears to be the most complete with small benchmark examples of fdatasync/sec numbers

http://yoshinorimatsunobu.blogspot.com/2009/05/overwriting-is-much-faster-than_28.html

I lost some of the other links there is this other guys blog that totally hates it and he seemed like his arguments were quite good. I read since I closed by browser down earlier today.

Seems like if you value the odd amount of disk space over performance by all means enable innodb_file_per_table but if you value performance above easy management thing don&#039;t use this setting.

Also I grabbed this out of the &quot;High performance MYSQL&quot; Book.

&#039;Innodb_file_per_table causes each file to be fsynced separately, which means writes to multiple tables can&#039;t be combined into a single I/O operation. This may require InnoDB to perform a higher total number of fsync() operations.&#039;</description>
		<content:encoded><![CDATA[<p>I have found various blogs/sites on the net attacking the innodb_file_per_table setting due to extra threads and disk io usage that can occur.<br />
This guys post appears to be the most complete with small benchmark examples of fdatasync/sec numbers</p>
<p><a href="http://yoshinorimatsunobu.blogspot.com/2009/05/overwriting-is-much-faster-than_28.html" rel="nofollow">http://yoshinorimatsunobu.blogspot.com/2009/05/overwriting-is-much-faster-than_28.html</a></p>
<p>I lost some of the other links there is this other guys blog that totally hates it and he seemed like his arguments were quite good. I read since I closed by browser down earlier today.</p>
<p>Seems like if you value the odd amount of disk space over performance by all means enable innodb_file_per_table but if you value performance above easy management thing don't use this setting.</p>
<p>Also I grabbed this out of the "High performance MYSQL" Book.</p>
<p>'Innodb_file_per_table causes each file to be fsynced separately, which means writes to multiple tables can't be combined into a single I/O operation. This may require InnoDB to perform a higher total number of fsync() operations.'</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shlomi</title>
		<link>http://code.openark.org/blog/mysql/reasons-to-use-innodb_file_per_table/comment-page-1#comment-6458</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=614#comment-6458</guid>
		<description>@Mikev,

I&#039;m not aware that there&#039;s a difference in write speed. Can you point out the references?
Thanks</description>
		<content:encoded><![CDATA[<p>@Mikev,</p>
<p>I'm not aware that there's a difference in write speed. Can you point out the references?<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

