<?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: InnoDB plugin row format performance</title>
	<atom:link href="http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/</link>
	<description>Everything In Life Is Random! (Personal and Work)</description>
	<lastBuildDate>Mon, 08 Mar 2010 23:30:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: [Jeremy Zawodny's blog] The Long Term Performance of InnoDB at Netsurfaces</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-4564</link>
		<dc:creator>[Jeremy Zawodny's blog] The Long Term Performance of InnoDB at Netsurfaces</dc:creator>
		<pubDate>Tue, 12 Aug 2008 21:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-4564</guid>
		<description>[...] reduction in I/O when using the new indexes and compression on a data set like this. (Others sure have.) But I don&#039;t yet have a sense of how stable it [...]</description>
		<content:encoded><![CDATA[<p>[...] reduction in I/O when using the new indexes and compression on a data set like this. (Others sure have.) But I don&#8217;t yet have a sense of how stable it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Performance and High Availability &#187; Blog Archive &#187; Testing InnoDB and MySQL 5.1 performance in real workload conditions</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2775</link>
		<dc:creator>Performance and High Availability &#187; Blog Archive &#187; Testing InnoDB and MySQL 5.1 performance in real workload conditions</dc:creator>
		<pubDate>Fri, 02 May 2008 16:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2775</guid>
		<description>[...] new feature of InnoDB plugin : table compression. I went for a 8k compressed page size according to Venu Anuganti&#8217;s tests and compressed a 6GB table which is one of the most used tables in our application. The table [...]</description>
		<content:encoded><![CDATA[<p>[...] new feature of InnoDB plugin : table compression. I went for a 8k compressed page size according to Venu Anuganti&#8217;s tests and compressed a 6GB table which is one of the most used tables in our application. The table [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inaam Rana</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2704</link>
		<dc:creator>Inaam Rana</dc:creator>
		<pubDate>Wed, 30 Apr 2008 04:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2704</guid>
		<description>Venu,

Very nice work!

The fact that compression to 4K shows nearly 7% compression failures during load is indicative that this table is not a good candidate for compression to 4K. I also tried that and got same results (i.e.: nearly 7% compression failures for 4K and 0.1% failures for 8K). That is why we say in the documentation that if the compression failures are greater then 1% then it is not a good idea to compress such tables.
Performance is so sensitive to compression failures because not only the failures entail split and recompression (which is heavy duty operation) but also if we are hitting failures then we are unlikely to have much space in the page for modification log. Remember that InnoDB, attempts to avoid multiple calls to recompression by keeping a log of changes made to a page in a per page modification log. This micro journal resides in the free space within a page. If a page is compressed to a size where 16K data just barely fits into the page size then not much is left for this log and hence extra calls to recompression.

BTW: if you try to capture innodb_cmp during read/write run of sysbench you&#039;ll see roughly 2% failures for 8K pages and nearly 60% failures for 4K.

regards,
inaam</description>
		<content:encoded><![CDATA[<p>Venu,</p>
<p>Very nice work!</p>
<p>The fact that compression to 4K shows nearly 7% compression failures during load is indicative that this table is not a good candidate for compression to 4K. I also tried that and got same results (i.e.: nearly 7% compression failures for 4K and 0.1% failures for 8K). That is why we say in the documentation that if the compression failures are greater then 1% then it is not a good idea to compress such tables.<br />
Performance is so sensitive to compression failures because not only the failures entail split and recompression (which is heavy duty operation) but also if we are hitting failures then we are unlikely to have much space in the page for modification log. Remember that InnoDB, attempts to avoid multiple calls to recompression by keeping a log of changes made to a page in a per page modification log. This micro journal resides in the free space within a page. If a page is compressed to a size where 16K data just barely fits into the page size then not much is left for this log and hence extra calls to recompression.</p>
<p>BTW: if you try to capture innodb_cmp during read/write run of sysbench you&#8217;ll see roughly 2% failures for 8K pages and nearly 60% failures for 4K.</p>
<p>regards,<br />
inaam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu Anuganti Blog &#187; InnoDB plugin row format performance - II</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2628</link>
		<dc:creator>Venu Anuganti Blog &#187; InnoDB plugin row format performance - II</dc:creator>
		<pubDate>Sat, 26 Apr 2008 06:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2628</guid>
		<description>[...] is a continuation post on InnoDB plugin row format performance with few more test scenarios to cover based on the feedback and questions that I got in my [...]</description>
		<content:encoded><![CDATA[<p>[...] is a continuation post on InnoDB plugin row format performance with few more test scenarios to cover based on the feedback and questions that I got in my [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venu Anuganti</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2627</link>
		<dc:creator>Venu Anuganti</dc:creator>
		<pubDate>Sat, 26 Apr 2008 06:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2627</guid>
		<description>Peter,

Thanks for the feedback. sysbench, I already tweaked to suite the needs, even though I couldn&#039;t contribute the code back as nobody looks like taking any patches out there. 

Anyway,

Batches mean, single inserts here. And mysqldump by default uses --opt and I did not use --no-opt for sure. I was also bit surprised on 4K/2K; but after multiple iterations, the results appear in the same way.. I may file a bug on my findings as well.. Just watch my second post today or tomorrow and let me know if you have any questions on top.</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Thanks for the feedback. sysbench, I already tweaked to suite the needs, even though I couldn&#8217;t contribute the code back as nobody looks like taking any patches out there. </p>
<p>Anyway,</p>
<p>Batches mean, single inserts here. And mysqldump by default uses &#8211;opt and I did not use &#8211;no-opt for sure. I was also bit surprised on 4K/2K; but after multiple iterations, the results appear in the same way.. I may file a bug on my findings as well.. Just watch my second post today or tomorrow and let me know if you have any questions on top.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Zaitsev</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2625</link>
		<dc:creator>Peter Zaitsev</dc:creator>
		<pubDate>Sat, 26 Apr 2008 05:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2625</guid>
		<description>Venu,

Also load time looks rather strange -  what exactly did you do ?  did you do dump with --no-opt so  mysqldump would use single value inserts ? Or do you mean something else by &quot;not batches&quot; ?</description>
		<content:encoded><![CDATA[<p>Venu,</p>
<p>Also load time looks rather strange &#8211;  what exactly did you do ?  did you do dump with &#8211;no-opt so  mysqldump would use single value inserts ? Or do you mean something else by &#8220;not batches&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Zaitsev</title>
		<link>http://venublog.com/2008/04/25/innodb-plugin-row-format-performance/comment-page-1/#comment-2624</link>
		<dc:creator>Peter Zaitsev</dc:creator>
		<pubDate>Sat, 26 Apr 2008 05:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://venublog.com/?p=275#comment-2624</guid>
		<description>Great results Venu,

Though I should say compression is where using sbtest is pretty bad choice - it is designed to deal with data sizes but it does not really uses strings which would have compression properties any close to real world.

This is one of the challenge of testing system with uses compression - you do not only need to repeat the cardinalities and lengths of rows matching scenario you&#039;re interested in but also compression properties.</description>
		<content:encoded><![CDATA[<p>Great results Venu,</p>
<p>Though I should say compression is where using sbtest is pretty bad choice &#8211; it is designed to deal with data sizes but it does not really uses strings which would have compression properties any close to real world.</p>
<p>This is one of the challenge of testing system with uses compression &#8211; you do not only need to repeat the cardinalities and lengths of rows matching scenario you&#8217;re interested in but also compression properties.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
