<?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>Size of Storage Engine &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/size-of-storage-engine/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, 20 May 2018 19:33:56 +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: Script to find total occupied Size of each Storage Engines</title>
		<link>https://www.dbrnd.com/2016/10/mysql-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation/</link>
					<comments>https://www.dbrnd.com/2016/10/mysql-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 16 Oct 2016 17:56:03 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[MyISAM]]></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[Size of Storage Engine]]></category>
		<category><![CDATA[Storage Engines]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3814</guid>

					<description><![CDATA[In this post, I am sharing a script to find the total occupied size of each Storage Engine of MySQL Server. MySQL Provides different types of storage engines like: MyISAM, InnoDB, Memory. I have seen few questions on MySQL Forum like how to migrate MyISAM tables into InnoDB engines and what would be the storage [&#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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&amp;linkname=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" 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-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation%2F&#038;title=MySQL%3A%20Script%20to%20find%20total%20occupied%20Size%20of%20each%20Storage%20Engines" data-a2a-url="https://www.dbrnd.com/2016/10/mysql-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation/" data-a2a-title="MySQL: Script to find total occupied Size of each Storage Engines"></a></p><p>In this post, I am sharing a script to find the total occupied size of each Storage Engine of MySQL Server. </p>
<blockquote><p>MySQL Provides different types of storage engines like: MyISAM, InnoDB, Memory.<br />
I have seen few questions on MySQL Forum like how to migrate MyISAM tables into InnoDB engines and what would be the storage size difference. </p></blockquote>
<p>Periodically, Database Administrators have to check the occupied size of each different MySQL Storage Engine which helps them to take decisions on internal migration or for any other reason. </p>
<pre class="crayon-plain-tag">SELECT
	COUNT(*) AS TotalTableCount
	,table_schema
	,CONCAT(ROUND(SUM(table_rows)/1000000,2),'M') AS TotalRowCount
	,CONCAT(ROUND(SUM(data_length)/(1024*1024*1024),2),'G') AS TotalTableSize
	,CONCAT(ROUND(SUM(index_length)/(1024*1024*1024),2),'G') AS TotalTableIndex
	,CONCAT(ROUND(SUM(data_length+index_length)/(1024*1024*1024),2),'G') TotalSize	
FROM information_schema.TABLES
GROUP BY ENGINE
ORDER BY SUM(data_length+index_length) 
DESC LIMIT 10;</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/10/mysql-script-to-find-total-occupied-size-of-each-storage-engines-myisam-innodb-size-storage-calculation/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
