<?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: A Defragmentation Script to Optimize Fragmented Tables in MySQL</title>
	<atom:link href="http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/</link>
	<description>Ramblings of a phone weenie, Linux sysadmin, and other things geeky</description>
	<lastBuildDate>Wed, 25 Jan 2012 03:51:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Phil Dufault</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-23181</link>
		<dc:creator>Phil Dufault</dc:creator>
		<pubDate>Mon, 16 Jan 2012 23:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-23181</guid>
		<description>Hi Tom,

I&#039;ll need some more data from you -- try running the script in debug mode to find out what actions it&#039;s taking. (put -x at the end of the line at top of the script)

Let me know how you make out.</description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>I&#8217;ll need some more data from you &#8212; try running the script in debug mode to find out what actions it&#8217;s taking. (put -x at the end of the line at top of the script)</p>
<p>Let me know how you make out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-21470</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 13 Dec 2011 20:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-21470</guid>
		<description>The script seems to run fine, after I figured out how to populate the ~/.my.cnf file.
But... each time I run it, the same 44 tables are found to be fragmented and optimized.
How can I make the optimization stick?
Thanks, Tom</description>
		<content:encoded><![CDATA[<p>The script seems to run fine, after I figured out how to populate the ~/.my.cnf file.<br />
But&#8230; each time I run it, the same 44 tables are found to be fragmented and optimized.<br />
How can I make the optimization stick?<br />
Thanks, Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Dufault</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-18612</link>
		<dc:creator>Phil Dufault</dc:creator>
		<pubDate>Thu, 29 Sep 2011 16:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-18612</guid>
		<description>Thanks for letting me know about the errors Arun.  I&#039;ve fixed them.

However, please be more careful with what text you&#039;re pasting to the internet!  You showed me your root password.</description>
		<content:encoded><![CDATA[<p>Thanks for letting me know about the errors Arun.  I&#8217;ve fixed them.</p>
<p>However, please be more careful with what text you&#8217;re pasting to the internet!  You showed me your root password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Dufault</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-18597</link>
		<dc:creator>Phil Dufault</dc:creator>
		<pubDate>Thu, 29 Sep 2011 07:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-18597</guid>
		<description>Thanks, fixed.</description>
		<content:encoded><![CDATA[<p>Thanks, fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Brown</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-17317</link>
		<dc:creator>Robert Brown</dc:creator>
		<pubDate>Mon, 15 Aug 2011 01:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-17317</guid>
		<description>Phil - the updated file is using the &#039; character in the new script (which shares the key with &quot;), whereas it needs to use a ` (which shares the key with ~). It won&#039;t work as posted and errors out.</description>
		<content:encoded><![CDATA[<p>Phil &#8211; the updated file is using the &#8216; character in the new script (which shares the key with &#8220;), whereas it needs to use a ` (which shares the key with ~). It won&#8217;t work as posted and errors out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reynold</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-17283</link>
		<dc:creator>Reynold</dc:creator>
		<pubDate>Sat, 13 Aug 2011 23:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-17283</guid>
		<description>Thank you Phil:)</description>
		<content:encoded><![CDATA[<p>Thank you Phil:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-16812</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 27 Jul 2011 14:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-16812</guid>
		<description>Phil, 

godsyn&#039;s suggestion still threw an error on my file. I had to remove the escape characters and run the variable itself without any quote marks. I would make a note to anyone who experiences an error that this is likely the problem.</description>
		<content:encoded><![CDATA[<p>Phil, </p>
<p>godsyn&#8217;s suggestion still threw an error on my file. I had to remove the escape characters and run the variable itself without any quote marks. I would make a note to anyone who experiences an error that this is likely the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Shetty</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-16160</link>
		<dc:creator>Arun Shetty</dc:creator>
		<pubDate>Sat, 02 Jul 2011 20:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-16160</guid>
		<description>Not to worry...I managed to fix the error. Its time to use it on my production box now :-)

Thanks,
Arun.</description>
		<content:encoded><![CDATA[<p>Not to worry&#8230;I managed to fix the error. Its time to use it on my production box now <img src='http://www.dufault.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks,<br />
Arun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Shetty</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-16158</link>
		<dc:creator>Arun Shetty</dc:creator>
		<pubDate>Sat, 02 Jul 2011 19:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-16158</guid>
		<description>The script runs with an error 

[root@IRS-LNX-07 scripts]# ./mysqlDefragmenter --user &quot;root&quot; --password &quot;**redacted**&quot; --host &quot;localhost&quot;
MySQL fragmentation finder (and fixer) v0.7.5, written by Phil Dufault ( http://www.dufault.info/ )
Found 4 databases
Checking openmeetings ... found 1 fragmented table.
        Optimizing sessiondata ... An error occured, check /root/scripts/mysql_error_log.txt for more information.

and the following text is logged:

ERROR at line 1: Unknown command &#039;\&#039;&#039;.

Please advise.

Best Regards,
Arun.</description>
		<content:encoded><![CDATA[<p>The script runs with an error </p>
<p>[root@IRS-LNX-07 scripts]# ./mysqlDefragmenter &#8211;user &#8220;root&#8221; &#8211;password &#8220;**redacted**&#8221; &#8211;host &#8220;localhost&#8221;<br />
MySQL fragmentation finder (and fixer) v0.7.5, written by Phil Dufault ( <a href="http://www.dufault.info/" rel="nofollow">http://www.dufault.info/</a> )<br />
Found 4 databases<br />
Checking openmeetings &#8230; found 1 fragmented table.<br />
        Optimizing sessiondata &#8230; An error occured, check /root/scripts/mysql_error_log.txt for more information.</p>
<p>and the following text is logged:</p>
<p>ERROR at line 1: Unknown command &#8216;\&#8221;.</p>
<p>Please advise.</p>
<p>Best Regards,<br />
Arun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun Shetty</title>
		<link>http://www.dufault.info/blog/a-script-to-optimize-fragmented-tables-in-mysql/comment-page-1/#comment-16156</link>
		<dc:creator>Arun Shetty</dc:creator>
		<pubDate>Sat, 02 Jul 2011 19:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dufault.info/blog/?p=116#comment-16156</guid>
		<description>I was typing the wrong password. Got it to work after keying in the right one :-) 

Thanks for the awesome script Phil.

Best Regards,
Arun.</description>
		<content:encoded><![CDATA[<p>I was typing the wrong password. Got it to work after keying in the right one <img src='http://www.dufault.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>Thanks for the awesome script Phil.</p>
<p>Best Regards,<br />
Arun.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

