<?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>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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(&#8217;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>
