<?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 for Hosting Providers &#8211; how do they manage ?</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sun, 21 Mar 2010 02:39:05 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-473850</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 12 Feb 2009 20:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-473850</guid>
		<description>Alex,

If you produce high load  the best is to get dedicated server or VPS (where resource control is enforced).</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>If you produce high load  the best is to get dedicated server or VPS (where resource control is enforced).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Price</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-473593</link>
		<dc:creator>Alex Price</dc:creator>
		<pubDate>Thu, 12 Feb 2009 15:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-473593</guid>
		<description>I was with host monster but they kicked us off because our mysql queries were too long. Do you know of a web hosting place where we can have longer queries</description>
		<content:encoded><![CDATA[<p>I was with host monster but they kicked us off because our mysql queries were too long. Do you know of a web hosting place where we can have longer queries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-406412</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 10 Dec 2008 04:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-406412</guid>
		<description>Steven,

What do you mean ?  With SQL injection you can do all kind of nasty stuff.</description>
		<content:encoded><![CDATA[<p>Steven,</p>
<p>What do you mean ?  With SQL injection you can do all kind of nasty stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Roussey</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-406287</link>
		<dc:creator>Steven Roussey</dc:creator>
		<pubDate>Wed, 10 Dec 2008 03:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-406287</guid>
		<description>Could that example be used in a fashion for a sql injection?</description>
		<content:encoded><![CDATA[<p>Could that example be used in a fashion for a sql injection?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-402046</link>
		<dc:creator>Log Buffer</dc:creator>
		<pubDate>Fri, 05 Dec 2008 21:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-402046</guid>
		<description>&lt;a href=&quot;http://www.pythian.com/blogs/1413/log-buffer-126-a-carnival-of-the-vanities-for-dbas&quot; rel=&quot;nofollow&quot;&gt;Peter Zaitsev of the MySQL Performance Blog wondered how do MySQL hosting providers manage, when MySQL (including the 5.1 release) offers so little by way of resource limiting of users.&lt;/a&gt; -- Log Buffer #126</description>
		<content:encoded><![CDATA[<p><a href="http://www.pythian.com/blogs/1413/log-buffer-126-a-carnival-of-the-vanities-for-dbas" rel="nofollow">Peter Zaitsev of the MySQL Performance Blog wondered how do MySQL hosting providers manage, when MySQL (including the 5.1 release) offers so little by way of resource limiting of users.</a> &#8212; Log Buffer #126</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-399128</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 02 Dec 2008 03:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-399128</guid>
		<description>I agree,

Private MySQL, Private apache etc is better.   It is just question of resources.  Can you run few hundreds or thousands of such instances per box ?   And this is low cost market we look at in this case.</description>
		<content:encoded><![CDATA[<p>I agree,</p>
<p>Private MySQL, Private apache etc is better.   It is just question of resources.  Can you run few hundreds or thousands of such instances per box ?   And this is low cost market we look at in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Yang</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-399092</link>
		<dc:creator>Scott Yang</dc:creator>
		<pubDate>Tue, 02 Dec 2008 02:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-399092</guid>
		<description>One web hosting company that I host with (NearlyFreeSpeech.NET) gives a private instance of MySQL server to each customers (listening on standard port on a private IP address). It provides much better isolation than everyone shares the same MySQL process.</description>
		<content:encoded><![CDATA[<p>One web hosting company that I host with (NearlyFreeSpeech.NET) gives a private instance of MySQL server to each customers (listening on standard port on a private IP address). It provides much better isolation than everyone shares the same MySQL process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-396213</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 29 Nov 2008 19:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-396213</guid>
		<description>Michael,

mytop etc is good interactive tool You can sit  and watch it but it is not productive use of your time especially if you have 100+ servers.   I would say you can do the following

1) Have a script which will catch kill and report bad queries (taking too much).  When you can aggregate them to see if particular users are guilty. This is often done together with watching loadavg or other hosting metric. During low load you can just let queries run but in case server is overloaded you&#039;ve got to find a victim. 

2) Slow Query log (w up to microsecond resolution) are great to find out slow queries and queries causing the load... post factum.  Really helps if your goal to help users to reduce the load rather to punish them.

3) Google User Statistics found in Percona Extensions are very good way to monitor the load on per user and per table basics. 

Nothing of this deals with memory resource usage though.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>mytop etc is good interactive tool You can sit  and watch it but it is not productive use of your time especially if you have 100+ servers.   I would say you can do the following</p>
<p>1) Have a script which will catch kill and report bad queries (taking too much).  When you can aggregate them to see if particular users are guilty. This is often done together with watching loadavg or other hosting metric. During low load you can just let queries run but in case server is overloaded you&#8217;ve got to find a victim. </p>
<p>2) Slow Query log (w up to microsecond resolution) are great to find out slow queries and queries causing the load&#8230; post factum.  Really helps if your goal to help users to reduce the load rather to punish them.</p>
<p>3) Google User Statistics found in Percona Extensions are very good way to monitor the load on per user and per table basics. </p>
<p>Nothing of this deals with memory resource usage though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-396060</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 29 Nov 2008 13:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-396060</guid>
		<description>I actually work for a hosting company and I&#039;m not sure exactly how our monitoring team catches things but mytop is a very useful application along with the process list and slow query logs, etc.</description>
		<content:encoded><![CDATA[<p>I actually work for a hosting company and I&#8217;m not sure exactly how our monitoring team catches things but mytop is a very useful application along with the process list and slow query logs, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/28/mysql-for-hosting-providers-how-do-they-manage/comment-page-1/#comment-395749</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 29 Nov 2008 07:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=548#comment-395749</guid>
		<description>Tom,

This was example. Sure you can see SLEEP in processlist but What if you would do the sleep in the application instead ?  Try it and try to catch things in the processlist :) Also note it does not have to be pure SET assignment, you can create user variable as a side effect of the query to obfuscate things. 

As I mentioned before dealing with complex individual queries is easy...  And this is most typical unintentional way to overload MySQL :)

The Shell Access/PHP Access etc is solved on the different level - the process accounting, the MySQL is however single process shared by many users which makes it hard.

Regarding Shared Hosting...  it has its set and the price point. If you&#039;re selling hosting for $5-10 a month  you can&#039;t really get VPS running as it will take too much overhead.</description>
		<content:encoded><![CDATA[<p>Tom,</p>
<p>This was example. Sure you can see SLEEP in processlist but What if you would do the sleep in the application instead ?  Try it and try to catch things in the processlist <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also note it does not have to be pure SET assignment, you can create user variable as a side effect of the query to obfuscate things. </p>
<p>As I mentioned before dealing with complex individual queries is easy&#8230;  And this is most typical unintentional way to overload MySQL <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The Shell Access/PHP Access etc is solved on the different level &#8211; the process accounting, the MySQL is however single process shared by many users which makes it hard.</p>
<p>Regarding Shared Hosting&#8230;  it has its set and the price point. If you&#8217;re selling hosting for $5-10 a month  you can&#8217;t really get VPS running as it will take too much overhead.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
