<?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>SELECT mysqlgenie FROM lamp; &#187; MySQL</title>
	<atom:link href="http://mysqlgenie.com/wordpress/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://mysqlgenie.com/wordpress</link>
	<description>The MySQL Genie -- Nicklas Westerlund</description>
	<lastBuildDate>Sat, 05 Mar 2011 06:16:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Time for an update</title>
		<link>http://mysqlgenie.com/wordpress/2010/06/time-for-an-update/</link>
		<comments>http://mysqlgenie.com/wordpress/2010/06/time-for-an-update/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:02:01 +0000</pubDate>
		<dc:creator>Nick Westerlund</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[EA]]></category>
		<category><![CDATA[innodb plugin]]></category>
		<category><![CDATA[open positions]]></category>

		<guid isPermaLink="false">http://mysqlgenie.com/wordpress/?p=76</guid>
		<description><![CDATA[Sorry all I have been very busy transitioning into my new position for the last couple of months. I want to just give a small note &#8211; it was very good to meet a bunch of you at the conference back in April! However, on to more serious business &#8211; I currently work for Electronic [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry all I have been very busy transitioning into my new position for the last couple of months.</p>
<p>I want to just give a small note &#8211; it was very good to meet a bunch of you at the conference back in April!</p>
<p>However, on to more serious business &#8211; I currently work for Electronic Arts, and at this point we are actually looking for Sr. MySQL DBA&#8217;s. So if you or someone you know is interested, feel free to email me directly at nwesterlund &#8211; at &#8211; ea.com . We will of course treat everything confidentially.  </p>
<p>On a different note &#8211; the InnoDB plugin rocks in performance compared to the built-in version! I have seen test results (from my own test) ranging from 15% to 70% performance improvement!  Good job there!</p>
]]></content:encoded>
			<wfw:commentRss>http://mysqlgenie.com/wordpress/2010/06/time-for-an-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forward &#8211; into the future</title>
		<link>http://mysqlgenie.com/wordpress/2010/01/forward-into-the-future/</link>
		<comments>http://mysqlgenie.com/wordpress/2010/01/forward-into-the-future/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:09:32 +0000</pubDate>
		<dc:creator>Nick Westerlund</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[community]]></category>

		<guid isPermaLink="false">http://mysqlgenie.com/wordpress/?p=69</guid>
		<description><![CDATA[Looking back at the short-term, it wasn&#8217;t long since MySQL was bought by Sun, and yesterday the deal with Oracle was finalized. I want to take this time to thank everyone involved in MySQL and the surrounding community for their hard work, and express my wishes that you look forward to the future and what [...]]]></description>
			<content:encoded><![CDATA[<p>Looking back at the short-term, it wasn&#8217;t long since MySQL was bought by Sun, and yesterday the deal with Oracle was finalized. </p>
<p>I want to take this time to thank everyone involved in MySQL and the surrounding community for their hard work, and express my wishes that you look forward to the future and what it might hold, I am sure it will be great. </p>
<p>I think that if done correctly, we as a community can benefit from these changes in the long run, so let&#8217;s look forward rather than backward. </p>
<p>On a sidenote, <a href="http://www.mysql.com">mysql.com</a> is quite slow today, perhaps as a result of high load due to masses of people wanting to check out the news. However, <a href="http://www.sun.com">sun.com</a> has now been redirected to Oracle.com. </p>
<p>Turns out however that things such as the documentation is still missing, hopefully it will return soon. As an example for what I mean, take a look at <a href="http://dev.mysql.com/doc/refman/5.1/en/numeric-types.html">the documentation</a> and you will notice that it is all empty.</p>
<p>So, to everyone, a happy 2010 and best wishes to Oracle.</p>
]]></content:encoded>
			<wfw:commentRss>http://mysqlgenie.com/wordpress/2010/01/forward-into-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Log Buffer #173: a Carnival of the Vanities for DBAs</title>
		<link>http://mysqlgenie.com/wordpress/2009/12/log-buffer-173-a-carnival-of-the-vanities-for-dbas/</link>
		<comments>http://mysqlgenie.com/wordpress/2009/12/log-buffer-173-a-carnival-of-the-vanities-for-dbas/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 17:00:18 +0000</pubDate>
		<dc:creator>Nick Westerlund</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[log buffer]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://mysqlgenie.com/wordpress/?p=50</guid>
		<description><![CDATA[Time keeps on moving and we&#8217;re now only one week from Christmas, when people spend time with their families and loved ones. But, that is in a week, today it is time for a new edition of Log Buffer, where we catch up on database blogs from across the world, starting with SQL Server. SQL [...]]]></description>
			<content:encoded><![CDATA[<p>Time keeps on moving and we&#8217;re now only one week from Christmas, when people spend time with their families and loved ones. But, that is in a week, today it is time for a new edition of <a href="http://www.pythian.com/news/about-log-buffer/">Log Buffer</a>, where we catch up on database blogs from across the world, starting with SQL Server. </p>
<p><strong>SQL Server</strong><br />
Over at <a href="http://blogs.lessthandot.com">Less Than Dot</a> Ted Krueger brings up the question of <a href="http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/the-good-the-bad-and-the-ugly-of-databas"> the good, the bad and the ugly of database design</a> where he says &#8220;In my career I have seen the ugly and then the really ugly but I found on this particular implementation it could get even uglier.&#8221;</p>
<p>Over at <a href="http://blogs.msdn.com/buckwoody">Carpe Datum</a> the question is if <a href="http://blogs.msdn.com/buckwoody/archive/2009/12/14/wizards-are-evil-wait-no-they-aren-t.aspx">wizards are evil or not</a> where we are encouraged to fix the wizards. </p>
<p>Ever wondered about how much space is available in tempdb? The friendly people over at <a href="http://blogs.msdn.com/sqlcat"> the Customer Advisory Team</a has published a way to <a href="http://blogs.msdn.com/sqlcat/archive/2009/12/14/monitoring-free-space-in-tempdb-transaction-log.aspx"> monitor free space in tempdb</a> where they remind us that &#8220;Usually, unused transaction log space is reclaimed in tempdb is when the transaction log runs 70% full or if a user initiated CHECKPOINT command is run.&#8221;</p>
<p><strong>Oracle</strong><br />
Now, let&#8217;s jump right ahead and take a look at what has been going on in the Oracle world this week.  Starting off with <a href="http://kerryosborne.oracle-guy.com">Kerry Osborne&#8217;s Oracle Blog</a> where we get a post on <a href="http://kerryosborne.oracle-guy.com/2009/12/tracking-parameter-changes">how to track changes to database parameters</a> although it hits some limits with diskspace, as Kerry states &#8220;So that&#8217;s 174G for AWR data for 7 years with 3 nodes and one hour snapshots!&#8221;</p>
<p>Sticking to AWR, <a href="http://oracledoug.com/serendipity/">Doug&#8217;s Oracle Blog</a> explains how you should never underestimate AWR, and what his <a href="http://oracledoug.com/serendipity/index.php?%2Farchives%2F1553-My-Favourite-Oracle-Blog.html">favourite oracle blog</a> this year was. This ties up nicely together with the previous post by Kerry.</p>
<p>Ever questioned just how good you are? How would you become an expert? Ever won DBA of the year awards? Husnu Sensoy has a post which he titled <a href="http://husnusensoy.wordpress.com/2009/12/13/how-to-become-an-oracle-expert">How to become an Oracle expert?</a>, in which he explains the love behind his job and how to find &#8211; and become &#8211; a master yourself.</p>
<p>Let&#8217;s take a look at queries, specifically how to <a href="http://blog.gerwinhendriksen.com/?p=182">change an outerjoin query to one without</a> as Gerwin explains in his blog <a href="http://blog.gerwinhendriksen.com">Home of General Approach Performance Profiling</a></p>
<p>Over at <a href="http://dbakevlar.blogspot.com">DBA Kevlar</a> Kellyn gives us a overview of the problems encountered by <a href="http://dbakevlar.blogspot.com/2009/12/ora-39726-unsupported-adddrop-column.html">ORA-14097: column type of size mismatch</a>. That&#8217;s one more bullet that the Kevlar managed to survive.</p>
<p><strong>MySQL</strong><br />
Now let&#8217;s take a look at the MySQL world. There&#8217;s really been two big things going on this week, one concerning Oracle/Sun and the EC (Including how that affects MySQL and all forks) and the other being that MySQL 5.5 is now released. Let&#8217;s dive right into it, shall we? </p>
<p>First of all, there will be a <a href="http://en.oreilly.com/mysql/">MySQL Conference</a> in April as usual, although not co-arranged with Sun.</p>
<p>Giuseppe provides a nice tutorial on <a href="http://datacharmer.blogspot.com/2009/12/getting-started-with-mysql-55.html">getting started with MySQL 5.5</a> on his blog, <a href="http://datacharmer.blogpost.com">The Data Charmer</a>, basically it boils down to the fact that the new release model is now in full swing.</p>
<p>Now, since 5.5 was released <a href="http://rpbouman.blogspot.com">Roland Bouman</a> gives us a quick look at the SIGNAL syntax in his blogpost on <a href="http://rpbouman.blogspot.com/2009/12/validating-mysql-data-entry-with_15.html?c=10">how to validate mysql data entry</a>. SIGNAL was introduced with the latest 5.5 milestone release (m2), and is an ANSI/ISO standard. </p>
<p>Innodb_io_capacity might be very tempting to tune, but take a look at what <a href="http://mysqlguy.net/blog">Jay</a> says about in a post where he <a href="http://mysqlguy.net/blog/2009/12/10/innodbiocapacity">reveals his results of testing</a> the parameter.</p>
<p>Over at <a href="http://blogs.gnome.org/mneptok">the indian wind along the telegraph lines</a> Kurt is trying to <a href="http://blogs.gnome.org/mneptok/2009/12/16/save-mysql-getting-some-facts-straight/">explain and set some facts straight</a> on the response after Monty issued his <a href="http://monty-says.blogspot.com/2009/12/help-saving-mysql.html">call for action</a>. Both of these posts has stirred up quite a lot of comments and emotions across the community.</p>
<p>Sheeri over at <a href="http://www.pythian.com/news">The Pythian Group</a> has voiced her opinion on <a href="http://www.pythian.com/news/6427/a-mysql-community-member-opinion-of-oracle-buying-sun/">Oracle buying Sun</a>. She also goes on saying &#8220;When others spread the fear, uncertainty and doubt that Oracle will somehow kill MySQL, I consider the source.&#8221;. And this is something that I personally agree with and share the same idea as Sheeri does. </p>
<p>That is all for this week folks, and I wish you a Merry Christmas in advance, and have a safe holiday! </p>
]]></content:encoded>
			<wfw:commentRss>http://mysqlgenie.com/wordpress/2009/12/log-buffer-173-a-carnival-of-the-vanities-for-dbas/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IO benchmarking for MySQL, part 1</title>
		<link>http://mysqlgenie.com/wordpress/2009/12/io-benchmarking-for-mysql-part-1/</link>
		<comments>http://mysqlgenie.com/wordpress/2009/12/io-benchmarking-for-mysql-part-1/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 17:43:53 +0000</pubDate>
		<dc:creator>Nick Westerlund</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[io]]></category>

		<guid isPermaLink="false">http://mysqlgenie.com/wordpress/?p=26</guid>
		<description><![CDATA[A while ago I started a project which will be heavily IO-bound on the MySQL Server, the testmachine allocated for this had a DAS with 15 disks (although I only used 14) connected via external SAS (standard 3Gb/s half-duplex or 6Gb/s full-duplex on two ports). I used sysbench for the tests, both fileio and oltp, [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I started a project which will be heavily IO-bound on the MySQL Server, the testmachine allocated for this had a DAS with 15 disks (although I only used 14) connected via external SAS (standard 3Gb/s half-duplex  or 6Gb/s full-duplex on two ports).</p>
<p>I used sysbench for the tests, both fileio and oltp, although these results will be based on the fileio results. The setup with the disks in RAID10 (7 raid 1 sets, then striping over them) and later RAID50 (2 raid 5 sets with 7 disks each, then striping over that), the latter yielding better results.</p>
<p>Let&#8217;s take a look at 1,2,4,8,16 and 128 concurrent clients, with different IO schedulers, although using XFS.<br />
The config for the raid controller was write-back, cached access, advanced readahead.  512MB battery backed cache on the controller. </p>
<p>Also, I tested both sequential reading (SEQRD in the graphs) and random read/write (RNDRW in the graphs) </p>
<div id="attachment_31" class="wp-caption alignnone" style="width: 360px"><a href="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/rndrwmbs1.png"><img src="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/rndrwmbs1.png" alt="Random Read-Write" title="rndrwmbs" width="350" height="294" class="size-full wp-image-31" /></a><p class="wp-caption-text">Random Read-Write</p></div>
<div id="attachment_32" class="wp-caption alignnone" style="width: 358px"><a href="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/seqrdmbs1.png"><img src="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/seqrdmbs1.png" alt="Sequential Reads" title="seqrdmbs" width="348" height="296" class="size-full wp-image-32" /></a><p class="wp-caption-text">Sequential Reads</p></div>
<p>So, in random access they were all quite bad, especially considering that I had expected better performance, but they were at least very close.  However, sequential reading was a field where noop did a much better job, as all the others started dropping off after 128 clients, but I reached a peak around 384 concurrent clients with noop (and a throughput of ~518Mb/sec) </p>
<p>Now, in August Vadim had a post about <a href="http://www.mysqlperformanceblog.com/2009/08/06/ec2ebs-single-and-raid-volumes-io-bencmark/">ec2/ebs IO benchmarking</a>, and the results that you will see below are better, but still not good enough in my mind, since I know that IO access on ec2/ebs is quite slow. </p>
<p>Anyway, let&#8217;s take a look at req/s and response time in ms, with 8 threads doing random read-write to keep the benchmark comparable with Vadim&#8217;s. </p>
<div id="attachment_39" class="wp-caption alignnone" style="width: 357px"><a href="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/reqms82.png"><img src="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/reqms82.png" alt="Req and ms" title="reqms8" width="347" height="295" class="size-full wp-image-39" /></a><p class="wp-caption-text">Req and ms</p></div>
<p>The latency here stayed pretty constant, and what is interesting is that the latency for each test was almost identical to each other as I scaled up the amount of threads as well. </p>
<p>One thing worth noting, was that with bonnie++, I would get similar results for one thread as I got with sysbench in the reading test, however, it turns out that linuxmesses around with device management even though it&#8217;s better off left to the controller in this case. </p>
<p>Take a look at this graph, which shows how much improvement you can get by using blockdev to change setra on linux even though that the raid controller should be responsible for that: </p>
<div id="attachment_44" class="wp-caption alignnone" style="width: 361px"><a href="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/blockdev4.png"><img src="http://mysqlgenie.com/wordpress/wp-content/uploads/2009/12/blockdev4.png" alt="tweaking" title="blockdev" width="351" height="299" class="size-full wp-image-44" /></a><p class="wp-caption-text">tweaking</p></div>
<p>In the next part, I will focus on finding the limits for each scheduler as well as see what is possible to get out of this array, but I am still waiting for additional hardware to arrive in order to do so.</p>
<p>As for which scheduler I recommend? For the workloads I tried with the oltp test, noop had the best results. These results will be published in the next part as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://mysqlgenie.com/wordpress/2009/12/io-benchmarking-for-mysql-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

