<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>find active temp table &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/find-active-temp-table/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Sun, 16 Oct 2016 17:58:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>MySQL 5.7: Script to find list of Active InnoDB Temp Tables using INNODB_TEMP_TABLE_INFO</title>
		<link>https://www.dbrnd.com/2016/10/mysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info/</link>
					<comments>https://www.dbrnd.com/2016/10/mysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 18 Oct 2016 16:16:03 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[find active temp table]]></category>
		<category><![CDATA[INNODB_TEMP_TABLE_INFO]]></category>
		<category><![CDATA[MySQL 5.7]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[Temp Table]]></category>
		<category><![CDATA[temporary table]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3800</guid>

					<description><![CDATA[MySQL 5.7 introduced INNODB_TEMP_TABLE_INFO table added into INFORMATION_SCHEMA. Using INNODB_TEMP_TABLE_INFO, you can get A list of all active Temp Table of MySQL InnoDB Instance. You can get the information of all active user created and system created Temp Tables. The Database Administrator can use this script for monitoring total Temp Table in MySQL Server. Unnecessarily, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&amp;linkname=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F10%2Fmysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info%2F&#038;title=MySQL%205.7%3A%20Script%20to%20find%20list%20of%20Active%20InnoDB%20Temp%20Tables%20using%20INNODB_TEMP_TABLE_INFO" data-a2a-url="https://www.dbrnd.com/2016/10/mysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info/" data-a2a-title="MySQL 5.7: Script to find list of Active InnoDB Temp Tables using INNODB_TEMP_TABLE_INFO"></a></p><p>MySQL 5.7 introduced INNODB_TEMP_TABLE_INFO table added into INFORMATION_SCHEMA. </p>
<blockquote><p>Using INNODB_TEMP_TABLE_INFO, you can get A list of all active Temp Table of MySQL InnoDB Instance.<br />
You can get the information of all active user created and system created Temp Tables.
</p></blockquote>
<blockquote><p>The Database Administrator can use this script for monitoring total Temp Table in MySQL Server.<br />
Unnecessarily, we should not create a TEMP Table because It requires temporary disk + memory storage and degrade the overall performance of MySQL Server. </p></blockquote>
<p>Once you get the list of tables using INNODB_TEMP_TABLE_INFO, you can get system generated Temp Table Name.</p>
<p><strong>Check existance of INNODB_TEMP_TABLE_INFO:</strong></p>
<pre class="crayon-plain-tag">SHOW TABLES FROM INFORMATION_SCHEMA LIKE 'INNODB_TEMP%';</pre> </p>
<p><strong>Create two sample Temporary Table:</strong></p>
<pre class="crayon-plain-tag">CREATE TEMPORARY TABLE ABC (ID INT, Name VARCHAR(50));
CREATE TEMPORARY TABLE XYZ (ID INT, Name VARCHAR(50));</pre> </p>
<p><strong>Get the information of Temp Table:</strong></p>
<pre class="crayon-plain-tag">SELECT * FROM INFORMATION_SCHEMA.INNODB_TEMP_TABLE_INFO

*************************** 1. row ***************************
            TABLE_ID: 93
                NAME: #sqlcec_9_bec
              N_COLS: 5
               SPACE: 76
PER_TABLE_TABLESPACE: FALSE
       IS_COMPRESSED: FALSE
*************************** 2. row ***************************
            TABLE_ID: 92
                NAME: #sqlcec_9_beb
              N_COLS: 5
               SPACE: 76
PER_TABLE_TABLESPACE: FALSE
       IS_COMPRESSED: FALSE
2 rows in set (0.01 sec)</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/10/mysql-5-7-script-to-find-list-of-active-innodb-temp-tables-using-innodb_temp_table_info/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
