<?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: Fun with innodb stats</title>
	<atom:link href="http://www.bigdbahead.com/?feed=rss2&#038;p=132" rel="self" type="application/rss+xml" />
	<link>http://www.bigdbahead.com/?p=132</link>
	<description>Database Brain Power!</description>
	<lastBuildDate>Mon, 29 Mar 2010 22:08:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Big DBA Head! - Database Brain Power! &#187; Patch to Disable Innodb&#8217;s Dynamic Stat Generation</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-1014</link>
		<dc:creator>Big DBA Head! - Database Brain Power! &#187; Patch to Disable Innodb&#8217;s Dynamic Stat Generation</dc:creator>
		<pubDate>Sat, 28 Feb 2009 03:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-1014</guid>
		<description>[...] Fun with innodb stats [...]</description>
		<content:encoded><![CDATA[<p>[...] Fun with innodb stats [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-1005</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 26 Feb 2009 19:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-1005</guid>
		<description>I have got a hack that shuts down the background stats collection ( with the exception of when you run analyze ) ... but its sort of flaky, so I am trying to figure out why before I push out to launchpad.</description>
		<content:encoded><![CDATA[<p>I have got a hack that shuts down the background stats collection ( with the exception of when you run analyze ) &#8230; but its sort of flaky, so I am trying to figure out why before I push out to launchpad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KevinF</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-1004</link>
		<dc:creator>KevinF</dc:creator>
		<pubDate>Thu, 26 Feb 2009 19:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-1004</guid>
		<description>yes please, a table allowing us to set the stats the way we want them would be wonderful.  Imagine being able to set stats to reflect a terabyte DB when you have a 100MB test environment?   App Devlopers could much better gauge their code&#039;s performance.

Maybe the XtraDB folk want to take on something like this.  But yeah, shutting off the background threads would be nice.  I hate surprises in the night when stats go awry.</description>
		<content:encoded><![CDATA[<p>yes please, a table allowing us to set the stats the way we want them would be wonderful.  Imagine being able to set stats to reflect a terabyte DB when you have a 100MB test environment?   App Devlopers could much better gauge their code&#8217;s performance.</p>
<p>Maybe the XtraDB folk want to take on something like this.  But yeah, shutting off the background threads would be nice.  I hate surprises in the night when stats go awry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shantanu Oak</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-1001</link>
		<dc:creator>Shantanu Oak</dc:creator>
		<pubDate>Thu, 26 Feb 2009 07:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-1001</guid>
		<description>Try using &quot;select straight_join&quot; syntax to help the optimizer select the best index plan while joining tables.</description>
		<content:encoded><![CDATA[<p>Try using &#8220;select straight_join&#8221; syntax to help the optimizer select the best index plan while joining tables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-994</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Tue, 24 Feb 2009 18:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-994</guid>
		<description>In the big Google patch we have code to set the number of samples via a SET command. But I prefer a better ugly hack.</description>
		<content:encoded><![CDATA[<p>In the big Google patch we have code to set the number of samples via a SET command. But I prefer a better ugly hack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-993</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Tue, 24 Feb 2009 18:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-993</guid>
		<description>I agree a table or a way to shutoff stats per table would be great... Been looking at this, an easy but not as useful patch here would be to allow you globally shutoff stats collection ( would have to allow it if no stats are set ) and then allow a global var to set the page depth used by the stats update.  I think that could be relatively easy to put in.</description>
		<content:encoded><![CDATA[<p>I agree a table or a way to shutoff stats per table would be great&#8230; Been looking at this, an easy but not as useful patch here would be to allow you globally shutoff stats collection ( would have to allow it if no stats are set ) and then allow a global var to set the page depth used by the stats update.  I think that could be relatively easy to put in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.bigdbahead.com/?p=132&#038;cpage=1#comment-991</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Tue, 24 Feb 2009 17:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=132#comment-991</guid>
		<description>The hack that I want is a stats table in the mysql database into which table-index stats can optionally be added. Then a background job can update the table as needed and changes will propagate to slaves.

Bad stats cause bad query plans for us all of the time. This is a huge problem and today&#039;s workaround is to put hints into too many queries to force a good join order.</description>
		<content:encoded><![CDATA[<p>The hack that I want is a stats table in the mysql database into which table-index stats can optionally be added. Then a background job can update the table as needed and changes will propagate to slaves.</p>
<p>Bad stats cause bad query plans for us all of the time. This is a huge problem and today&#8217;s workaround is to put hints into too many queries to force a good join order.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
