<?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>MyISAM &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/myisam/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.4</generator>
	<item>
		<title>Database Theory: What is difference between MySQL and PostgreSQL?</title>
		<link>https://www.dbrnd.com/2016/12/database-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 01 Dec 2016 03:34:20 +0000</pubDate>
				<category><![CDATA[Database Theory]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[concurrency]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database concept]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[database standards]]></category>
		<category><![CDATA[database topic]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[Multi version concurrency control]]></category>
		<category><![CDATA[MVCC]]></category>
		<category><![CDATA[MyISAM]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[RDBMS]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[security]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3960</guid>

					<description><![CDATA[As a database professional, I work with both databases on a regular basis, and I typically use all the features of both databases for design and implementation. I have got many replies to write about the core differences between PostgreSQL and MySQL. As innovation on these databases has progressed, each development community has actively made [&#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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&amp;linkname=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" 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%2F12%2Fdatabase-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance%2F&#038;title=Database%20Theory%3A%20What%20is%20difference%20between%20MySQL%20and%20PostgreSQL%3F" data-a2a-url="https://www.dbrnd.com/2016/12/database-theory-what-is-difference-between-mysql-and-postgresql-relational-database-system-concurrency-performance/" data-a2a-title="Database Theory: What is difference between MySQL and PostgreSQL?"></a></p><p><em>As a database professional, I work with both databases on a regular basis, and I typically use all the features of   both databases for design and implementation.<br />
I have got many replies to write about the core differences between PostgreSQL and MySQL. </p>
<p>As innovation on these databases has progressed, each development community has actively made changes to address their respective sets of perceived disadvantages.<br />
The result that it has gotten more difficult to objectively determine which database is likely to be better suited for a given application. </em></p>
<blockquote><p>MySQL is controlled by Oracle, whereas Postgres is available under an open-source license from the PostgreSQL Global Development Group.</p></blockquote>
<blockquote><p>PostgreSQL is closer to the ANSI SQL standard, MySQL is closer to the ODBC standard.</p></blockquote>
<blockquote><p>One of the most notable differences between MySQL and PostgreSQL is the fact that you can’t do nested subqueries of subselects in MySQL. MySQL doesn’t support CTE, window functions, full outer joins and arrays. </p></blockquote>
<blockquote><p>Compare to PostgreSQL, MySQL has its own large user community and various type of materials.</p></blockquote>
<blockquote><p>MySQL uses nonstandard &#8216;#&#8217; to begin a comment line and PostgreSQL use &#8216;&#8211;&#8216; to begin a comment line.</p></blockquote>
<blockquote><p>MySQL provides different type of table storage engines like: InnoDB, MyIsam, Memory. PostgreSQL does not provide different type of table stroage engines.
</p></blockquote>
<blockquote><p>PostgreSQL is case-sensitive for string comparisons. The field &#8220;DbRnd&#8221; is not the same as the field &#8220;dbrnd&#8221;. This is a big change for many users from MySQL and other small database systems.</p></blockquote>
<blockquote><p>PostgreSQL has some nice features like: generate_series, custom aggregate functions, arrays etc. other hand MySQL has also some nice feature like: session variables in queries, FORCE INDEX, etc.</p></blockquote>
<blockquote><p>In PostgreSQL, when you are inside a transaction almost any operation can be undone. There are some irreversible operations (like creating or destroying a database or tablespace), but normal table modifications can be backed out by issuing a ROLLBACK via its Write-Ahead Log design.</p>
<p>MySQL doesn&#8217;t support any sort of rollback when using MyISAM. With InnoDB, the server has an implicit commit that occurs even if the normal auto-commit behavior is turned off. This means that any single table alteration or similar change is immediately committed.</p></blockquote>
<blockquote><p>Postgres obliterates MySQL in all manner of query-level goodness, and we can use Postgres for data mining and batch analytics databases, where we run lots of very large, hand-coded queries that can take advantage of Postgres’ advantages in join methods (MySQL only supports Nested Loop and Nested Loop over Index, while Postgres supports numerous methods), generally richer querying capabilities, and other good stuff like partial indexes can be used extensively.</p></blockquote>
<blockquote><p>PostgreSQL uses a robust locking model called MVCC that limits situations where individual clients interfere with each other. A short summary of the main benefit of MVCC would be &#8220;readers are never blocked by writers&#8221;.</p>
<p>MySQL&#8217;s InnoDB implements MVCC using a rollback segment and InnoDB databases supports all four SQL standard transaction isolation levels.
</p></blockquote>
<blockquote><p>PostgreSQL uses cost-based query optimization methods in order to get good performance for many different types of joins. Query costs are assessed based on planner statistics collected when tables are analyzed combined with adjustable planner costs and advanced features such as the Genetic Query Optimizer.</p>
<p>MySQL doesn&#8217;t have this level of sophistication in its planner, and the tunables for Controlling Query Optimizer Performance are crude. Developers instead do things like explicitly provide index hints to make sure joins are executed correctly.</p></blockquote>
<blockquote><p>PostgreSQL has different replication options than MySQL. MySQL has no point-in-time recovery.</p></blockquote>
<blockquote><p>One operation that PostgreSQL is known to be slow performing is doing a full count of rows in a table, typically using this SQL:</p>
<pre class="crayon-plain-tag">SELECT COUNT(*) FROM your_table_name;</pre> </p>
<p>The reason why this is slow is related to the MVCC implementation in PostgreSQL. The fact that multiple transactions can see different states of the data means that there can be no straightforward way for &#8220;COUNT(*)&#8221; to summarize data across the whole table; PostgreSQL must walk through all rows, in some sense.</p>
<p>In MySQL, MyISAM tables cache the row count information, making this type of count operation almost instant. But if you&#8217;re using InnoDB instead, this is no longer the case and on InnoDB can&#8217;t assume that a full row count will be fast.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
		<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>
		<item>
		<title>MySQL: The Main difference between InnoDB and MyISAM</title>
		<link>https://www.dbrnd.com/2015/11/mysql-the-main-difference-between-innodb-and-myisam/</link>
					<comments>https://www.dbrnd.com/2015/11/mysql-the-main-difference-between-innodb-and-myisam/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 26 Nov 2015 16:08:57 +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[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>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=1103</guid>

					<description><![CDATA[InnoDB: InnoDB implements row-level. InnoDB has better crash recovery option. FULLTEXT Search indexes doesn&#8217;t support until v5.6. Implemented transactions, foreign keys and relationship constraints. ACID Properties is supported. It has Buffer Pool to cache data and index pages. You can take backup of InnoDB tables using just a snapshot of the filesystem. MyISAM: MyISAM can [&#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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&amp;linkname=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" 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%2F11%2Fmysql-the-main-difference-between-innodb-and-myisam%2F&#038;title=MySQL%3A%20The%20Main%20difference%20between%20InnoDB%20and%20MyISAM" data-a2a-url="https://www.dbrnd.com/2015/11/mysql-the-main-difference-between-innodb-and-myisam/" data-a2a-title="MySQL: The Main difference between InnoDB and MyISAM"></a></p><p><strong>InnoDB:</strong></p>
<ul>
<li>InnoDB implements row-level.</li>
<li>InnoDB has better crash recovery option.</li>
<li>FULLTEXT Search indexes doesn&#8217;t support until v5.6.</li>
<li>Implemented transactions, foreign keys and relationship constraints.</li>
<li>ACID Properties is supported.</li>
<li>It has Buffer Pool to cache data and index pages.</li>
<li>You can take backup of InnoDB tables using just a snapshot of the filesystem.</li>
</ul>
<p><strong>MyISAM:</strong></p>
<ul>
<li>MyISAM can do only a table-level lock.</li>
<li>FULLTEXT Search is supported.</li>
<li>The main mechanism used is the key cache. It only caches index pages from .MYI files.</li>
<li>ACID Properties is not supported.</li>
<li>COUNT(*) performance is very fast.</li>
<li>Supported high level table compression.</li>
<li>You require mysqldump to take backup of MyIsam table.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/11/mysql-the-main-difference-between-innodb-and-myisam/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
