<?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>Create A Website &#187; mysql</title>
	<atom:link href="http://www.createwebsite.info/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.createwebsite.info</link>
	<description>yet another undecorated wordpress blog about web development</description>
	<lastBuildDate>Wed, 02 Jun 2010 00:26:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress Performance: Time Consuming MySQL Queries and Caching</title>
		<link>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/</link>
		<comments>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:29:20 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/</guid>
		<description><![CDATA[I have been looking at a client&#8217;s WordPress install the last few days. They have a large number of posts and page load times in general have been increasing. I installed some query logging based on the code in this article &#8230; Rails-Like SQL Query Logging in WordPress Checking over the logs it became obvious [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking at a client&#8217;s WordPress install the last few days. They have a large number of posts and page load times in general have been increasing. I installed some query logging based on the code in this article &#8230;<br />
<a href="http://www.bsdeluxe.com/2009/08/31/rails-like-sql-query-logging-in-wordpress/">Rails-Like SQL Query Logging in WordPress</a></p>
<p>Checking over the logs it became obvious that queries using SQL_CALC_FOUND_ROWS are a problem. Digging through code it appears that where a limit on results is used it uses this query modifier to allow simpler coding of paging. The problem is that since the main query to grab blog posts on the blog home page or any archive page uses this, on a large blog this becomes quite inefficient.</p>
<p>For now I have tweaked MySQL so that the <a href="http://dev.mysql.com/doc/refman/5.0/en/query-cache-configuration.html">MySQL Query Cache</a> is now larger. These articles were useful:<br />
<a href="http://www.mysqlperformanceblog.com/2006/07/27/mysql-query-cache/">MySQL Query Cache</a> (at MySQL Performance Blog)<br />
<a href="http://www.techiecorner.com/45/turn-on-mysql-query-cache-to-speed-up-mysql-query-performance/">Turn on MySQL query cache to speed up query performance?</a></p>
<p>Looking at the log after this change query times have dropped dramatically (from over 0.5 seconds and up to milliseconds). This has immediately improved performance of the blog and overall load on the server.</p>
<p>I am currently looking at some WP Caching API and plugins to further improve performance.</p>
<p>If you are looking for some more ways to speed up WordPress check out this article as a starting point:<br />
<a href="http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/">4+1 Ways To Speed Up WordPress With Caching</a></p>
<p>And &#8230; for myself &#8211; just so I remember:<br />
<a href="http://mrphp.com.au/code/code-category/miscellaneous/whm-cpanel/install-memcache-cpanel-running-centos">Install Memcache onto cPanel running CentOS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/wordpress-performance-time-consuming-mysql-queries-and-caching/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Presentation on Performance and Scalability</title>
		<link>http://www.createwebsite.info/presentation-on-performance-and-scalability/</link>
		<comments>http://www.createwebsite.info/presentation-on-performance-and-scalability/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 02:14:59 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[best practice]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/presentation-on-performance-and-scalability/</guid>
		<description><![CDATA[This is more a note to myself to read this &#8230; Real World Web: Performance &#38; Scalability:]]></description>
			<content:encoded><![CDATA[<p>This is more a note to myself to read this &#8230;</p>
<p>Real World Web: Performance &amp;  Scalability:<br />
 <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="doc_191294130007421" name="doc_191294130007421" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle"	height="500" width="100%" ><param name="movie"	value="http://d.scribd.com/ScribdViewer.swf?document_id=2569319&#038;access_key=key-hmtv7al4b6kq08y533b&#038;page=1&#038;version=1&#038;viewMode="><param name="quality" value="high"><param name="play" value="true"><param name="loop" value="true"><param name="scale" value="showall"><param name="wmode" value="opaque"><param name="devicefont" value="false"><param name="bgcolor" value="#ffffff"><param name="menu" value="true"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><param name="salign" value=""><embed src="http://d.scribd.com/ScribdViewer.swf?document_id=2569319&#038;access_key=key-hmtv7al4b6kq08y533b&#038;page=1&#038;version=1&#038;viewMode=" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="doc_191294130007421_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle"  height="500" width="100%"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/presentation-on-performance-and-scalability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip for Setting up Apache, MySQL and PHP on Vista</title>
		<link>http://www.createwebsite.info/tip-for-setting-up-apache-mysql-and-php-on-vista/</link>
		<comments>http://www.createwebsite.info/tip-for-setting-up-apache-mysql-and-php-on-vista/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 09:47:55 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/tip-for-setting-up-apache-mysql-and-php-on-vista/</guid>
		<description><![CDATA[Just setup a PHP/MySQL development server on my Vista-based laptop. Here is a good rundown of setting up a VAMP (Vista, Apache, MySQL, PHP) server from Devshed: Creating a VAMP The other thing to know, which this article skipped, is that you should run your text editor as administrator when editing the config files. If [...]]]></description>
			<content:encoded><![CDATA[<p>Just setup a PHP/MySQL development server on my Vista-based laptop.</p>
<p>Here is a good rundown of setting up a VAMP (Vista, Apache, MySQL, PHP) server from Devshed:<br />
<a href="http://www.devshed.com/c/a/Apache/Creating-a-VAMP-Vista-Apache-MySQL-PHP-Setup/">Creating a VAMP</a></p>
<p>The other thing to know, which this article skipped, is that you should run your text editor as administrator when editing the config files. If you don&#8217;t do this you won&#8217;t be editing the correct file (only your Users version of it which isn&#8217;t actually used by the system).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/tip-for-setting-up-apache-mysql-and-php-on-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great blog on MySQL performance &#8230;</title>
		<link>http://www.createwebsite.info/great-blog-on-mysql-performance/</link>
		<comments>http://www.createwebsite.info/great-blog-on-mysql-performance/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 21:22:20 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[best practice]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/great-blog-on-mysql-performance/</guid>
		<description><![CDATA[Some great stuff on getting the best performance out of MySQL &#8230; MySQL Performance Blog I have just been reading this &#8230; ORDER BY … LIMIT Performance Optimization. Pagination is used on just about every site I work on &#8211; that article is great on speeding up queries using ORDER BY and LIMIT.]]></description>
			<content:encoded><![CDATA[<p>Some great stuff on getting the best performance out of MySQL &#8230;<br />
<a href="http://www.mysqlperformanceblog.com/">MySQL Performance Blog</a></p>
<p>I have just been reading this &#8230;<br />
<a href="http://www.mysqlperformanceblog.com/2006/09/01/order-by-limit-performance-optimization/">ORDER BY … LIMIT Performance Optimization</a>. Pagination is used on just about every site I work on &#8211; that article is great on speeding up queries using ORDER BY and LIMIT.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/great-blog-on-mysql-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Having problems importing a large MySQL database? Try this &#8230;</title>
		<link>http://www.createwebsite.info/problem-importing-large-mysql-database/</link>
		<comments>http://www.createwebsite.info/problem-importing-large-mysql-database/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 07:02:34 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/problem-importing-large-mysql-database/</guid>
		<description><![CDATA[Bigdump is a PHP script that staggers the import of a large MySQL dump. It processes a small chunk and then refreshes. This continues until the database is fully imported. This is great for hosts that don&#8217;t give you access to ssh or who place restrictions on file uploads or server execution times. The only [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ozerov.de/bigdump.php">Bigdump</a> is a PHP script that staggers the import of a large MySQL dump. It processes a small chunk and then refreshes. This continues until the database is fully imported. This is great for hosts that don&#8217;t give you access to ssh or who place restrictions on file uploads or server execution times. </p>
<p>The only thing to configure is the database host, user, and password. Simply upload the dump file to the same directory as the bigdump file (use FTP or the built-in uploader) and then process that file. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/problem-importing-large-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing MySQL Database Perormance</title>
		<link>http://www.createwebsite.info/killing-mysql-database-perormance/</link>
		<comments>http://www.createwebsite.info/killing-mysql-database-perormance/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 11:53:25 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/killing-mysql-database-perormance/</guid>
		<description><![CDATA[Great presentation reviewing how to kill database performance. &#124; View &#124; Upload your own]]></description>
			<content:encoded><![CDATA[<p>Great presentation reviewing how to kill database performance.</p>
<div style="width:425px;text-align:left" id="__ss_245799"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=how-to-kill-mysql-performance-1201635569837936-3"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=how-to-kill-mysql-performance-1201635569837936-3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img src="http://static.slideshare.net/swf/logo_embd.png" style="border:0px none;margin-bottom:-5px" alt="SlideShare"/></a> | <a href="http://www.slideshare.net/techdude/how-to-kill-mysql-performance?src=embed" title="View 'How to Kill Mysql Performance' on SlideShare">View</a> | <a href="http://www.slideshare.net/upload?src=embed">Upload your own</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/killing-mysql-database-perormance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How not to optimize a MySQL query</title>
		<link>http://www.createwebsite.info/how-not-to-optimize-a-mysql-query/</link>
		<comments>http://www.createwebsite.info/how-not-to-optimize-a-mysql-query/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 22:41:55 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/how-not-to-optimize-a-mysql-query/</guid>
		<description><![CDATA[Response to a blog post on MySQL optimization. Has some good comments on using (or rather avoiding use of) SQL_SMALL_RESULT, HIGH/LOW_PRIORITY, and INSERT DELAYED. STRAIGHT_JOIN.read more &#124; digg story]]></description>
			<content:encoded><![CDATA[<p>Response to a blog post on MySQL optimization. Has some good comments on using (or rather avoiding use of) SQL_SMALL_RESULT, HIGH/LOW_PRIORITY, and INSERT DELAYED. STRAIGHT_JOIN.<br/><br/><a href="http://immike.net/blog/2007/04/09/how-not-to-optimize-a-mysql-query/">read more</a> | <a href="/linux_unix/How_not_to_optimize_a_MySQL_query">digg story</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/how-not-to-optimize-a-mysql-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and MySQL Optimization</title>
		<link>http://www.createwebsite.info/php-and-mysql-optimization/</link>
		<comments>http://www.createwebsite.info/php-and-mysql-optimization/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 02:19:15 +0000</pubDate>
		<dc:creator>create a website</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.createwebsite.info/php-and-mysql-optimization/</guid>
		<description><![CDATA[A list featuring a few very simple tips for optimizing php/mysql applications &#8230;read more &#124; digg story]]></description>
			<content:encoded><![CDATA[<p>A list featuring a few very simple tips for optimizing php/mysql applications &#8230;<br/><br/><a href="http://www.dublish.com/articles/10.html">read more</a> | <a href="/programming/Simple_Optimization_for_PHP_and_MySQL">digg story</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.createwebsite.info/php-and-mysql-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
