<?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 INFORMATION_SCHEMA instead of shell scripting</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: nik</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-614396</link>
		<dc:creator>nik</dc:creator>
		<pubDate>Wed, 22 Jul 2009 19:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-614396</guid>
		<description>Todd, the great script. Very useful.</description>
		<content:encoded><![CDATA[<p>Todd, the great script. Very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Myles</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-405726</link>
		<dc:creator>Mike Myles</dc:creator>
		<pubDate>Tue, 09 Dec 2008 17:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-405726</guid>
		<description>This is a great post. It opened my eyes to a whole new way of controlling my DB. Funny how sometimes you just need a little &#039;inspiration&#039; and your mind will open up to a plethora of new possibilities. THANK YOU FOR THIS POST!</description>
		<content:encoded><![CDATA[<p>This is a great post. It opened my eyes to a whole new way of controlling my DB. Funny how sometimes you just need a little &#8216;inspiration&#8217; and your mind will open up to a plethora of new possibilities. THANK YOU FOR THIS POST!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-391711</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 25 Nov 2008 16:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-391711</guid>
		<description>Nmike,

Information Schema is not really the table - MySQL scans the databases finding all the tables and putting their stats in the temporaty table which is later used for queries.  This is why it takes so long time.</description>
		<content:encoded><![CDATA[<p>Nmike,</p>
<p>Information Schema is not really the table &#8211; MySQL scans the databases finding all the tables and putting their stats in the temporaty table which is later used for queries.  This is why it takes so long time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kay Roepke</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-391555</link>
		<dc:creator>Kay Roepke</dc:creator>
		<pubDate>Tue, 25 Nov 2008 11:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-391555</guid>
		<description>Metadata, baby, metadata :) Powerful stuffâ€¦</description>
		<content:encoded><![CDATA[<p>Metadata, baby, metadata <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Powerful stuffâ€¦</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nmike</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-391541</link>
		<dc:creator>nmike</dc:creator>
		<pubDate>Tue, 25 Nov 2008 10:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-391541</guid>
		<description>Ð½Ð¸Ð¾Ð´Ð½Ð¾Ð³Ð¾ Ð¸Ð½Ð´ÐµÐºÑÐ° Ð² Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ðµ TABLES - Ð½Ñƒ Ð¿Ð¿Ñ† Ð¿Ñ€Ð¾ÑÑ‚Ð¾.
Ð·Ð°Ð¿Ñ€Ð¾ÑÑ‹ Ð½Ð° Ð½ÐµÐ¹ Ð¿Ñ€Ð¾ÑÑ‚Ð¾ ÑƒÐ¶Ð¾Ñ.


Ð° Ñ‚Ð°Ðº, Ð¼ÑƒÑÐºÑƒÐ» Ð² ÑÑ‚Ð¾Ð¼ Ð¾Ñ‚Ð½Ð¾ÑˆÐµÐ½Ð¸Ð¸ Ð½Ðµ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ñ ÑÑ‚Ð¸Ð¼Ð¸ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ð°Ð¼Ð¸ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ Ð¼Ð¾Ð¶Ð½Ð¾ - Ð´Ð»Ñ Ñ€Ð°Ð·Ð½Ñ‹Ð¹ Ð¼ÐµÐ»ÐºÐ¸Ñ… Ð·Ð°Ð´Ð°Ñ‡ Ñ‚Ð°ÐºÐ¾Ð¹ Ð¿ÑƒÑ‚ÑŒ Ñ‚Ð¾Ð¶Ðµ Ð¿Ð¾Ð´Ñ…Ð¾Ð´Ð¸Ñ‚. Ð½Ñƒ Ð¸Ð»Ð¸ ÑÑ„Ð¾Ñ€Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ csv Ð½Ð°Ð¿Ñ€Ð¸Ð¼ÐµÑ€ Ð¸Ð· ÐºÐ°ÐºÐ¾Ð¹Ñ‚Ð¾ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ‹, Ð¿Ñ€Ð¸Ñ‡ÐµÐ¼ Ð¼Ð¾Ð¶Ð½Ð¾ ÑÑ€Ð°Ð·Ñƒ ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€ÑƒÑŽ Ð¾Ð±Ñ€Ð°Ð±Ð¾Ñ‚ÐºÑƒ.</description>
		<content:encoded><![CDATA[<p>Ð½Ð¸Ð¾Ð´Ð½Ð¾Ð³Ð¾ Ð¸Ð½Ð´ÐµÐºÑÐ° Ð² Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ðµ TABLES &#8211; Ð½Ñƒ Ð¿Ð¿Ñ† Ð¿Ñ€Ð¾ÑÑ‚Ð¾.<br />
Ð·Ð°Ð¿Ñ€Ð¾ÑÑ‹ Ð½Ð° Ð½ÐµÐ¹ Ð¿Ñ€Ð¾ÑÑ‚Ð¾ ÑƒÐ¶Ð¾Ñ.</p>
<p>Ð° Ñ‚Ð°Ðº, Ð¼ÑƒÑÐºÑƒÐ» Ð² ÑÑ‚Ð¾Ð¼ Ð¾Ñ‚Ð½Ð¾ÑˆÐµÐ½Ð¸Ð¸ Ð½Ðµ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ñ ÑÑ‚Ð¸Ð¼Ð¸ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ð°Ð¼Ð¸ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ Ð¼Ð¾Ð¶Ð½Ð¾ &#8211; Ð´Ð»Ñ Ñ€Ð°Ð·Ð½Ñ‹Ð¹ Ð¼ÐµÐ»ÐºÐ¸Ñ… Ð·Ð°Ð´Ð°Ñ‡ Ñ‚Ð°ÐºÐ¾Ð¹ Ð¿ÑƒÑ‚ÑŒ Ñ‚Ð¾Ð¶Ðµ Ð¿Ð¾Ð´Ñ…Ð¾Ð´Ð¸Ñ‚. Ð½Ñƒ Ð¸Ð»Ð¸ ÑÑ„Ð¾Ñ€Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ñ‚ÑŒ csv Ð½Ð°Ð¿Ñ€Ð¸Ð¼ÐµÑ€ Ð¸Ð· ÐºÐ°ÐºÐ¾Ð¹Ñ‚Ð¾ Ñ‚Ð°Ð±Ð»Ð¸Ñ†Ñ‹, Ð¿Ñ€Ð¸Ñ‡ÐµÐ¼ Ð¼Ð¾Ð¶Ð½Ð¾ ÑÑ€Ð°Ð·Ñƒ ÑÐ´ÐµÐ»Ð°Ñ‚ÑŒ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€ÑƒÑŽ Ð¾Ð±Ñ€Ð°Ð±Ð¾Ñ‚ÐºÑƒ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-391397</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-391397</guid>
		<description>Todd,

Yes good note. You can pipe it too which is better in many cases. I just used 2 different boxes in this case so outfile was easier.</description>
		<content:encoded><![CDATA[<p>Todd,</p>
<p>Yes good note. You can pipe it too which is better in many cases. I just used 2 different boxes in this case so outfile was easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/24/using-information_schema-instead-of-shell-scripting/comment-page-1/#comment-391394</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=543#comment-391394</guid>
		<description>Another fun trick is to use INFORMATION_SCHEMA tables to generate SQL statements, and pipe them back into MySQL:

mysql -uroot -e&quot;SELECT concat(&#039;ALTER TABLE &#039;,table_schema,&#039;.&#039;,table_name, &#039; ENGINE = MyISAM;&#039;) `#sql` FROM information_schema.tables WHERE engine=&#039;innodb&#039; AND table_schema = &#039;test&#039;;&quot; &#124; mysql -uroot</description>
		<content:encoded><![CDATA[<p>Another fun trick is to use INFORMATION_SCHEMA tables to generate SQL statements, and pipe them back into MySQL:</p>
<p>mysql -uroot -e&#8221;SELECT concat(&#8216;ALTER TABLE &#8216;,table_schema,&#8217;.',table_name, &#8216; ENGINE = MyISAM;&#8217;) `#sql` FROM information_schema.tables WHERE engine=&#8217;innodb&#8217; AND table_schema = &#8216;test&#8217;;&#8221; | mysql -uroot</p>
]]></content:encoded>
	</item>
</channel>
</rss>

