<?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>Xaprb &#187; MySQL Enterprise Monitor</title>
	<atom:link href="http://www.xaprb.com/blog/tag/mysql-enterprise-monitor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 10:55:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Would Tufte approve of mixing units on a graph?</title>
		<link>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/</link>
		<comments>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:58:22 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Edward Tufte]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Enterprise Monitor]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=603</guid>
		<description><![CDATA[I&#8217;ve created a set of Cacti templates for graphing stats about MySQL. While these were based on several other people&#8217;s work, there are many improvements. One of them in particular I want to bring up, and I&#8217;ll go so far as to say it ought to be a &#8220;best practice&#8221; for graphing. That is, don&#8217;t [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/03/22/whats-the-best-way-to-choose-graph-colors/' rel='bookmark' title='Permanent Link: What&#8217;s the best way to choose graph colors?'>What&#8217;s the best way to choose graph colors?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/04/20/version-1-1-7-of-better-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.7 of Better Cacti Templates released'>Version 1.1.7 of Better Cacti Templates released</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/25/a-better-way-to-build-cacti-templates/' rel='bookmark' title='Permanent Link: A better way to build Cacti templates'>A better way to build Cacti templates</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/25/secure-easy-cacti-graphing-without-snmp/' rel='bookmark' title='Permanent Link: Secure, easy Cacti graphing without SNMP'>Secure, easy Cacti graphing without SNMP</a></li>
<li><a href='http://www.xaprb.com/blog/2009/05/07/version-112-of-improved-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.2 of improved Cacti templates released'>Version 1.1.2 of improved Cacti templates released</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a set of <a href="http://code.google.com/p/mysql-cacti-templates/">Cacti templates for graphing stats about MySQL</a>.  While these were based on several other people&#8217;s work, there are many improvements.  One of them in particular I want to bring up, and I&#8217;ll go so far as to say it ought to be a &#8220;best practice&#8221; for graphing.  That is, don&#8217;t mix units on a graph.</p>

<span id="more-603"></span>

<p>In the simplest terms, this means that just because things are related doesn&#8217;t mean they belong together.  I made an effort to separate things onto different graphs when they have different units.  For example, the query cache metrics don&#8217;t all belong together.  There are memory metrics, there are block metrics, and there are metrics about queries.  If you jam them all together, the differences in the units will cause various graphs to obliterate each other.  Some values are much larger than others, and that&#8217;ll cause some values to be minuscule on the graph.</p>

<p>The graph templates that inspired me to create mine mashed them all together and then scaled things <a href="http://www.xkcd.com/485/">logarithmically</a> to compensate for the resulting problems.  This does not address the root of the matter.  By contrast, my templates split them apart, so all the things whose unit is &#8220;query&#8221; are on one graph together.  Then I looked at the remaining stats (units: blocks and units: bytes) and decided that in the interest of not having way too many graphs, I&#8217;d put them together.  I&#8217;m still not sure this was a great idea, and I have a nagging Tufte voice in my head.  Anyway, I tried to strike a balance in this specific case, but in general I kept things separate.</p>

<p>One of the great things about Cacti is that you can graph whatever you want.  You can graph the temperature on your server&#8217;s hard drives, or the Dow Jones Industrial Average, or whatever.  So you can have a single graphing solution for your whole company&#8217;s needs.  By contrast, MySQL Enterprise Monitor is focused on a single purpose.  So it should do a really good job at it, right?  Actually, no, they get it wrong too &#8212; they mix units.  Here you can see exactly the effect I&#8217;m talking about; one value can obliterate the other.  (You get points if you guess what&#8217;s going on in this graph.)</p>

<div id="attachment_608" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.xaprb.com/blog/wp-content/uploads/2008/10/mysql-enterprise-monitor-query-cache.png"><img src="http://www.xaprb.com/blog/wp-content/uploads/2008/10/mysql-enterprise-monitor-query-cache-300x121.png" alt="MySQL Enterprise Monitor Query Cache Graph" title="mysql-enterprise-monitor-query-cache" width="300" height="121" class="size-medium wp-image-608" /></a><p class="wp-caption-text">MySQL Enterprise Monitor Query Cache Graph</p></div>

<p>I&#8217;ve tried to make the Cacti templates for MySQL as useful as possible, and judging by the graphs I see on client sites (these templates are quite popular, independent of me or my employer) they do a pretty good job.  There&#8217;s still room for improvement, though.  I&#8217;m adding more carefully selected bits of  information into the graphs, and making them more robust to deal with bizarre errors that happen in real life.  And of course, always finding new ways to work around the limitations of PHP and Cacti, both of which have their quirks.</p>

<p>Are there wishes you have for these graphs, too?  If so, <a href="http://code.google.com/p/mysql-cacti-templates/issues/list">submit an issue report on the Google Code project</a>.  Just don&#8217;t ask me to graph unrelated things together, OK?</p>

<p>PS: sometimes things with the same units are still much bigger or smaller than each other.  That&#8217;s why my templates always print out the values in numbers along the bottom of the graph, so you can see the magnitude of the values, not just look at the lines.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/03/22/whats-the-best-way-to-choose-graph-colors/' rel='bookmark' title='Permanent Link: What&#8217;s the best way to choose graph colors?'>What&#8217;s the best way to choose graph colors?</a></li>
<li><a href='http://www.xaprb.com/blog/2010/04/20/version-1-1-7-of-better-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.7 of Better Cacti Templates released'>Version 1.1.7 of Better Cacti Templates released</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/25/a-better-way-to-build-cacti-templates/' rel='bookmark' title='Permanent Link: A better way to build Cacti templates'>A better way to build Cacti templates</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/25/secure-easy-cacti-graphing-without-snmp/' rel='bookmark' title='Permanent Link: Secure, easy Cacti graphing without SNMP'>Secure, easy Cacti graphing without SNMP</a></li>
<li><a href='http://www.xaprb.com/blog/2009/05/07/version-112-of-improved-cacti-templates-released/' rel='bookmark' title='Permanent Link: Version 1.1.2 of improved Cacti templates released'>Version 1.1.2 of improved Cacti templates released</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/10/09/would-tufte-approve-of-mixing-units-on-a-graph/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How much memory does MySQL Enterprise Monitor&#8217;s agent use?</title>
		<link>http://www.xaprb.com/blog/2008/08/26/how-much-memory-does-mysql-enterprise-monitors-agent-use/</link>
		<comments>http://www.xaprb.com/blog/2008/08/26/how-much-memory-does-mysql-enterprise-monitors-agent-use/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 19:14:13 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[MONyog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Enterprise Monitor]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/08/26/how-much-memory-does-mysql-enterprise-monitors-agent-use/</guid>
		<description><![CDATA[After last week&#8217;s post on agents versus agentless monitoring systems, I got a lot of email. One, from a customer whose name I am not permitted to mention, sent me the following action shot (posted with permission): Over half a gigabyte; more than twice what MySQL itself is using. So, that raises an interesting question. [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/08/21/is-agent-based-or-agentless-monitoring-best/' rel='bookmark' title='Permanent Link: Is agent-based or agentless monitoring best?'>Is agent-based or agentless monitoring best?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/10/how-to-set-up-dual-monitors-in-ubuntu-on-dell-inspiron-1501/' rel='bookmark' title='Permanent Link: How to set up dual monitors in Ubuntu on Dell Inspiron 1501'>How to set up dual monitors in Ubuntu on Dell Inspiron 1501</a></li>
<li><a href='http://www.xaprb.com/blog/2007/04/05/mysql-table-sync-vs-sqlyog-job-agent/' rel='bookmark' title='Permanent Link: MySQL Table Sync vs. SQLyog Job Agent'>MySQL Table Sync vs. SQLyog Job Agent</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/19/mk-query-digest-uses-less-memory/' rel='bookmark' title='Permanent Link: mk-query-digest uses less memory'>mk-query-digest uses less memory</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/12/what-would-make-me-buy-mysql-enterprise/' rel='bookmark' title='Permanent Link: What would make me buy MySQL Enterprise?'>What would make me buy MySQL Enterprise?</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>After last week&#8217;s post on <a href="http://www.xaprb.com/blog/2008/08/21/is-agent-based-or-agentless-monitoring-best/">agents versus agentless monitoring systems</a>, I got a lot of email.  One, from a customer whose name I am not permitted to mention, sent me the following action shot (posted with permission):</p>

<p><img src='http://www.xaprb.com/blog/wp-content/uploads/2008/08/mysql-enterprise-monitor.jpg' alt='MySQL Enterprise Monitor Memory Usage' /></p>

<span id="more-559"></span>

<p>Over half a gigabyte; more than twice what MySQL itself is using.  So, that raises an interesting question.  How much memory would you say your server&#8217;s <a href="http://www.mysql.com/">MySQL Enterprise Monitor</a> agent uses?  No bashing allowed, tell the truth.  And please post if your agent runs in a small amount of memory, too.</p>

<p>Another thing I&#8217;m interested in: what factors contribute to the high memory usage?  Under what conditions does it use a lot or a little?  What can you expect, generally speaking?</p>

<p>On another note,  I think it&#8217;s almost unfair not to mention the competition, so I will: I was playing with <a href="http://www.webyog.com/">MONyog</a> 2.6 recently and it started to use a lot of CPU. I think it might be architecture-specific (amd64 Ubuntu) but I can&#8217;t be sure.  It was using 170% CPU on my dual-core system to monitor 2 instances.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/08/21/is-agent-based-or-agentless-monitoring-best/' rel='bookmark' title='Permanent Link: Is agent-based or agentless monitoring best?'>Is agent-based or agentless monitoring best?</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/10/how-to-set-up-dual-monitors-in-ubuntu-on-dell-inspiron-1501/' rel='bookmark' title='Permanent Link: How to set up dual monitors in Ubuntu on Dell Inspiron 1501'>How to set up dual monitors in Ubuntu on Dell Inspiron 1501</a></li>
<li><a href='http://www.xaprb.com/blog/2007/04/05/mysql-table-sync-vs-sqlyog-job-agent/' rel='bookmark' title='Permanent Link: MySQL Table Sync vs. SQLyog Job Agent'>MySQL Table Sync vs. SQLyog Job Agent</a></li>
<li><a href='http://www.xaprb.com/blog/2010/05/19/mk-query-digest-uses-less-memory/' rel='bookmark' title='Permanent Link: mk-query-digest uses less memory'>mk-query-digest uses less memory</a></li>
<li><a href='http://www.xaprb.com/blog/2007/08/12/what-would-make-me-buy-mysql-enterprise/' rel='bookmark' title='Permanent Link: What would make me buy MySQL Enterprise?'>What would make me buy MySQL Enterprise?</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/08/26/how-much-memory-does-mysql-enterprise-monitors-agent-use/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

