MariaDB 10.0 Beta launched
blog.mariadb.org
blog.mariadb.org
I have to agree that MariaDB's main stronghold being MySQL drop in. The other MySQL drop in out there is MemSQL, which is closed and they really keep pricing under wraps.
TokuDB is a great engine. I don't think Postgres has a storage engine that matches the benefits TokuDB brings, but other than that I don't see many benefits over Postgres for a new project, but haven't compared the replication features closely.
Migrating a big codebase to Postgres from MySQL can be kind of a pain unless everything wrapped everything in an ORM like sqlalchemy. The main pain point for me in a recent migration was how postgres handles mixed case in table/column names. Most of the function differences between the two are fairly easy to resolve.
Can anyone with experience with JSON in both Postgres and MariaDB make a comparison?
I have heard about TokuDB but I can't find any good resources to explain why it's so good and what it does differently. Do you know of any? The page on the MariaDB site (linked to from the OP) says very little...
Thanks!
And I bet you haven't seen Datalog yet. ;-)
I had to edit it very little to fit how my data was stored, and imported it successfully to work within Django.
DELETE ... RETURNING
Cool! The ability to fetch the result of a write operation without having to do a SELECT afterward is one of my favorite "minor perks" of PostgreSQL. It eliminates the need for a lot of extra queries.With MariaDB 10.0, only DELETE statements get the RETURNING clause. But it seems that they have plans to add it to UPDATE statements soon [1], and I hope INSERT gets it as well.
I have not experienced any compatibility issues with MariaDB vs. MySQL.
On the web app side, I am using the mysql2 gem and made zero changes to my code. Also, I frequently import SQL dumps from MariaDB into my local MySQL development with no problems.
The only issue I had was related to some nasty SQL I had in a select in a finder (yeah I know bad practice). MySQL was returning a 0 while MariaDB returned NULL. Either way, it was my fault for messy code and when I fixed the select, everything was good.
I configured the new database servers as slaves of the old ones. This enabled me to verify things in production and do a safe upgrade. Promoting the MariaDB slaves to master was the only required action in terms of switching over. No code changes were required in our application code.
The bug was now been analyzed but not fixed for ~3 releases.
That said I also ran the testsuite against 5.6 and found some problems, too. You might also be concerned about http://bugs.mysql.com/bug.php?id=69274 - this means that if you loose an idb file during a crash you're out of luck to use your db ever again.
We're thus currently stuck at percona server 5.5 with regular investigation of the alternatives.