LWN.net Logo

A report from the (not only) MySQL conference 2011

April 20, 2011

This article was contributed by Josh Berkus

The MySQL Conference and Expo in Santa Clara, the largest open source conference in the San Francisco Bay area since the decline of LinuxWorld, was unusual this year in several ways. First was the inclusion of many non-MySQL databases in the conference. The second was the mostly-friendly rivalry of the several MySQL forks, who presented co-equal keynotes. The dominant discussion at the conference, however, was the stormy relationship between the MySQL community, the conference, and Oracle.

PostgreSQL and more

The biggest official change this year is that conference organizers O'Reilly and Associates decided to bring in non-MySQL open source databases in order to expand the scope of the conference. Most notable among these was the long-time MySQL "rival" project, PostgreSQL. The PostgreSQL support company EnterpriseDB was the top sponsor of the conference, and dominated the expo floor with a huge presentation area. There were two PostgreSQL tutorials and seven talks in the conference program.

In addition to PostgreSQL, several other open source database projects were invited to give talks at the conference, including MongoDB, CouchDB, Cassandra, Redis and HBase. MongoDB was particularly active on the trade show floor, and their ubiquitous coffee mugs turned up all over the conference.

The PostgreSQL presence at MySQLCon included at keynote in which EnterpriseDB staff went over features for the recently released version 9.0 and the upcoming version 9.1. The 9.1 features will be covered in a future LWN article.

Hot-and-cold Oracle

Oracle's relationship with the conference bordered on the schizophrenic. According to a member of the conference committee, Oracle sponsored the conference but refused to allow their name to be listed as a sponsor. For several months Oracle refused to allow their staff to submit talks to the conference or attend, relenting at the last minute and sending several speakers and a small marketing crew, according to a member of the Oracle staff.

Oracle did sponsor a party on Wednesday night of the conference. However, Oracle also sponsored a new MySQL track at IOUG's Collaborate conference at the same time, in Florida, 3000 miles away. While by all reports attendance of the MySQL track at Collaborate was poor (some witnesses reporting as few as 50 people at the keynotes), MySQL luminaries employed at Oracle, as well as MySQL-using Oracle partners, were obligated to go to Florida and not to California.

This cannot have helped attendance at the MySQL Conference. Indeed, attendance was down to around 1100 compared with over 1500 last year according to conference organizers.

MySQL

On Tuesday, Tomas Ulin, Oracle's MySQL engineering manager presented the recent improvements which Oracle has introduced in version 5.5, what is planned for 5.6, and some of the changes that have been made to MySQL in their first year of stewardship of the project.

One of the biggest changes to MySQL 5.5 is that InnoDB, the primary and most mature transactional database engine for MySQL, is now the default. This is welcome news since one of the chief causes of inexperienced MySQL users losing data is use of the older, non-crash-safe, MyISAM engine. The MySQL and InnoDB teams at Oracle have also been merged, "as they always should have been" according to Ulin.

Other 5.5 features include substantially improved performance on Windows, enhanced partitioning, and the performance_schema, which is a tool to collect runtime performance data about MySQL queries.

Ulin also announced a "development release" of MySQL 5.6. Oracle's goal is to make development releases very stable, so that they can move from the development releases to final release quickly. Features for 5.6 include more improvements to partitioning and additional views in performance_schema. MySQL is also adding additional query optimizations to improve performance on large databases, such as multi-range reads, sort optimizations, and pushdown of predicates into subqueries.

MySQL 5.6 may also include enhanced integration with Memcached. This includes the ability to use the Memcached protocol in order to access the InnoDB storage engine directly, effectively making InnoDB a NoSQL and SQL database at the same time.

Ulin also went over Oracle's plans for MySQL Cluster, otherwise known as NDB. MySQL Cluster is a specialized database engine aimed at telecommunications companies, and has been commercially successful in that market. "If you make a phone call today, MySQL cluster is probably involved somewhere," said Ulin.

Version 7.2 will include support for some kinds of JOINs across clustered tables, which NDB has not previously had. It will also include increases in the number of columns per table it can support, and replication of user privileges for faster access. It is also expected to support dynamic switching between SQL queries and direct object-oriented access to the database engine.

MariaDB

The two successive acquisitions of MySQL, by Sun and then by Oracle, have spawned a number of forks, each of which is pursuing its own course of development and community. On Wednesday, Monty Widenius, founder of MySQL, presented MariaDB, his MySQL successor database — or fork — which his company in Finland has been developing for the last two years. Several of the original MySQL developers are now working on MariaDB.

MariaDB is primarily meant to be a drop-in replacement for MySQL 5.1. Its main advantage is being pure open source and not owned by Oracle. MariaDB has also released an LGPL C-language driver for MySQL, which according to Widenius resolves some of the licensing issues with Oracle MySQL drivers.

Beyond that, MariaDB 5.2 was released recently with a number of useful features not present in mainstream MySQL. Widenius announced that for the first time Sphinx full text search is available directly as a storage engine called SphinxDB. MariaDB contains multiple improvements to MyISAM storage and supports pluggable authentication. It also has added "virtual columns", which hold automatically updated calculated values based on the other columns in the table.

MariaDB 5.3 will include an extensive rewrite of the query optimizer which is supposed to improve response time on more complex queries by orders of magnitude. It will also support a new, faster form of group commit for faster database writes.

Widenius also announced that MySQL support company SkySQL would be offering support for MariaDB. SkySQL is a new MySQL support company in Finland created by a group of former MySQL AB staff and MySQL co-founder David Axmark.

Drizzle

Probably the most conspicuous MySQL fork at MySQL Conference and Expo, due to the number of speakers, was Drizzle. Drizzle is optimized for usage on cloud hosting, as well as being extensively rewritten to clean up the code. The project's team is made up of both former MySQL developers and new contributors with Rackspace as their primary commercial sponsor.

On Wednesday, Brian Aker took the stage for Drizzle. His big (if rather belated) announcement was the general availability release of Drizzle, which is now ready for its first production use as of around a month ago. The second announcement was that MySQL support and services company Percona had announced commercial support for Drizzle.

The Drizzle team has spent the last three years redeveloping MySQL around a "micro-kernel" architecture. This means that they've taken many things in the MySQL core code, simplified them, and converted them to "plugins", allowing individual users to reconfigure how Drizzle works. Their refactor of the code has also eliminated many longstanding MySQL "gotchas" regarding Unicode support, timestamps, constraints, Cartesian joins, and more.

Since Drizzle is built "for the Cloud", a strong part of its focus is on replication. Drizzle supports row-based replication using protobufs, an open format created by Google. The new open replication format supports integration with a variety of other tools such as ApacheMQ, Memcached, and Hadoop. It also supports multiple masters, partial replication, and sharding. In development are virtualized database containers using database "catalogs".

Aker also announced libDrizzle, a client library which works with MySQL and SQLite as well as Drizzle. Since this driver is BSD-licensed, he believes it will be attractive to users who have legal concerns about the MySQL driver licensing.

The future of open source databases and MySQL

The conference ended on Thursday with talks from Baron Schwartz of Percona and Mike Olson of Cloudera and BerkeleyDB on the future of databases. The two talks were remarkably similar in their predictions:

  • databases will replicate and cluster seamlessly
  • data will grow to petabytes and more, even for smaller organizations
  • databases will integrated better with the rest of the stack
  • databases will support a variety of different data formats
  • people are using a variety of special-purpose databases now, but future databases will be more all-purpose
  • data caching and databases will stop being completely separate layers, but will be fused

The main difference between the two presentations was on the place of relational vs. non-relational databases in the future of databases.

The future of MySQL was rather more of a source of anxiety for the attendees. As a PostgreSQL geek, I got asked repeatedly where PostgreSQL would be in five years by MySQL users who were clearly wondering the same thing about MySQL. All of the forks and the love/hate relationship with Oracle have undermined confidence in MySQL, and sent users looking for alternatives, or for reassurance.

As for the future of MySQL Conference and Expo, the rumor at the conference was that O'Reilly plans to move it away from Santa Clara. An attendee named Olaf even ran vote-by-Twitter poll for a new location.

Videos from the conference are available on blip.tv.


(Log in to post comments)

A report from the (not only) MySQL conference 2011

Posted Apr 20, 2011 15:12 UTC (Wed) by onlooker_905 (guest, #64072) [Link]

The Drizzle guy is Brian Aker, not Brain Aker.

Fixed

Posted Apr 20, 2011 15:14 UTC (Wed) by corbet (editor, #1) [Link]

...and the comment posting screen still asks for typo reports to be emailed to us rather than posted here...:)

Fixed

Posted Apr 20, 2011 15:26 UTC (Wed) by cmorgan (guest, #71980) [Link]

Hi Jonathan.

Not sure if you'll spot this but I can't help but wish lwn had a way to follow and be notified of comments in comment threads. Sometimes a good discussion gets going but you have to manually go back and look to see if you missed a response.

Fixed

Posted Apr 20, 2011 15:32 UTC (Wed) by jake (editor, #205) [Link]

I'm not Jonathan (nor do I play one on TV :) but there are a couple of things that may help here:

Subscribers can see the "Unread comments" on all articles by following that link on left hand side of the page.

Top-level subscribers can request email for all comments on a specific article.

Also, unread comments in a comment thread are now highlighted in a different color.

Do any of those help?

jake

Fixed

Posted Apr 20, 2011 15:35 UTC (Wed) by dberkholz (subscriber, #23346) [Link]

Time to upgrade your subscription, higher levels do that:

The professional hacker level, which is the standard subscription level for LWN.net. US$7.00 per month, or US$84 (pre-discount) per year. In addition to access to subscriber-only content, subscribers at this level have access to a number of additional site features, including the ability to turn off advertisements, filter comments based on author, or receive comment notifications via email.

Fixed

Posted Apr 20, 2011 15:36 UTC (Wed) by cmorgan (guest, #71980) [Link]

Responding to both jake and dberkholz here (figured my first message was off topic enough)

Thank you for those suggestions. I wasn't aware that that support was available. Maybe I'll upgrade my account to get that feature...

Notifications

Posted Apr 20, 2011 15:36 UTC (Wed) by corbet (editor, #1) [Link]

Subscribers at the project leader level can request notifications for comments on any article; that sounds like the feature you want? They also get an improved article view which highlights comments posted since the last time they looked.

Notifications

Posted Apr 21, 2011 15:27 UTC (Thu) by martinfick (subscriber, #4455) [Link]

Which is an awesome (fairly) new feature, thank you!!!

Notifications

Posted Apr 24, 2011 15:12 UTC (Sun) by Zenith (subscriber, #24899) [Link]

Indeed, at first I was like "what the heck just happened, LWN looks old-school normally, but now it is also GRAY!"

But for all of you cheap normal-level subscribers: This feature alone is worth an upgrade! :P

Fixed

Posted Apr 20, 2011 21:30 UTC (Wed) by nicooo (guest, #69134) [Link]

What about a check box somewhere for sending typo reports from the comment page?

Still waiting...

Posted Apr 20, 2011 15:28 UTC (Wed) by cma (subscriber, #49905) [Link]

for fixing this bug :P http://bugs.mysql.com/bug.php?id=8523

Also waiting...

Posted Apr 20, 2011 21:50 UTC (Wed) by mleu (subscriber, #73224) [Link]

Bug #1341 InnoDB ibdata1 never shrinks after data is removed (Submitted 18 Sep 2003)

Also waiting...

Posted Apr 21, 2011 12:45 UTC (Thu) by nye (guest, #51576) [Link]

>Bug #1341 InnoDB ibdata1 never shrinks after data is removed (Submitted 18 Sep 2003)

Yes, this one's a killer. By default, the cannon is loaded and pointed at your foot; you need to know about this limitation before you set up your database otherwise ibdata1 just becomes an unstoppable creeping horror that threatens to devour the world.

Also waiting...

Posted Apr 22, 2011 3:10 UTC (Fri) by raven667 (subscriber, #5198) [Link]

I think it is useful to treat the innodb tablespace as a thin-provisioned filesystem without TRIM support. it is required to monitor the innodb free space from show table status just like any other filesystem.

A report from the (not only) MySQL conference 2011

Posted Apr 22, 2011 0:43 UTC (Fri) by gdamjan (guest, #33634) [Link]

Actually the forks are pretty reassuring to me wrt the future of mysql. We maybe wont know what that future will look like, but with so much community outside Oracle there's a future for sure.

A report from the (not only) MySQL conference 2011

Posted Apr 22, 2011 20:30 UTC (Fri) by jberkus (subscriber, #55561) [Link]

As a pure-OSS geek, that's how I tend to see things, too.

However, many MySQL users are pretty accustomed to the idea of there being "one true MySQL company", and are alarmed and afraid about the dramatic changes since 2008.

More importantly, businesses aren't keen on the shift from MySQL AB to having to decide between Oracle, SkySQL, Percona, Pythian, or OpenQuery. If you're a business, supplier stability is an unquestioned good.

Is MySQL going to be around in 5 years? Certainly. But what the MySQL ecosystem will look like in 5 years nobody can accurately predict.

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds