<?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 extensions for hosting</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Percona RPMS for RedHat 5 / CentOS 5 x86_64 &#124; MySQL Performance Blog</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-338197</link>
		<dc:creator>Percona RPMS for RedHat 5 / CentOS 5 x86_64 &#124; MySQL Performance Blog</dc:creator>
		<pubDate>Fri, 01 Aug 2008 00:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-338197</guid>
		<description>[...] / Table / Index statistics (Google&#8217;s patch). More here http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/    Posted by Vadim @ 5:19 pm :: Innodb, percona, production &#160; &#160;Print This Post [...]</description>
		<content:encoded><![CDATA[<p>[...] / Table / Index statistics (Google&#8217;s patch). More here <a href="http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/" rel="nofollow">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/</a>    Posted by Vadim @ 5:19 pm :: Innodb, percona, production &nbsp; &nbsp;Print This Post [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-319443</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Sun, 29 Jun 2008 13:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-319443</guid>
		<description>mysqld crashes with this patch on query 
create table bbb SELECT * FROM aaa;
when table aaa does not exists

# mysql -A
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2817 to server version: 5.0.51b-log

Type &#039;help;&#039; or &#039;\h&#039; for help. Type &#039;\c&#039; to clear the buffer.

mysql&gt; create database foobar;
Query OK, 1 row affected (0.00 sec)

mysql&gt; use foobar
Database changed
mysql&gt; create table bbb SELECT * FROM aaa;
ERROR 2013 (HY000): Lost connection to MySQL server during query</description>
		<content:encoded><![CDATA[<p>mysqld crashes with this patch on query<br />
create table bbb SELECT * FROM aaa;<br />
when table aaa does not exists</p>
<p># mysql -A<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 2817 to server version: 5.0.51b-log</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the buffer.</p>
<p>mysql&gt; create database foobar;<br />
Query OK, 1 row affected (0.00 sec)</p>
<p>mysql&gt; use foobar<br />
Database changed<br />
mysql&gt; create table bbb SELECT * FROM aaa;<br />
ERROR 2013 (HY000): Lost connection to MySQL server during query</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287458</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 24 Apr 2008 22:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287458</guid>
		<description>Mark,

Here is the patch information:
http://www.mysqlperformanceblog.com/2007/10/31/new-patch-for-mysql-performance/

We only track IO for Innodb - for MyISAM it is kind of impossible to split logical IO from OS cache from physical IO from the media unless you know a way to check if logical pread required physical IO inside of OS :)</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Here is the patch information:<br />
<a href="http://www.mysqlperformanceblog.com/2007/10/31/new-patch-for-mysql-performance/" rel="nofollow">http://www.mysqlperformanceblog.com/2007/10/31/new-patch-for-mysql-performance/</a></p>
<p>We only track IO for Innodb &#8211; for MyISAM it is kind of impossible to split logical IO from OS cache from physical IO from the media unless you know a way to check if logical pread required physical IO inside of OS <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287298</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Thu, 24 Apr 2008 18:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287298</guid>
		<description>The costs for monitoring should be low and whatever you lose in monitoring overhead should be insignificant compared to what you can get back by identifying and then fixing users/statements that are causing load problems. Maybe Peter can write a tutorial on using this -- after identifying the problem user, the next step is to sample or log all statements they run to find the problem statements.</description>
		<content:encoded><![CDATA[<p>The costs for monitoring should be low and whatever you lose in monitoring overhead should be insignificant compared to what you can get back by identifying and then fixing users/statements that are causing load problems. Maybe Peter can write a tutorial on using this &#8212; after identifying the problem user, the next step is to sample or log all statements they run to find the problem statements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maciej Dobrzanski</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287272</link>
		<dc:creator>Maciej Dobrzanski</dc:creator>
		<pubDate>Thu, 24 Apr 2008 17:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287272</guid>
		<description>quaker,

Obviously as every extra code this will have some impact on performance, however these are mostly simple counters, so I would call it marginal. Though I have no chance to test it in the live environment such as you mention. As for the memory requirements these can be more significant with the numbers you give, looking briefly at the code the cost would probably not exceed 100 bytes per entry (for any of user, table or index statistics). However you can have the statis aggregated somewhere else once in a while and then flushed which erases all the information from memory.</description>
		<content:encoded><![CDATA[<p>quaker,</p>
<p>Obviously as every extra code this will have some impact on performance, however these are mostly simple counters, so I would call it marginal. Though I have no chance to test it in the live environment such as you mention. As for the memory requirements these can be more significant with the numbers you give, looking briefly at the code the cost would probably not exceed 100 bytes per entry (for any of user, table or index statistics). However you can have the statis aggregated somewhere else once in a while and then flushed which erases all the information from memory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Pipes</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287263</link>
		<dc:creator>Jay Pipes</dc:creator>
		<pubDate>Thu, 24 Apr 2008 16:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287263</guid>
		<description>You also may want to check this out: http://mattheaton.com/?p=130</description>
		<content:encoded><![CDATA[<p>You also may want to check this out: <a href="http://mattheaton.com/?p=130" rel="nofollow">http://mattheaton.com/?p=130</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Harper</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287261</link>
		<dc:creator>Tim Harper</dc:creator>
		<pubDate>Thu, 24 Apr 2008 16:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287261</guid>
		<description>That&#039;s hot!  Looks like a great way to profile which indexes are pulling their weight.</description>
		<content:encoded><![CDATA[<p>That&#8217;s hot!  Looks like a great way to profile which indexes are pulling their weight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287249</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Thu, 24 Apr 2008 16:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287249</guid>
		<description>It is nice to see another addition to the Percona Community Edition of MySQL (microslow patch, this, patch for IO statistics).

I may be biased, but I could not do without this feature. It makes it very easy to determine which users create the most load on the server and how that load changes over time. Once a load problem is isolated to one user, statement sampling can be used to determine the statements that may be causing the problem. I have been able to significantly reduce load on important servers with this by determining the statements that should be changed.

I think Percona published a patch that tracks IO by statement (can you reference that patch again). I hope to add a column for IO per user to SHOW USER_STATISTICS. I think that the patch left out FLUSH TABLE_STATISTICS, but that will be in a future patch.</description>
		<content:encoded><![CDATA[<p>It is nice to see another addition to the Percona Community Edition of MySQL (microslow patch, this, patch for IO statistics).</p>
<p>I may be biased, but I could not do without this feature. It makes it very easy to determine which users create the most load on the server and how that load changes over time. Once a load problem is isolated to one user, statement sampling can be used to determine the statements that may be causing the problem. I have been able to significantly reduce load on important servers with this by determining the statements that should be changed.</p>
<p>I think Percona published a patch that tracks IO by statement (can you reference that patch again). I hope to add a column for IO per user to SHOW USER_STATISTICS. I think that the patch left out FLUSH TABLE_STATISTICS, but that will be in a future patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quaker</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/comment-page-1/#comment-287122</link>
		<dc:creator>quaker</dc:creator>
		<pubDate>Thu, 24 Apr 2008 11:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/24/mysql-extensions-for-hosting/#comment-287122</guid>
		<description>Hello,

What about servers with 64k+ users (with one database per user), about 8k+ users active (sending at least one query per day). I&#039;m asking about performance penalty and extra memory usage.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>What about servers with 64k+ users (with one database per user), about 8k+ users active (sending at least one query per day). I&#8217;m asking about performance penalty and extra memory usage.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
