<?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; mysqluc2008</title>
	<atom:link href="http://www.xaprb.com/blog/tag/mysqluc2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:58:56 +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>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</title>
		<link>http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/</link>
		<comments>http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 13:35:15 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Baron Schwartz]]></category>
		<category><![CDATA[Barton George]]></category>
		<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[mysqluc08]]></category>
		<category><![CDATA[mysqluc2008]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/</guid>
		<description><![CDATA[I did an interview with Barton George from Sun while I was at the conference last week. Barton has now posted the interview. If you&#8217;re quick, you can listen to it before I do. Topics: everything and anything, including Maatkit and PostgreSQL. Further Reading:MySQL Conference and Expo 2008, Day One MySQL Conference and Expo 2008, [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/23/like-it-or-not-it-is-the-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: Like it or not, it is the MySQL Conference and Expo'>Like it or not, it is the MySQL Conference and Expo</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I did an interview with <a href="http://blogs.sun.com/barton808/">Barton George from Sun</a> while I was at the conference last week.  <a href="http://blogs.sun.com/barton808/entry/mysql_conf08_talkin_to_baron">Barton has now posted the interview</a>.  If you&#8217;re quick, you can listen to it before I do.</p>

<p>Topics: everything and anything, including Maatkit and PostgreSQL.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/23/like-it-or-not-it-is-the-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: Like it or not, it is the MySQL Conference and Expo'>Like it or not, it is the MySQL Conference and Expo</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Conference and Expo 2008, Day Three</title>
		<link>http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/</link>
		<comments>http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 05:22:31 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Dathan Pattishall]]></category>
		<category><![CDATA[Farhan Mashraqi]]></category>
		<category><![CDATA[GET_LOCK]]></category>
		<category><![CDATA[InnoDB]]></category>
		<category><![CDATA[Lucene]]></category>
		<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[Mark Callaghan]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[myisam]]></category>
		<category><![CDATA[mysqluc2008]]></category>
		<category><![CDATA[Paul McCullagh]]></category>
		<category><![CDATA[pbxt]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/</guid>
		<description><![CDATA[Here&#8217;s a rundown of Thursday (day 3) of the MySQL Conference and Expo. This day&#8217;s sessions were much more interesting to me than Wednesday&#8217;s, and in fact I wanted to go to several of them in a single time slot a couple of times. Inside the PBXT Storage Engine This session was, as it sounds, [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/11/sessions-of-interest-at-mysql-conference-and-expo-2009/' rel='bookmark' title='Permanent Link: Sessions of interest at MySQL Conference and Expo 2009'>Sessions of interest at MySQL Conference and Expo 2009</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a rundown of Thursday (day 3) of the MySQL Conference and Expo.  This day&#8217;s sessions were much more interesting to me than Wednesday&#8217;s, and in fact I wanted to go to several of them in a single time slot a couple of times.</p>

<h3>Inside the PBXT Storage Engine</h3>

<p>This session was, as it sounds, a look at the internals of <a href="http://www.primebase.org/">PBXT</a>, a transactional storage engine for MySQL that has some interesting design techniques.  I had been looking forward to this session for a while, and Paul McCullagh&#8217;s nice explanations with clear diagrams were a welcome aid to understanding how PBXT works.  Unlike some of the other storage engines, PBXT is being developed in full daylight, with an emphasis on community involvement and input.  (Indeed, I may be contributing to it myself, in order to make its monitoring and tuning capabilities second to none).</p>

<p>PBXT has not only a unique design, but a clear vision for differentiating itself from other transactional storage engines.  It&#8217;s not trying to clone any particular engine; Paul and friends are planning to add some capabilities that will really set it apart from other engines, including high-availability features and blob streaming.</p>

<p>I left this session with a much better understanding of how PBXT balances various demands to satisfy all sorts of different workload characteristics, how it writes data, how it achieves transactional durability, and so on.  I think these capabilities, and its performance, can really be assessed only in the real world (of course), but in principle it sounds good.  I love knowing how things work!</p>

<p>There were about 30 people in the talk.  I wish there had been more, because I think PBXT is going to be an important part of the open ecosystem going forward.  However, I feel pretty confident people will take more notice if it starts to get used in the real world.  Someone had a video camera there, so you might check out the video when it&#8217;s available.  Paul&#8217;s explanations are really good.</p>

<h3>Helping InnoDB Scale on Servers with Many CPU Cores and Disks</h3>

<p>This session was <a href="http://mysqlha.blogspot.com/2008/04/innodb-scales-on-big-smp-servers.html">Mark Callaghan&#8217;s chance to unveil the work he and others have been doing on InnoDB&#8217;s scalability issues</a>, which mostly revolve around mutex contention.  Mark&#8217;s team has completely solved the problems on their workload and benchmarks.  In fact, after the changes, InnoDB exhibited significantly better performance even than <a href="http://www.mysqlperformanceblog.com/2007/10/12/myisam-scalability-and-innodb-falcon-benchmarks/">MyISAM, which began to be limited by the single mutex that synchronizes access to its key cache</a>.  (Yes, in fact MyISAM has scalability problems too).</p>

<p>Google&#8217;s workload for MySQL, in case you&#8217;re wondering, is pretty traditional (i.e. not web-like; more like an &#8220;enterprise&#8221; application).  Heavily I/O-bound, 24/7 critical systems, and so on.</p>

<p>Mark also wore several community t-shirts at various points in the talk, including one of my <a href="http://www.maatkit.org/">Maatkit</a> t-shirts.  Mark said Maatkit would be perfect if only it were written in Python (Google&#8217;s preferred scripting language).  Alas, Mark, it&#8217;ll stay in Perl.  But thanks for the nice compliment anyway.</p>

<p>The room was packed full.</p>

<h3>Scaling Heavy Concurrent Writes In Real Time</h3>

<p><a href="http://mysqldba.blogspot.com/">Dathan Pattishall</a>, formerly the lead architect at Flickr, explained his techniques for scaling Flickr&#8217;s write capacity.  He talked about how he&#8217;d worked to reduce primary key sizes, queued writes for batching, separated different types of data into different types of tables, and more.  Dathan has never been afraid to do what he thinks is a good idea, even if it flies in the face of &#8220;best practices,&#8221; so I was happy to finally hear him talk.</p>

<p>By the way, Dathan pointed out that distributed locking with <a href="http://www.danga.com/memcached/">memcached</a> and <code>add()</code> isn&#8217;t a silver bullet.  It works ok until memcached evicts your lock due to the LRU policy.  He uses MySQL&#8217;s built-in <code>GET_LOCK()</code> function for locking.</p>

<p>Dathan&#8217;s blog is a good source of information about his sometimes unorthodox approaches to database design.</p>

<h3>The Power of Lucene</h3>

<p>This was the only one of <a href="http://mysqldatabaseadministration.blogspot.com/">Frank (Farhan) Mashraqi&#8217;s</a> talks I got to attend.  This was pretty technical: how <a href="http://lucene.apache.org/">Lucene</a> works, how to configure and install it, how to index documents, how to execute searches.  If you were wondering how much work and complexity it would be to install and use Lucene, this talk would have been good for you to attend; I&#8217;ve never used it myself, but I&#8217;m pretty sure Frank covered everything you need to know.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2009/04/11/sessions-of-interest-at-mysql-conference-and-expo-2009/' rel='bookmark' title='Permanent Link: Sessions of interest at MySQL Conference and Expo 2009'>Sessions of interest at MySQL Conference and Expo 2009</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Conference and Expo 2008, Day Two</title>
		<link>http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/</link>
		<comments>http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 17:01:02 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Brian Aker]]></category>
		<category><![CDATA[EnterpriseDB]]></category>
		<category><![CDATA[Falcon]]></category>
		<category><![CDATA[Grazr]]></category>
		<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[Maria]]></category>
		<category><![CDATA[mysqluc2008]]></category>
		<category><![CDATA[Patrick Galbraith]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[query cache]]></category>
		<category><![CDATA[Tokutek]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/</guid>
		<description><![CDATA[Day two of the conference was a little disappointing, as far as sessions went. There were several time blocks where I simply wasn&#8217;t interested in any of the sessions. Instead, I went to the expo hall and tried to pry straight answers out of sly salespeople. Here&#8217;s what I attended. Paying It Forward: Harnessing the [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/23/like-it-or-not-it-is-the-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: Like it or not, it is the MySQL Conference and Expo'>Like it or not, it is the MySQL Conference and Expo</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Day two of the conference was a little disappointing, as far as sessions went.  There were several time blocks where I simply wasn&#8217;t interested in any of the sessions.  Instead, I went to the expo hall and tried to pry straight answers out of sly salespeople.  Here&#8217;s what I attended.</p>

<h3>Paying It Forward: Harnessing the MySQL Contributory Resources</h3>

<p>This was a talk focused on how MySQL has made it possible for community members to contribute to MySQL.  There was quite a bit of talk about IRC channels, mailing lists, and the like.  However, the talk gave short shrift to how MySQL plans to become  truly open source (in terms of its development model, not its license).  I think there was basically nothing to talk about there.  I had a good conversation about some of my concerns with the speaker and some others from MySQL right afterwards.</p>

<p>There was basically nobody there &#8212; I didn&#8217;t count, but I&#8217;d say maybe 10 or 12 people.  I think this is a telling sign.</p>

<h3>Architecture of Maria: A New Storage Engine with a Transactional Design</h3>

<p>I was interested in this talk because I&#8217;m interested in the tension between Falcon and Maria (and between Falcon and everything, for that matter) but I left and went to the expo hall again after a bit.  The talk was good but I&#8217;d already seen and/or read it, and the question-and-answer component wasn&#8217;t enough to keep me there.</p>

<h3>The MySQL Query Cache</h3>

<p>This was the second session I gave at the conference, and again it was standing-room-only, with nearly 300 attendees according to the person who was watching the door.  The questions were frequent and added a lot to the discussion.  Slides will be on the conference website when they post them.</p>

<h3>Grazr: Lessons Learned Building a Web 2.0 Application Using MySQL</h3>

<p>I was keenly interested in this talk because a) I am a big fan of Patrick Galbraith&#8217;s work with many different projects, and b) I had heard a lot about <a href="http://www.grazr.com/">Grazr</a> but didn&#8217;t know much about it.  However, I missed most of the talk.  About ten minutes into it, I got a call I couldn&#8217;t refuse: my wife!</p>

<p>However, I did sneak back into the room for the last bit too.  And I gave Grazr a try.  Unfortunately, I got really confused by it; I tried a bunch of different ways to import my Google Reader&#8217;s OPML.  I got that to work, but then I couldn&#8217;t figure out how to read the feeds in the OPML via Grazr.  Then I think I figured that out (I&#8217;m not sure) but it didn&#8217;t strike me as a very handy way to read my feeds.  I&#8217;ll try taking another look at it later if I get time.  (I&#8217;m all ears if there&#8217;s a better way to read feeds).</p>

<h3>Extending MySQL</h3>

<p>This one was mostly for fun.  I knew a lot about UDFs already (I&#8217;ve created some) and I knew about the pluggable storage engine API.  But I didn&#8217;t know about pluggable event daemons.  Holy cow, what a great way to shoot yourself (or your server) in the foot!  All the power of an atomic bomb, with all the safety of SPF 5 sunblock in a nuclear attack.  Or something like that.  But darn, it sure is nifty.  Brian is a great speaker too &#8212; very lively.</p>

<p>You know, there&#8217;s another way to extend MySQL that most people don&#8217;t seem to know about, which Brian didn&#8217;t mention.  That is procedures (not stored procedures).  They are sort of like a post-filter for a result set, and like UDFs they&#8217;ve been around forever.  I have never heard of anyone writing their own, but there&#8217;s an example in the server itself: <a href="http://dev.mysql.com/doc/refman/4.1/en/procedure-analyse.html">PROCEDURE ANALYSE</a>.</p>

<h3>Expo hall</h3>

<p>I went to the expo hall to meet and greet many of the companies that Percona (my employer) is already working with (doing independent benchmarks, performance verification, analysis etc) or will be in the future.  I also wanted to grill some of the vendors on their technology.  Usually I find them very cagey; they claim X times faster this-or-that, but won&#8217;t tell you how, and won&#8217;t tell you what their systems don&#8217;t do well.  I don&#8217;t understand why they take this approach; you can&#8217;t hide your system&#8217;s strong and weak spots.  There is no security through obscurity, and shrewd independent observers are going to get to the bottom of it with or without your permission.</p>

<p>So, for instance, I was talking with <a href="http://www.tokutek.com/">Tokutek,</a> who claimed to be a drop-in replacement for InnoDB with 200x better performance and apparently no downsides.  However, on closer questioning, I did get him to admit that the system has table-level locking.  Thus it won&#8217;t give any concurrency, so saying it&#8217;s a drop-in InnoDB replacement is questionable.  And the comparison against InnoDB seemed contrived to create a worst-case situation with bad tuning and a workload so it would perform terribly. An honest comparison tunes both systems to their highest performance and measures them; you can&#8217;t tune one system as badly as possible and compare it to the other&#8217;s best-case performance.  I pressed on further and asked about range scans in some specific cases (they claim they&#8217;re great at range queries, and equal to InnoDB on everything else).  At last they admitted they can&#8217;t perform well on some very common queries such as real-life queries InnoDB performs very well on for me.  They said these are &#8220;point queries&#8221; but that&#8217;s not true; you can design indexes to support many different ways to range-query a table in InnoDB and get great performance.  So it sounds to me like Tokutek&#8217;s storage format is extremely narrowly focused, and there is indeed a trade-off.  I will be interested to see how their technology develops, though.  It&#8217;s not done yet.</p>

<h3>In general</h3>

<p>There are a lot of Maatkit t-shirts walking around, which makes me happy.  If I&#8217;d printed 200 of them, I probably could have given them all away.  I was wearing a <a href="http://www.postgresql.org/">PostgreSQL</a> t-shirt myself.  Proudly, I might add.  I&#8217;m not the only person here who&#8217;s interested in PostgreSQL.  This morning I met a person from EnterpriseDB.</p>

<p>Yesterday was a bit slow in terms of interesting sessions, but there was a lot going on in the hallways, the expo hall, the meetings over lunch, and so on.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day One'>MySQL Conference and Expo 2008, Day One</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/23/like-it-or-not-it-is-the-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: Like it or not, it is the MySQL Conference and Expo'>Like it or not, it is the MySQL Conference and Expo</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get a free sample chapter of High Performance MySQL Second Edition</title>
		<link>http://www.xaprb.com/blog/2008/04/16/get-a-free-sample-chapter-of-high-performance-mysql-second-edition/</link>
		<comments>http://www.xaprb.com/blog/2008/04/16/get-a-free-sample-chapter-of-high-performance-mysql-second-edition/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 05:56:20 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[High Performance MySQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Andy Oram]]></category>
		<category><![CDATA[mysqluc2008]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/04/16/get-a-free-sample-chapter-of-high-performance-mysql-second-edition/</guid>
		<description><![CDATA[If you&#8217;re at the MySQL Conference and Expo, you can get a free sample chapter of the upcoming High Performance MySQL Second Edition. Just go to the exhibition area. As you go through the doors, take an immediate left and look for the sample chapter on O&#8217;Reilly&#8217;s table. It&#8217;s a rough draft and contains typos [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/06/09/grab-your-high-performance-mysql-sample-content/' rel='bookmark' title='Permanent Link: Grab your High Performance MySQL sample content'>Grab your High Performance MySQL sample content</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/02/progress-on-high-performance-mysql-backup-and-recovery-chapter/' rel='bookmark' title='Permanent Link: Progress on High Performance MySQL Backup and Recovery chapter'>Progress on High Performance MySQL Backup and Recovery chapter</a></li>
<li><a href='http://www.xaprb.com/blog/2008/05/30/official-website-launched-for-high-performance-mysql/' rel='bookmark' title='Permanent Link: Official website launched for High Performance MySQL'>Official website launched for High Performance MySQL</a></li>
<li><a href='http://www.xaprb.com/blog/2007/11/29/progress-on-high-performance-mysql-second-edition/' rel='bookmark' title='Permanent Link: Progress on High Performance MySQL, Second Edition'>Progress on High Performance MySQL, Second Edition</a></li>
<li><a href='http://www.xaprb.com/blog/2008/05/07/high-performance-mysql-second-edition-schedule/' rel='bookmark' title='Permanent Link: High Performance MySQL Second Edition Schedule'>High Performance MySQL Second Edition Schedule</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re at the MySQL Conference and Expo, you can get a free sample chapter of the upcoming High Performance MySQL Second Edition.  Just go to the exhibition area.  As you go through the doors, take an immediate left and look for the sample chapter on O&#8217;Reilly&#8217;s table.  It&#8217;s a rough draft and contains typos and my incredibly crude drawings instead of those that will go into the final book, but it should serve to give you an idea of the book&#8217;s depth and scope.  Kudos to Andy Oram, our editor, who was able to get these done for us on very short notice.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/06/09/grab-your-high-performance-mysql-sample-content/' rel='bookmark' title='Permanent Link: Grab your High Performance MySQL sample content'>Grab your High Performance MySQL sample content</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/02/progress-on-high-performance-mysql-backup-and-recovery-chapter/' rel='bookmark' title='Permanent Link: Progress on High Performance MySQL Backup and Recovery chapter'>Progress on High Performance MySQL Backup and Recovery chapter</a></li>
<li><a href='http://www.xaprb.com/blog/2008/05/30/official-website-launched-for-high-performance-mysql/' rel='bookmark' title='Permanent Link: Official website launched for High Performance MySQL'>Official website launched for High Performance MySQL</a></li>
<li><a href='http://www.xaprb.com/blog/2007/11/29/progress-on-high-performance-mysql-second-edition/' rel='bookmark' title='Permanent Link: Progress on High Performance MySQL, Second Edition'>Progress on High Performance MySQL, Second Edition</a></li>
<li><a href='http://www.xaprb.com/blog/2008/05/07/high-performance-mysql-second-edition-schedule/' rel='bookmark' title='Permanent Link: High Performance MySQL Second Edition Schedule'>High Performance MySQL Second Edition Schedule</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/04/16/get-a-free-sample-chapter-of-high-performance-mysql-second-edition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL Conference and Expo 2008, Day One</title>
		<link>http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/</link>
		<comments>http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 05:51:54 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Beat Vontobel]]></category>
		<category><![CDATA[benchmarks]]></category>
		<category><![CDATA[InnoDB]]></category>
		<category><![CDATA[Lars Thalmann]]></category>
		<category><![CDATA[Mats Kindahl]]></category>
		<category><![CDATA[mysqluc2008]]></category>
		<category><![CDATA[Paul McCullagh]]></category>
		<category><![CDATA[pbxt]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Peter Zaitsev]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[Sergey Petrunia]]></category>
		<category><![CDATA[Sphinx]]></category>
		<category><![CDATA[Su Doku]]></category>
		<category><![CDATA[The Blob]]></category>
		<category><![CDATA[Vadim Tkachenko]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/</guid>
		<description><![CDATA[Today is the first day at the conference (aside from the tutorials, which were yesterday). Here&#8217;s what I went to: New Subquery Optimizations in 6.0 By Sergey Petrunia. This was a similar session to one I went to last year. MySQL has a few cases where subqueries are badly optimized, and this session went into [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/05/how-to-get-your-session-accepted-to-mysql-conference-2008/' rel='bookmark' title='Permanent Link: How to get your session accepted to MySQL Conference 2008'>How to get your session accepted to MySQL Conference 2008</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Today is the first day at the conference (aside from the tutorials, which were yesterday).  Here&#8217;s what I went to:</p>

<h3>New Subquery Optimizations in 6.0</h3>

<p>By Sergey Petrunia.  This was a similar session to one I went to last year.  MySQL has a few cases where subqueries are badly optimized, and this session went into the details of how this is being addressed in MySQL 6.0.  There are several new optimization techniques for all types of subqueries, such as inside-out subqueries, materialization, and converting to joins.  The optimizations apply to scalar subqueries and subqueries in the FROM clause.  Performance results are very good, depending on which data you choose to illustrate.  The overall point is that the worst-case subquery nastiness should be resolved.  I&#8217;m speaking of WHERE NOT IN(SELECT&#8230;) and friends.  It remains to be seen how this shakes out as 6.0 matures, and what edge cases will pop up.</p>

<h3>The Lost Art Of the Self Join</h3>

<p>This was just great.  Among many other things,  Beat Vontobel showed how a Su Doku can be solved entirely with declarative queries: a very large self-join query against a table of digits and a table of the board&#8217;s initial state.  I had been promoting this session because last year&#8217;s was so very good.  I can&#8217;t wait to see what he comes up with for next year.  Can he find another creative idea?  Time will tell.</p>

<p>He wasn&#8217;t able to solve a 9&#215;9 puzzle with MySQL because of the limitation on the number of joins, but PostgreSQL had no trouble doing it.</p>

<h3>EXPLAIN Demystified</h3>

<p>This was my session, of course.  (Slides will be on the O&#8217;Reilly conference site, if they aren&#8217;t already).  It went great, I thought.  The room was full and people were standing in the back of the room and in the door.  The questions came fast and furious; all really good questions.  I think we ended up exploring a lot of the MySQL query execution method, strengths, and weaknesses by the time we were through.  And I gave away all the remaining Maatkit t-shirts.  Hopefully the people who took them will wear them tomorrow and the conference will be sea of deep, rich red shirts.</p>

<p>Someone did an audio recording of the session, but I don&#8217;t recall who it was.</p>

<h3>Investigating InnoDB Scalability Limits</h3>

<p>This session was given by Peter Zaitsev (disclosure: I now work for <a href="http://www.percona.com/">Percona</a>, the company he co-founded).  Peter and Vadim Tkachenko spent a lot of time over the last weeks and months running a dizzying array of benchmarks on MySQL 5.0.22, 5.0.51, and 5.1.24 (if I recall the versions correctly).  They were able to show InnoDB&#8217;s scaling patterns for a number of different micro-benchmarks on a variety of configurations.  If you didn&#8217;t attend, please look up the slides if you care about InnoDB performance.  A lot of work went into the benchmarks &#8212; a lot of work.  The slides should be on the conference website or on our blog, <a href="http://www.mysqlperformanceblog.com/">http://www.mysqlperformanceblog.com/</a>.</p>

<h3>Replication Tricks and Tips</h3>

<p>Lars Thalmann and Mats Kindahl gave this session.  At a high level, I&#8217;d say it was a run-down of all the different ways you can use MySQL replication.  Replication is really a flexible tool, and they covered a large array of the most important ways you can use it to achieve different purposes.  Many of the techniques they mentioned are implemented by various tools in <a href="http://www.maatkit.org/">Maatkit</a>.  A couple of the others are implemented in <a href="http://code.google.com/p/mysql-master-master/">MySQL Master Master Manager</a> and <a href="http://code.google.com/p/mysql-mmre/">MySQL Semi Multi-Master</a> tools. Don&#8217;t re-code these!  You can save weeks of work and get quality code by using the pre-built tools.  (I built Maatkit, so I know exactly how tricky it is to get some of these things right.)</p>

<h3>BoF Sessions</h3>

<p>I dropped in on a few BoF sessions, including the Sphinx one and the PBXT/Blob Streaming one.  (Keep an eye on the PrimeBase folks &#8212; they are up to great things.)  Ronald Bradford protected me from those who wanted to get me drunk.  Hint: it&#8217;s really easy&#8230; I have to say, though, Monty&#8217;s black vodka was amazing.</p>

<p>Speaking of Blob Streaming, Paul McCullagh and I were talking earlier in the day about the project&#8217;s name, MyBS.  This has been smirked about a few times.  I think it&#8217;s a great name, because after all my initials are BS (I usually insert one of my four middle names in to alleviate this problem, but I digress).  The conversation went like this:</p>

<p>Me: I like it. My initials are BS.</p>
<p>Paul: BS actually means British Standard, so it can&#8217;t be bad.</p>
<p>Me: Better than American Standard.  That&#8217;s a toilet.</p>

<p>We also debated the merits of watching the original move The Blob.  It&#8217;s a classic.  It must be good.</p>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2008/04/19/mysql-conference-and-expo-2008-day-three/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Three'>MySQL Conference and Expo 2008, Day Three</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/17/mysql-conference-and-expo-2008-day-two/' rel='bookmark' title='Permanent Link: MySQL Conference and Expo 2008, Day Two'>MySQL Conference and Expo 2008, Day Two</a></li>
<li><a href='http://www.xaprb.com/blog/2008/01/25/my-presentations-at-the-2008-mysql-conference-and-expo/' rel='bookmark' title='Permanent Link: My presentations at the 2008 MySQL Conference and Expo'>My presentations at the 2008 MySQL Conference and Expo</a></li>
<li><a href='http://www.xaprb.com/blog/2008/04/25/baron-schwartz-on-a-podcast-at-mysql-conference-and-expo-2008/' rel='bookmark' title='Permanent Link: Baron Schwartz on a podcast at MySQL Conference and Expo 2008'>Baron Schwartz on a podcast at MySQL Conference and Expo 2008</a></li>
<li><a href='http://www.xaprb.com/blog/2007/10/05/how-to-get-your-session-accepted-to-mysql-conference-2008/' rel='bookmark' title='Permanent Link: How to get your session accepted to MySQL Conference 2008'>How to get your session accepted to MySQL Conference 2008</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/04/16/mysql-conference-and-expo-2008-day-one/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

