<?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>temporary table &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/temporary-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>Tue, 21 Nov 2017 06:13:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</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>
		<item>
		<title>MySQL Temporary Table vs Memory Table.</title>
		<link>https://www.dbrnd.com/2015/08/mysql-temporary-table-vs-memory-table/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 16 Aug 2015 09:56:45 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[memory table]]></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[temporary table]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=419</guid>

					<description><![CDATA[I already shared a article on HEAP Table. I discussed Memory Storage Engine of MySQL. After discussing this topic, there is a confusion. What is the difference between Temporary Table and Memory Table? The main difference is, Temporary Table is only for running current session. Once the session completed its execution, Temporary Table will discard [&#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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&amp;linkname=MySQL%20Temporary%20Table%20vs%20Memory%20Table." 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%2F2015%2F08%2Fmysql-temporary-table-vs-memory-table%2F&#038;title=MySQL%20Temporary%20Table%20vs%20Memory%20Table." data-a2a-url="https://www.dbrnd.com/2015/08/mysql-temporary-table-vs-memory-table/" data-a2a-title="MySQL Temporary Table vs Memory Table."></a></p><p>I already shared a article on HEAP Table.  I discussed <a href="https://www.dbrnd.com/2015/08/the-memory-or-heap-storage-engine-of-mysql/" target="_blank"><strong>Memory Storage Engine</strong></a> of MySQL.</p>
<p>After discussing this topic, there is a confusion.</p>
<p>What is the difference between Temporary Table and Memory Table?</p>
<blockquote><p>The main difference is, Temporary Table is only for running current session.<br />
Once the session completed its execution, Temporary Table will discard from memory.<br />
You cannot use Temporary Table for multiple sessions.<br />
As we previously discussed, that Memory Table can hold data for across all running sessions and connections.</p></blockquote>
<p>Temporary Table stores all data and table definition in an interim disk file.</p>
<p>Memory Table stores all data into Memory and stores table definition into <a href="https://www.dbrnd.com/2016/03/mysql-what-is-the-main-role-of-frm-file/" target="_blank"><strong>.frm</strong></a> disk file.</p>
<p>Temporary Table can also store all data into memory, but for that, you have to create a Temporary Table using Memory Engine.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
