2010-12-14

In search of a BSD/LGPL/Apache licensed client library for MySQL and MariaDB

We have received many requests for a client library for MariaDB (and MySQL) under a license other than the GPL, and decided that it's now time to do something about it.

Some time ago we released the LGPL client library used in MySQL 3.23. This can be used by many applications to connect to MariaDB, MySQL, and Drizzle, but doesn't satisfy all the requirements one would like to see for a true replacement for the current GPL client library.

Minimum requirements are:
  • It should be binary link level compatible with the current MySQL 5.1 client library. To use it, one would just have to re-link the application with the new library. No re-compilation of the source should be necessary.
  • It should have all functionality of the MySQL 5.1 client library (including prepared statements).
  • It should be able to connect to all current versions of MariaDB, MySQL and Drizzle.
  • It should support all the new functionality in MariaDB's client library like new client functions and pluggable authentication.
  • The license should be one of BSD/LGPL/Apache.
We have now started to actively plan for getting this done. The plans can be found in our Worklog.

We have already found some companies that are willing to sponsor this project, but not yet enough to get it all done.

If you are willing to donate some time and effort on this, please contact us at
'maria-developers at lists.launchpad.com' or 'community at askmonty.org' (we strongly prefer the public maria developers list).

If you are willing to sponsor this effort, please contact us at 'sales at askmonty.org' or use our contact form.

We will put all monetary sponsorship into the Worklog. As with all worklog items, if someone from the community delivers a working solution that is accepted into the MariaDB source they will get 60% of the so far committed money.

2010-11-15

MariaDB 5.2 is released as stable

I am happy to announce that MariaDB 5.2.3 is now released as a stable release.

During the gamma period we did not receive any serious reports for issues in 5.2, so we are relatively confident that the new code is of decent quality.

You can read about the features of MariaDB 5.2 in my previous blog entry or in the fast growing MariaDB knowledgebase..

What is most interesting about MariaDB 5.2 is that most of the features came from the MariaDB/MySQL community, not from Monty Program Ab!

Without the community it would not have been possible to do a stable release so soon after the last release. Virtual columns, Extended User Statistics, Segmented MyISAM key cache, Pluggable Authentication, OQGRAPH and the Sphinx client are all from code provided by people outside of Monty Program Ab. Storage-engine-specific CREATE TABLE, Enhancements to INFORMATION SCHEMA.PLUGINS table and "Group commit" for the Aria engine were provided by us at Monty Program Ab.

Thanks also to all those who have reported and provided bug fixes for 5.1 and 5.2!

MariaDB 5.2.3 has all changes from MariaDB 5.1.50 and MySQL 5.1.51. (We are just about to release MariaDB 5.1.51)

Please report any issues to the MariaDB bugs database so that we can fix them!

We will continue to fix critical bugs in MariaDB 5.1, even if the
attention of bug fixes will now move to 5.2.

Now we are busy working on getting MariaDB 5.3 ready for beta. We have also started a merge of MariaDB 5.3 + MySQL 5.5 -> MariaDB 5.5 and hope to release this tree soon!

Happy database usage!

2010-10-15

Greetings from MariaDB meeting in Istanbul

I am now back in Finland after the Monty Program Ab / MariaDB meeting in Istanbul.

As all our meetings, this meeting was also open to the public (except a few closed session about Monty Program Ab internals). As before, we had guests attending, and this time we had people from Facebook, Intel, Galera, Percona, SkySQL and from another database company. PBXT sent their greetings but could not attend because of customer meetings.

During the meetings, we presented our development plans for replication and for the new Knowledgebase system (KB). One of the objectives with the KB is to eventually create a free MariaDB / MySQL manual, but it's also a place to ask questions and find/get answers. We also had some hacking sessions, which gave me time to review the phone home feature that we will add to MariaDB 5.2. We also discussed the dynamic columns feature that is planned for MariaDB 5.3. We also had great presentations from Facebook and Intel that will help us improve MariaDB.

You can find the full Istanbul program here.

It was also very fun to be part of the SkySQL kickoff meeting that also happened to be in Istanbul (We didn't know that SkySQL would also be there when we planned our meeting. The two teams were mostly meeting at separate locations, but sharing one day together.). It was great to see a lot of old friends from the MySQL time and it felt like we had used a time machine to go 5 year back into the past (especially when "Helan går" was sung many days in a row by people that doesn't really speak Swedish). The old MySQL spirit is very much alive!

We had of course also a lot of good food (mostly kebab in a lot of different forms, including raw), visited a hamam, and did some sport and dancing. Henrik Ingo has documented some (un)memorable pieces in his blog.

What is becoming more and more clear is that MariaDB is not only a Monty Program Ab project. MariaDB is not only getting a lot of contributions from individual developers but there is also an increasing collaboration between companies working on the code. MariaDB 5.2 includes for example code (in no particular order) from Percona, OpenQuery, Primebase, Google, Sphinxsearch and Stardoll, and naturally from Oracle. In 5.3 and/or 5.5 we will in addition work with companies like Galera, Facebook, eBay, Sphaera and of course SkySQL to add many new features into MariaDB.

Next Monty Program Ab / MariaDB meeting will probably be in 6-9 months in Lissabon. Hope to see many of you there!

2010-10-01

MariaDB 5.2.2-gamma is released

MariaDB 5.2.2-gamma is released

MariaDB 5.2 is finally released as gamma (RC). I had hoped to release this in July at Oscon but our new QA person, Philip Stoev, find at the last moment some problems with Aria recovery and virtual columns that we wanted to fix before doing the release.

The new features in 5.2 are quite isolated and as most have been in use by members in the MySQL community for a long time, we don't expect any big problems with 5.2 and we should be able to declare it stable within a few months.

5.2.2 gamma is based on MariaDB/MySQL version 5.1.50. It has the following new features:
Virtual columns
Columns that are an expression and are calculated on retrieval.
Extended User Statistics
Client, User, Index and Table statistics.
Segmented MyISAM key cache
The key cache's global mutex is split into several mutex which gives a notable speed improvement under multi user load; We have registered up to 70% more performance thanks to this.
Pluggable Authentication
Authentication is done via an extensible plugin, which makes it easy to add any kind of authentication to MariaDB.
Storage-engine-specific CREATE TABLE
Allows one to specify additional attributes per field, index or table to the storage engine.
Enhancements to INFORMATION SCHEMA.PLUGINS table
We expose more information about the plugins, like maturity levels.
Group commit for the Aria engine.
Speeds up multi user inserts.
New storage engines:
OQGRAPH (experimental quality)
Allows you to handle hierarchies (tree structures) and complex graphs (nodes having many connections in several directions).
Sphinx, a text-search engine (experimental quality)
A built-in Sphinx client which allows MariaDB to talk to searchd, run search queries, and obtain search results.
We have also done several smaller speed improvements and code cleanups.

We will now continue with working on MariaDB 5.3. As soon as MySQL 5.5 is stable enough, we will create a MariaDB 5.5 tree (based on MariaDB 5.3 + MySQL 5.5) and start working on that.

Please download MariaDB 5.2, test and give us feedback on maria-discuss@lists.launchpad.net or file a bug. We believe it's already quite stable, but we will only know after we have enough users testing it!

2010-07-18

What is an Open Source Company?

One of the hot topics here at the Community Leadership Summit in Portland is "what is an open source company ?". Simon Phipps has a got a lot of good points on this in his blog about Open Source Business.

We have companies like SugarCRM and Eucalyptus marketing themselves as "open source companies", even while not all of their code is available under an open source license.

To me it's clear that just because some of your product(s) is available under an open source license, you can't claim to be an open source company, as that would make the term meaningless. Under such a definition even Microsoft would be an open source company, as some of their products are now available as open source.

SugarCRM and Eucalyptus are clearly 'open core' companies, not open source companies. While open core is somewhat better than closed source, open core products have all the same disadvantages as closed source if you depend on a single feature of the closed parts for your business. In this case:

- You can't change, modify, port or redistribute the code.
- You can't fix bugs or extend the code.
- You are locked to the platforms that the vendor provides
- You are locked to one vendor.

In other words, the product as a whole should be regarded as a closed source product.

A little background why I feel so strongly about the term "open source company".

When MySQL AB was founded, David's and my intention was to create an open source company. Our definition was back then very simple "all software we produce should be under an open source license". When we took in investors we ensured that MySQL AB would stay as an open source company by putting a clause about this in our shareholder contracts.

David and I did however make a small mistake in that the shareholder agreement only said that "MySQL software" should be kept under an open source license. This allowed the MySQL management in 2006 to release Merlin, the MySQL monitor, as a closed source product, by claiming "this was not based on the MySQL server code". So even if we, the founders, managed to keep the MySQL server free, MySQL AB was only an "open source company" until 2006.

Learning from my mistake and to ensure that Monty Program Ab would always be an open source company, Zak Greant and I created the Hacking business model. Monty Program Ab follows this model and has additionally made a public promise that everything we create and release to our users will be under an open source license.

So what would then be a good definition for calling onces company "an open source company"?

I would like to suggest the following one:

1) You have to be a company that produces software.
2) All software the company delivers to its users must be available to everyone under an open source license. This includes all server code that is required to run and use the software.

In addition it would be good if the company could publicly state that all code they produce and release in the future will be under an open source license, but personally I would not require the company's to have to do this as some companies would have a hard time to do this.

At least here at the Leadership summit, the above definition seems to be acceptable to those that I have talked to. Please comment what you think about this!

2010-07-01

Welcoming SkySQL, a new home for MySQL talents

I am happy to see that SkySQL, a new home for MySQL talents, is being formed.

SkySQL is being lead by Ulf Sandberg, who was fundamental in building up the MySQL support, training and consulting organization at MySQL AB and will employ many of the original and best MySQL talents!

During the last 2 years, I have seen a lot of the people that originally worked at MySQL AB and who joined Sun together with me, go away in different directions.More than 50 % of them have already left Sun/Oracle. Even if many of them are still working with something that is related to MySQL, others have started new careers doing something completely different.

I have done my best to keep the MySQL core development talent together by employing them at Monty Program Ab, working on MariaDB, but I have not been able to provide a good home for the very talented support, training, consulting and sales people from MySQL AB, who I also care a lot for.

I am happy to see that there is now another home for MySQL talent being formed where they can continue to do what they do best; Providing support and other services around MySQL and also MariaDB.

This is also very good news for all MySQL users as this will ensure, in spite of whatever happens with MySQL at Oracle, that there will continue to be high quality support and services around MySQL and MariaDB.

This also solves the problem for MySQL customers that were using Oracle and chose MySQL partly because they didn't want to depend on only one vendor for all their database systems. Now they can continue to get all services they need from multiple vendors!

The forming of SkySQL is also in line with Monty Programs Ab's strategy; We see ourselves as the technical experts when it comes to MySQL and MariaDB and want to focus on doing development of MariaDB and L3 (critical) bug fixes for MariaDB and MySQL for our customers and partners.

Neither Monty Program Ab nor I have any active role in SkySQL. SkySQL will become a partner for Monty Program Ab, among others, and we will continue with our partnerships with our existing partners as before. By having a lot of independent companies working tightly together we will be stronger than ever before. We will of course have new interesting challenges, but I believe these will be easy to solve as all the companies have the same goal: Give the best possible services to our customers and to keep MySQL and it's future incarnations, like MariaDB, alive.

2010-06-30

Midsummer and Oscon

I was spending my Midsummer holiday again in the nice Finnish archipelago of Biskopsö, Nagu together with 30+ friends. As always there was a lot of good food (Fish first, meat later) and lot of drinking (Snaps (in various forms, including Salmiakki), beer, wine and Cognac).

What was new was that we had Felix Schupp, from blackray as a guest with us.

As a proof that we also know some other drinking song than the (in)famous "Helan går", we did sing for Felix a drinking song targeting database users:

To be sung to the music of 'Yesterday':

Yesterday,
All those backups seemed a waste of pay.
Now my database has gone away.
Oh I believe in yesterday.

Suddenly,
There's not half the files there used to be,
And there's a milestone hanging over me
The system crashed so suddenly.

I pushed something wrong
What it was I could not say.

Now all my data's gone
and I long for yesterday-ay-ay-ay.

Yesterday,
The need for back-ups seemed so far away.
I knew my data was all here to stay,
Now I believe in yesterday.


I hope to see many of you in Oscon again, which will take place 19-23'th of July in Portland. I will be there talking about MariaDB, enjoying some bottles of black vodka with like minded people and maybe, if we can find someone that can lead the singing, participate in singing about lost backups...