<?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: MySQL VIEW as performance troublemaker</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Adam</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-2/#comment-859674</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 19 Dec 2011 00:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-859674</guid>
		<description>Great article - was really trying to decide if views were worth using as I&#039;ve noticed the performance hit.
My database isn&#039;t so large and I&#039;m the only one using it so I think I&#039;ll just skip Views.
Might write PHP functions so I can easily re-run complex queries.

Would rather a fast complex query then a slow (but simpler to use) View.</description>
		<content:encoded><![CDATA[<p>Great article &#8211; was really trying to decide if views were worth using as I&#8217;ve noticed the performance hit.<br />
My database isn&#8217;t so large and I&#8217;m the only one using it so I think I&#8217;ll just skip Views.<br />
Might write PHP functions so I can easily re-run complex queries.</p>
<p>Would rather a fast complex query then a slow (but simpler to use) View.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marry</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-2/#comment-806986</link>
		<dc:creator>Marry</dc:creator>
		<pubDate>Thu, 21 Jul 2011 13:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-806986</guid>
		<description>My experience is that troubles with MySql always come up when there are peaks of traffic. It&#039;s for those peaks that you really have to optimize everything. Thanks for good advice, I&#039;ll keep it in mind.</description>
		<content:encoded><![CDATA[<p>My experience is that troubles with MySql always come up when there are peaks of traffic. It&#8217;s for those peaks that you really have to optimize everything. Thanks for good advice, I&#8217;ll keep it in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shelley</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-2/#comment-805081</link>
		<dc:creator>shelley</dc:creator>
		<pubDate>Tue, 19 Apr 2011 12:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-805081</guid>
		<description>The complete syntax of the CREATE VIEW command looks like this: 

CREATE [OR REPLACE] [ALGORITHM = UNDEFINED &#124; MERGE &#124; TEMPTABLE] 
VIEW name [(columnlist)] AS select command 
[WITH [CASCADED &#124; LOCAL] CHECK OPTION] 

ALGORITHM takes three values: MERGE, TEMPTABLE, or UNDEFINED.

By default, MySQL always uses UNDEFINED,  if no ALGORITHM clause is present  (can be  determined via SHOW CREATE TABLE viewname). 

Mysql prefers MERGE over TEMPTABLE if possible, because MERGE is usually more efficient.

// ***Views have slow performance on tables with large amount of data
http://bugs.mysql.com/bug.php?id=23135</description>
		<content:encoded><![CDATA[<p>The complete syntax of the CREATE VIEW command looks like this: </p>
<p>CREATE [OR REPLACE] [ALGORITHM = UNDEFINED | MERGE | TEMPTABLE]<br />
VIEW name [(columnlist)] AS select command<br />
[WITH [CASCADED | LOCAL] CHECK OPTION] </p>
<p>ALGORITHM takes three values: MERGE, TEMPTABLE, or UNDEFINED.</p>
<p>By default, MySQL always uses UNDEFINED,  if no ALGORITHM clause is present  (can be  determined via SHOW CREATE TABLE viewname). </p>
<p>Mysql prefers MERGE over TEMPTABLE if possible, because MERGE is usually more efficient.</p>
<p>// ***Views have slow performance on tables with large amount of data<br />
<a href="http://bugs.mysql.com/bug.php?id=23135" rel="nofollow">http://bugs.mysql.com/bug.php?id=23135</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sakamagra</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-800752</link>
		<dc:creator>Sakamagra</dc:creator>
		<pubDate>Thu, 03 Mar 2011 11:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-800752</guid>
		<description>i didnt encounter any problems when i was using the code what kind of server system do you use?</description>
		<content:encoded><![CDATA[<p>i didnt encounter any problems when i was using the code what kind of server system do you use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jelly</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-800723</link>
		<dc:creator>Jelly</dc:creator>
		<pubDate>Thu, 03 Mar 2011 07:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-800723</guid>
		<description>when i tried the code piece the last time it worked without any problems. now i wanted to use it on another project of mine but suddenly its seems not to work. but i have to say that i use a different server with other software now maybe there are some issues i hope i*&#039;ll figure it out soon.</description>
		<content:encoded><![CDATA[<p>when i tried the code piece the last time it worked without any problems. now i wanted to use it on another project of mine but suddenly its seems not to work. but i have to say that i use a different server with other software now maybe there are some issues i hope i*&#8217;ll figure it out soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-800232</link>
		<dc:creator>Kurt</dc:creator>
		<pubDate>Sun, 27 Feb 2011 16:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-800232</guid>
		<description>The code did work out fine when I have tried it...Maybe you have used the wrong code!Anyways great blog. Keep up the good work.</description>
		<content:encoded><![CDATA[<p>The code did work out fine when I have tried it&#8230;Maybe you have used the wrong code!Anyways great blog. Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Generika</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-793877</link>
		<dc:creator>Generika</dc:creator>
		<pubDate>Fri, 14 Jan 2011 08:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-793877</guid>
		<description>hmmmm i tried to use the sql code mentioned above but somehow i got an error in line 27 and i dont know where i did go wrong. i just copied it is the an error inside which i dont seE?</description>
		<content:encoded><![CDATA[<p>hmmmm i tried to use the sql code mentioned above but somehow i got an error in line 27 and i dont know where i did go wrong. i just copied it is the an error inside which i dont seE?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RakamaGraham</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-793562</link>
		<dc:creator>RakamaGraham</dc:creator>
		<pubDate>Wed, 12 Jan 2011 10:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-793562</guid>
		<description>i still got the same problem as mentioned before maybe someone can tell me how to solve it as i dont get it working. Would be nice if someone got mail me the answer or answer me in here. Thanks in advance</description>
		<content:encoded><![CDATA[<p>i still got the same problem as mentioned before maybe someone can tell me how to solve it as i dont get it working. Would be nice if someone got mail me the answer or answer me in here. Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhanesh mane</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-790334</link>
		<dc:creator>dhanesh mane</dc:creator>
		<pubDate>Wed, 29 Dec 2010 10:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-790334</guid>
		<description>very nice article, well as per my understanding Mysql views can be used for many reasons like to simplify complex queries and giving limited access data to the specific users. etc, I agree that there are few issues with it as long as performance is concerned but it also has great power.</description>
		<content:encoded><![CDATA[<p>very nice article, well as per my understanding Mysql views can be used for many reasons like to simplify complex queries and giving limited access data to the specific users. etc, I agree that there are few issues with it as long as performance is concerned but it also has great power.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RakamaGraham</title>
		<link>http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/comment-page-1/#comment-786011</link>
		<dc:creator>RakamaGraham</dc:creator>
		<pubDate>Thu, 09 Dec 2010 15:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/08/12/mysql-view-as-performance-troublemaker/#comment-786011</guid>
		<description>Roselan can you plz explain to me how you created the temp table as i dont know how to do it. Tried also to use view but that was really really slow so i cant use it. thanks for helping greetings Raka</description>
		<content:encoded><![CDATA[<p>Roselan can you plz explain to me how you created the temp table as i dont know how to do it. Tried also to use view but that was really really slow so i cant use it. thanks for helping greetings Raka</p>
]]></content:encoded>
	</item>
</channel>
</rss>

