Slashdot Mirror


MariaDB vs. MySQL: A Performance Comparison

Nerval's Lobster writes "MariaDB is a fork of the MySQL source code, split off in the wake of concerns over what Oracle would do with MySQL licensing. In addition to its role as a 'drop-in replacement' for MySQL, MariaDB also includes some new features that (some claim) make it better than MySQL. Jeff Cogswell compares MySQL and MariaDB and suggests (in his opinion) that there's 'more than enough reason to ditch MySQL and switch over to MariaDB and stay there.' Why? While he breaks down MariaDB's new features and thinks many of them aren't that fantastic, and while MariaDB's performance isn't that much better than that of MySQL ('MariaDB's performance appears a bit better on multi-core machines, but I strongly suspect that one could tweak MySQL to match'), the questions over Oracle and MySQL licensing give him pause. 'MariaDB shows every indication that it will be around for quite awhile, while you can't really say the same of Oracle's MySQL,' he writes. 'Free-and-open MySQL competes with Oracle's proprietary and extremely competitive tools. That alone is grounds for concern — will Oracle do something to impede MySQL's development?'"

112 comments

  1. Great summary! by Anonymous Coward · · Score: 3, Informative

    The only link goes to another Slashdot page! Well done!

    1. Re:Great summary! by icebike · · Score: 4, Informative

      It links to a Slashdot Channel article, which never appeared in the regular part of Slashdot.

      Slashdot is not one-dimensional any more. It has grown a first-print arm for new articles.
      By your comment, I wager it was your first visit to a Slashdot Channel.

      --
      Sig Battery depleted. Reverting to safe mode.
    2. Re:Great summary! by Anrego · · Score: 3, Insightful

      Interlinking like this still seems in poor taste.

    3. Re:Great summary! by Anonymous Coward · · Score: 0, Informative

      Thanks for the informative explanation, Dice.com employee!

    4. Re:Great summary! by icebike · · Score: 3, Informative

      I wish I could collect a paycheck from all the companies some twinkie AC on /. has accused me of working for.

      --
      Sig Battery depleted. Reverting to safe mode.
    5. Re:Great summary! by gandhi_2 · · Score: 1

      So if sub-domain.domain.com writes an original content, domain.com should never mention it even if domain.com is an aggregator of the type of news that sub-domain wrote content for?

      Would it be better if the sub-domain just spun off and you never even knew there was a relationship?

    6. Re:Great summary! by Tarlus · · Score: 1

      Actually, I thought it was a pretty good summary. It explained what MariaDB is and why it is being compared to MySQL, without forcing the user to have to search around just to figure out what the summary is talking about.

      --
      /* No Comment */
    7. Re:Great summary! by hairyfeet · · Score: 5, Interesting

      Not to mention the whole thing ignores the elephant rotting in the corner, that old Monty makes anybody working on MariaDB sign over their code so he could pull the same trick twice and sell it out from under them just as he sold MySQL.

      Now don't get me wrong, I think Monty has big brass balls to be able to pull what he did last time and get away with it, he made them think they were actually buying a product in MySQL and in reality all they got was the name and the website, he ended up walking away with the code AND the customers, how he got them to buy without a do not compete I don't know but it took some big brass ones to pull it off.

      But like the old saying goes "fool me once.." what is to stop Monty from pulling the same game with MariaDB? Nothing that I can see, he still has it set up so no matter who works on it HE owns the code, which means he can do whatever he wants with it. Now maybe he scammed enough off the last sale that this won't be appealing, maybe not, would you really want to take that chance?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    8. Re:Great summary! by Anrego · · Score: 1

      Would it be better if the sub-domain just spun off and you never even knew there was a relationship?

      To be honest, I think I'd be happier with that. If you look at it objectively it's probably not that bad, but slashbi just seems to clash against the culture I associate with slashdot, and I interpret this kind of crosslinking as an attempt to push the established slashdot crowd into what appears at first glance to be a failing attempt to draw in the kind of pseudo-technical suit crowd (I don't know the numbers though, maybe slashbi has been a huge success..).

      Want to make slashbi known, fine, put something in the side bar. Shoving what could be argued as a well disguised advertisment in with the regular content just feels icky..

    9. Re:Great summary! by crutchy · · Score: 1

      I interpret this kind of crosslinking as an attempt to push the established slashdot crowd into what appears at first glance to be a failing attempt to draw in the kind of pseudo-technical suit crowd

      so... wtf are you doing on slashdot again?

      either that or you must be new here... welcome to self interest land (oops did i say self interest land i meant slashdot)

    10. Re:Great summary! by Anrego · · Score: 1

      Habit.

      I've been browsing slashdot for over a decade. Around 6 or 7 years under this account alone (I did the AC thing for a while..). Corney as it sounds, I've got some very fond memories of very insightful discussions had here, some of which legitimately impacted my life and at least many that actually changed how I thought about something.

      As shitty as slashdot gets, it'll take a long damn time to erode away that kind of legacy.

    11. Re:Great summary! by sootman · · Score: 1

      It's a new technology they're testing called "the instantaneous dupe". It's pretty cool stuff.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    12. Re:Great summary! by Anonymous Coward · · Score: 0

      Agreed.
      Monty pretty much screwed over the open source community when he sold out to Oracle (via Sun). Then had the balls to complain about it (crying over his $million payout) . Now he expects open source developers to help him build up and sell MariaDB to the next highest bidder. Come on.

  2. When the incompatabilities ? by Alain+Williams · · Score: 4, Insightful

    Today the list of incompatabilities is small and unimportant. I wonder if one will make a really useful difference that would encourage developers choose one or the other; then users would really need to choose. At the moment which you use doesn't really matter.

    1. Re:When the incompatabilities ? by jgrahn · · Score: 3, Insightful

      Today the list of incompatabilities is small and unimportant. I wonder if one will make a really useful difference that would encourage developers choose one or the other; then users would really need to choose. At the moment which you use doesn't really matter.

      If that's true, now is the best time to switch. Not when/if the vendor starts squeezing your balls.

    2. Re:When the incompatabilities ? by unrtst · · Score: 3, Interesting

      But there is no good reason to switch besides hypothetical future situations. If one is already on either product, just stay there until something happens... so long as they are both still compatible.

      The performance issues noted in the article doesn't make any sense to me. From the article:

      One common result of not coding these correctly is you’ll start out seeing an improvement in the first 8 or 16 threads, and after that you won’t get nearly the hoped-for improvement. When you see that problem, it means there’s likely trouble with the algorithms. (And this will be the case with either hyperthreads or hardware threads.) That’s what we’re seeing here with the MySQL benchmarks. To me, that’s an indication of trouble with MySQL scaling, and should be a cause for concern. MariaDB also has a slight problem in the same benchmark as the performance goes down slightly, but only barely; I would surmise that this isn’t a problem with the parallel algorithms.

      ...but the graph at the top of the article does NOT show that! What benchmark is he referring to? The one at the top of the article shows MySQL 5.5.29 performing almost exactly the same as both versions of MariaDB that were tested. MySQL 5.6.10 performed a little different, which is because... well, we don't know due to lack of information there (he even says it may not have been compiled correctly, and a few other possible reasons).

      If MariaDB does perform noticably better on many core machines (> 32), I'd be interested to know that, and that could be a justifiable reason to consider it.Even so, why go through that effort? And if you're running >32 cores on your DB, chances are it's a large DB and would take a fair bit of time to smoothly cut over... not really worth it IMO.

    3. Re:When the incompatabilities ? by Anonymous Coward · · Score: 0

      When/if the vendor starts squeezing your balls you just will want it to stop, you won't be thinking about much of anything else! :-)

    4. Re:When the incompatabilities ? by crutchy · · Score: 1

      mysql will die... everyone with an ounce of sense already knows that oracle is scum

      i use mysql... so i'm a moron, but i'll eventually migrate to maria when i can be bothered and become less of a moron :)

    5. Re:When the incompatabilities ? by crutchy · · Score: 1

      especially if you're into that kind of thing

      unfortunately most would still prefer their balls to be squeezed by something with breasts. the very thought of larry ellison squeezing my balls is disturbing to say the least.

    6. Re:When the incompatabilities ? by tfigment · · Score: 1

      Sometimes the differences matter. We jumped ship to MariaDB and are mostly happy with it. I am still frustrated with having to periodically rebuild my database because of huge ibdata files (yes we use innodb_file_per_table so it shouldn't be huge but it is after a time). I thought there was a MySQL labs build which enabled something to mitigate this problem which I probably would drop maria in a heartbeat for at the moment if it was in the mainline trunk.

      Anyway, Oracle has apparently added EXPLAIN to statements other than SELECT which is a killer feature for me as I need to better understand certain UPDATE statement plans which seem to be very different than equivalent SELECT clauses. Monty has added ability to view actual plan for running Select statements. I really want both features now but they are forked now in this space.

    7. Re:When the incompatabilities ? by Anonymous Coward · · Score: 0

      Now imagine a fat larry ellison with breasts squeezing your balls.

    8. Re:When the incompatabilities ? by Common+Joe · · Score: 1

      But there is no good reason to switch besides hypothetical future situations. If one is already on either product, just stay there until something happens... so long as they are both still compatible.

      Everything is hypothetical until it happens then everything is obvious in hindsight. GP is right. It is wiser to be with the healthier brand / company / organization. MariaDB is in a much better position than MySQL. Just look at Oracle and it's history. A behemoth like that won't make a 180. What incentive do they have and what have they done to promote and make healthy the MySQL community? No, my friend, they're going to trash MySQL. Now is the time to switch to MariaDB before MariaDB starts implementing changes that distinguish it from MySQL... and I say this as a PostgreSQL fan.

    9. Re:When the incompatabilities ? by Anonymous Coward · · Score: 0

      Still a battle for 2nd place.

      Postgres FTW!

  3. Never thought I'd see FUD from Open Source by exabrial · · Score: 1

    My my... how times have changed. See back in my day, the vendor walked uphill, both ways, to tell us about the Fear, Uncertainty, and Doubt of the security using some filthy open source project strung together by a rag tag team of hippies.

    1. Re:Never thought I'd see FUD from Open Source by gstoddart · · Score: 5, Insightful

      I think concerns about Oracle's long-term plans for MySQL are valid to ask.

      If it isn't making Larry money, what did he buy it for and what is he planning to do with it?

      Oracle isn't exactly a customer friendly company (just ask anyone who had an older Solaris machine when Oracle bought Sun and got told they needed to buy a support contract to even access docs), so I've always wondered why they would buy a free database and continue to develop it and give it away.

      If I was choosing based purely on open-ness, something which doesn't have the chance of Oracle coming along and closing it otherwise strong-arming people would be a plus.

      I guess it legitimately is FUD, but sometimes, there's valid reasons to mistrust such entities. And having dealt with Oracle over the years, they themselves are a very strong reason to be suspicious.

      --
      Lost at C:>. Found at C.
    2. Re:Never thought I'd see FUD from Open Source by phantomfive · · Score: 0

      Does it count as FUD if it's really something worth worrying about?

      --
      "First they came for the slanderers and i said nothing."
    3. Re:Never thought I'd see FUD from Open Source by CastrTroy · · Score: 2

      Yeah, but Oracle has a lot of money, they do a lot of different things. They can afford to have a product or two that doesn't make them a whole lot of money. MariaDB on the other hand is run by a bunch of the guys who used work on MySQL when it was owned by Sun. They only have one way of making money. That is by selling support contracts. And if Oracle isn't making any money off selling support contracts, I have trouble seeing how MariaDB is going to make any money doing the same. MariaDB seems to me to be a higher risk than going with Oracle.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    4. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 3, Insightful

      We're only seeing this because the guy who sold MySQL to Oracle wants a second bite and is trying to discredit what he just sold them as hard as he possibly can so that people move back to his stuff.

    5. Re:Never thought I'd see FUD from Open Source by AdmV0rl0n · · Score: 5, Insightful

      I think concerns about Oracle's long-term plans for MySQL are valid to ask.

      If it isn't making Larry money, what did he buy it for and what is he planning to do with it?

      Oracle isn't exactly a customer friendly company (just ask anyone who had an older Solaris machine when Oracle bought Sun and got told they needed to buy a support contract to even access docs), so I've always wondered why they would buy a free database and continue to develop it and give it away.

      If I was choosing based purely on open-ness, something which doesn't have the chance of Oracle coming along and closing it otherwise strong-arming people would be a plus.

      I guess it legitimately is FUD, but sometimes, there's valid reasons to mistrust such entities. And having dealt with Oracle over the years, they themselves are a very strong reason to be suspicious.

      Oracle maintain multiple open source initiatives. *I'm * not making any claim about wether these are maintained 'correctly or not, because the truth is that I am not in a position to state factually what the true state is.

      But - people still use Virtual box. People still use Java. People are still using MySQL.
      I'll pitch - even though I struggle to think its true - that if Oracle maintained them well, and if a true state exaists where the smaller MySQL may lead to an upgrade when things get large to Oracle DB - I can see why a vendor might say to itself that damaging our own product isn't productive. If they trust us implicitly doing a good job on MySQL they will believe the same basic premise on the day they need heavier iron and DB.

      It is understandable commecially to look at things and remove or kill things that are done and have a fork in them. Its another to just vandalise in an unthinking stupid way a well grounded, popular and well regarded product.

      The core question got asked at the end of the first post:
      That alone is grounds for concern — will Oracle do something to impede MySQL's development? Citation and real evidence required.
      The real world, true answer to that question is the real guide, other stuff and argument is fluffy..

      --
      We`re all equal .. Just some of us are less equal than others.
    6. Re:Never thought I'd see FUD from Open Source by houghi · · Score: 1

      Well, when you believe it is really something to worry about, then the FUD worked, so the answer is yes.

      --
      Don't fight for your country, if your country does not fight for you.
    7. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 2, Insightful

      Yeah but you have oracle purposely trying to cripple MySQL so they can sell more oracle DB licenses.

      The Monty AB guys need MariaDB to be a good product you want to buy support for.

    8. Re:Never thought I'd see FUD from Open Source by PolygamousRanchKid+ · · Score: 3, Funny

      what is he planning to do with it?

      It's difficult to describe in words what "do with" means in this context.

      But if you google on "Hentai", you'll find some pictures.

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    9. Re:Never thought I'd see FUD from Open Source by samkass · · Score: 5, Interesting

      My favorite part is that the article is titled "MariaDB vs. MySQL: A Performance Comparison", but since the performance is almost identical they spend most of the summary talking about ideological differences. I guess "MariaDB vs. MySQL: An Ideological Comparison" didn't have the same ring to it.

      --
      E pluribus unum
    10. Re:Never thought I'd see FUD from Open Source by rudy_wayne · · Score: 4, Insightful

      We're only seeing this because the guy who sold MySQL to Oracle wants a second bite and is trying to discredit what he just sold them as hard as he possibly can so that people move back to his stuff.

      I think you may be right.

      The creator of MySQL sold out to Sun and now he's trying to claim that his new DB is better, probably hoping he can sell out again and collect another big paycheck.

    11. Re: Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 0

      If you do not buy anything from Oracle, then you are not a customer, and how could Oracle be customer-friendly towards you?

    12. Re:Never thought I'd see FUD from Open Source by rudy_wayne · · Score: 4, Insightful

      Oracle wants to use MySQL as a stepping stone for people to migrate them over to full Oracle DB. That's one of the reasons they bought the thing.

      That's not really true. Prior to buying Sun, Oracle probably didn't give two shits about MySQL. Oracle wanted Sun, and Sun just happened to own MySQL, so it was part of the deal. Once Oracle had MySQL then they had to figure out what to do with it. The same thing with Java.

    13. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 1

      Oracle wanted Sun, and Sun just happened to own MySQL, so it was part of the deal. Once Oracle had MySQL then they had to figure out what to do with it. The same thing with Java.

      I had always heard the story as Oracle wanted Java, and MySQL and VirtualBox and the hardware business just came along for the ride.

    14. Re:Never thought I'd see FUD from Open Source by Shimbo · · Score: 2

      That's not really true. Prior to buying Sun, Oracle probably didn't give two shits about MySQL.

      Well, they bought InnoDB well before Sun, so that's not entirely true.

    15. Re:Never thought I'd see FUD from Open Source by muon-catalyzed · · Score: 1

      If it isn't making Larry money, what did he buy it for and what is he planning to do with it?

      Maybe for the same reason he bought Java, the thing is bringing people to Oracle.com, like million hits per day, do you think it is worth nothing?

    16. Re:Never thought I'd see FUD from Open Source by greg1104 · · Score: 3, Insightful

      Concerns about MariaDB's long-term plans are appropriate too. Monty has setup his new company with contributor copyright assignment such that he can sell it off again, the same way he did with MySQL. If you actually taste the FUD here, you should be migrating away from both of these uncertain projects, not deciding which of them to use.

    17. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 1

      It's from the awful Slasdot/BI. What do you expect?

    18. Re:Never thought I'd see FUD from Open Source by chriscappuccio · · Score: 1

      Except that MySQL copyright is still assigned to MySQL AB (Oracle). So Monty can only make money selling support...

    19. Re:Never thought I'd see FUD from Open Source by greg1104 · · Score: 5, Interesting

      MariaDB is taking the MySQL code via the GPL and then building on top of it with new code. Those changes are all having their copyright assigned to MariaDB, and in some cases the GPL will also require a public release. Eventually MariaDB is expected to have a non-trivial set of improvements, and the copyright ownership of all the new code will be to MariaDB. That allows selling the combination of GPL core plus some explicitly owned private code, the exact same way MySQL was sold to Sun.

      This is the same scam that let Monty cash out once already, using the work of open source contributors who assigned their copyright to his original company. No reason he can't do it again, if people are gullible enough to fall for it twice.

    20. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 0

      There goes the FUD train *choo choo*.

      How is Oracle crippling MySQL? If anything, MySQL has only gotten somewhat respectable in the last few years.

    21. Re:Never thought I'd see FUD from Open Source by Anonymous Coward · · Score: 0

      > Oracle wants to use MySQL as a stepping stone for people to migrate them over to full Oracle DB.

      Problem with this theory is that, (afaict) there really isn't a clean migration path between MySQL's and Oracle's SQL syntaxes, much less all the sloppy February 31st crap that MySQL supports.

      MySQL provides a "foot in the door" for Oracle's salesmen though.

    22. Re:Never thought I'd see FUD from Open Source by steelfood · · Score: 1

      The same thing with Java.

      Rumor is, they bought Sun for Java, in particular, for the purposes of suing Google over their implementation of Java used in Android. Rumor is, they thought they could recoup the cost of Sun with the award they'd be getting from that and subsequent lawsuits.

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    23. Re:Never thought I'd see FUD from Open Source by HornWumpus · · Score: 1

      Wait a second. MySQL is somewhat respectable now?

      I think it remains a trap for the inexperienced.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    24. Re:Never thought I'd see FUD from Open Source by ShanghaiBill · · Score: 5, Insightful

      How is Oracle crippling MySQL?

      By just sitting on it, and not improving it.

      Years ago, MySQL lacked many features that kept it from being a "real" database. Over the years, it has added transactions, stored procedures, triggers, etc. If that trend continued, why would anyone use Oracle? If Oracle just shut down MySQL, the momentum would shift to PostgreSQL or MariaDB. So by keeping MySQL alive, but stopping the improvement, Oracle is holding back free alternatives from competing with them.

    25. Re:Never thought I'd see FUD from Open Source by HornWumpus · · Score: 3, Insightful

      MySQL can't improve without breaking all the code that depends on it's fucked behavior.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    26. Re:Never thought I'd see FUD from Open Source by TheRealMindChild · · Score: 1

      So, IE6

      --

      "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
    27. Re:Never thought I'd see FUD from Open Source by F.Ultra · · Score: 1

      Exactly how would introducting new features break code that depends upon the non-strict mode of MySQL? There where no big problems when Monty or SUN introduced new features so why must it break if Oracle does it?

      And MariaDB introduces some new feateures which apparantly is of no problem to that code either, so I guess that you are a fanboi of some other SQL and thus must hate MySQL because that is q requirement by your cult

    28. Re:Never thought I'd see FUD from Open Source by x_t0ken_407 · · Score: 1

      "Oracle is holding back test cases in the latest release of MySQL....MySQL has used a testing framework called mysql-test since 1999. Over the years tests have been built for new features and regression tests that guarantee that a bug fix is permanent...It also appears that Oracle pulled the revision history for MySQL...By removing the revision history, Oracle will keep developers guessing about what is fixed and what is not...it appears that Oracle is making its revision tests and histories closed source..." Look at what they've done already. These are facts, not FUD.

    29. Re:Never thought I'd see FUD from Open Source by Hognoxious · · Score: 1

      I reckon Larry had no idea what to do with Sun. He just wanted to prevent anyone else getting it because that's the kind of asshole he is.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    30. Re:Never thought I'd see FUD from Open Source by david_thornley · · Score: 2

      It's more complicated this time. When Monty held copyright to all of MySQL, he was perfectly free to release it under whatever license he liked. Now, he's stuck with a central body of code that he can only access under GPL terms, and therefore any derived work has to be released under the GPL. He's limited in how he can enhance MariaDB without having to release his enhancements under the GPL.

      Even if he can make an argument that some of his stuff isn't covered by the GPL, unless it runs as a separate app there's going to be legal uncertainty on its status, and lots of companies like to avoid buying legally dubious software and running a chunk of their business on it.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    31. Re:Never thought I'd see FUD from Open Source by aralin · · Score: 1

      FUD is always legitimate when it propagates the bias of the slashdot community. While Microsoft FUD is always illegitimate because it just is. I like how there is a double standard for everything here.

      --
      If programs would be read like poetry, most programmers would be Vogons.
    32. Re:Never thought I'd see FUD from Open Source by aralin · · Score: 1

      None of what that guy said is true. Oracle has three reasons to buy Sun:
      1) HW/OS - Traditionally Oracle was developed with Solaris as primary platform with period of switch to Linux around 2002. Oracle wanted to have the full stack HW/OS/AS/DB/Apps

      2) Java - Oracle has shitload of stuff written in Java and Sun was dying. They could not risk for someone like Google snatching it and then making life miserable for Oracle by driving the Java development in direction that would make it harder for Oracle.

      3) MySQL - To combat the MS SQL threat. Oracle was already supporting MySQL long before. They bought InnoDB and improved it to quality. Chiefly to eat MS's lunch in the DB market, position MySQL into the segment that MS SQL was targeting and preventing MS to become a major player in Databases.

      --
      If programs would be read like poetry, most programmers would be Vogons.
  4. percona? by gandhi_2 · · Score: 2

    is percona not cool anymore?

    1. Re:percona? by slacker22 · · Score: 2

      Percona non grata

    2. Re:percona? by F.Ultra · · Score: 1

      Percona is integrated with MariaDB, the InnoDB engine in MariaDB is really Perconas XtraDB.

  5. MySQL around for a while more by Nethemas+the+Great · · Score: 1

    Free Oracle (MySQL) may be a competitor to the "not for free" Oracle but I think it still provides value to the company. MySQL has name recognition and reputation, MariaDB is still working on building these. So long as MySQL is around MariaDB will have a harder time doing so and for that reason alone Oracle may well keep MySQL going.

    --
    Two of my imaginary friends reproduced once ... with negative results.
    1. Re:MySQL around for a while more by Anonymous Coward · · Score: 0

      OpenSolaris also had name recognition and reputation. Didn't stop Oracle from completely killing the OSS side of it.

  6. "will Oracle do something to impede MySQL's dev?" by ciantic · · Score: 5, Interesting

    They did. In short they stopped providing test cases for new features. Do not use MySQL. Period. Read more about in here.

  7. Switch by Anonymous Coward · · Score: 4, Insightful

    Switch to Postgres. It'll be there for a long time.

    1. Re:Switch by ArhcAngel · · Score: 1

      MySQL will be there equally as long. The question is whether it will grow as technology does or stagnate.

      --
      "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
    2. Re:Switch by Common+Joe · · Score: 1

      There have been a few ACs around here saying to switch to Postgres and I'm not sure why this one is modded an Insightful 3. I'm a big PostgreSQL fan but I'm not saying that everyone should use PostgreSQL. Simply put: if you want a drop in for a database that will be better than MySQL and without doing much work (and this is the key), then put MariaDB in before MySQL and MariaDB diverge. You'll have a lot more work to do once they diverge. If you want a much better database, then, yes, I suggest PostgreSQL as well... but that will involve a lot more work unless it is a very trivial database. There are very different reasons for suggesting PostgreSQL over MariaDB.

      For those entrenched in MySQL, they should strongly consider migrating to MariaDB while it is still trivial to do so.

    3. Re:Switch by Common+Joe · · Score: 1

      Yeah, I'm replying to myself, but I thought of something else I'd like to say.

      I've seen good software "upgrade" south for bizarre reasons. I like PostgreSQL and right now it's a healthy community. I believe it is the best database out there, but you know what? I'd like to see MariaDB survive, thrive, and rival PostgreSQL. As a matter of fact, I'd like to have more than two reasonable choices for open source databases. The only way PostgreSQL will continue to be a great database is to have more great databases threatening it. It needs healthy competition. The circumstances surrounding MariaDB is far from perfect, but I can probably make the same argument for just about every other software out there. I think the situation with Apple and Windows and Android and Oracle is a lot worse than the current situation with MariaDB.

      To the AC who posted this: Telling the MySQL community to switch to PostgreSQL because "it'll be there for a long time" is not only insulting to the MySQL and MariaDB community, but to the PostgreSQL community too. You've taken a topic about MariaDB and MySQL and hijacked the conversation without good reason and smeared the PostgreSQL name on it. There are real world considerations these DBAs and programmers have. Time and money is one of them. These are our brothers and sisters and we're in the same game as they are. We should be helping them with the topics at hand. Not telling them they've made the wrong decision and rubbing their noses in it. The same thing could happen to us in a few years. Hell, it's already happened to me several times in my career in the other areas / languages I've programmed in. It'll happen to you too. Don't be so righteous about this topic. PostgreSQL has been very lucky not to have a major fork in recent history like a lot of other major open source programs.

  8. Competes? by fahrbot-bot · · Score: 2

    Free-and-open MySQL competes with Oracle's proprietary and extremely competitive tools.

    In what sense? Sure MySQL is free, but - and IANADBA - I would think the appropriate usage areas for MySQL and Oracle DBs overlap marginally, if at all. For example, my MythTV system uses MySQL on the back end, but I think using Oracle would be like killing a mosquito with a sledgehammer (no disrespect to sledgehammers). Conversely, Oracle is probably more appropriate for a large distributed / fail-over capable payroll/accounting systems.

    MySQL is simple and small, while Oracle more complex and large - it might actually come with a kitchen sink.

    --
    It must have been something you assimilated. . . .
    1. Re:Competes? by knarfling · · Score: 4, Funny

      ... while Oracle more complex and large - it might actually come with a kitchen sink.

      Orcle does come with a kitchen sink. However, it costs extra if more than one person is in the kitchen at the same time.

      --
      Great civilizations have lived and died on false theories. Don't mess up mine with a few facts.
    2. Re:Competes? by Anonymous Coward · · Score: 0

      In what sense?

      In the sense that fanboys think MySQL is the answer to everything, when eight times out of ten, the answer is SQLite, one time out of ten, it's Oracle, and the remaining one time out of ten, it's actually MySQL or Postgres.

      But seriously, yeah - the summary (and article) are completely batshit. Saying a 'free-and-open MySQL' competes with Oracle is like saying 'free-and-open Android phones' compete with the Titan supercomputer. (Hey, they've both got processors and stuff!)

    3. Re:Competes? by 0123456 · · Score: 1

      In what sense?

      Uh, in the sense that many people who, years ago, might have stumped up the cash for Oracle because there was no viable free competition now use MySQL or Postgres because they're good enough to live without that mosquito-killing sledgehammer?

    4. Re:Competes? by Anonymous Coward · · Score: 0

      they also like to charge by how many dishes you want to wash in said sink

    5. Re:Competes? by Walking+The+Walk · · Score: 4, Informative

      I would think the appropriate usage areas for MySQL and Oracle DBs overlap marginally

      I am a DBA, and FYI there are multiple editions of Oracle. I'm not sure what use cases you were thinking of, but if you're looking for a free edition there's always Oracle Express Edition. Free to download, use and distribute, and allows databases up to 11GB. I've worked at companies that run bigger MySQL installations, but I would venture that they are less than 1% of the MySQL user base. The majority of MySQL installations are small ones to back websites, such as Wordpress installations. You could easily replace them with Oracle Express. For other use cases, there's Oracle's NoSQL database, or Oracle's In Memory database (called TimesTen for some obscure reason), and they used to market Oracle Database Lite for mobile apps.

      So in summary, Oracle has a bunch of products that would compete with MySQL, and we can't understand why they don't just give MySQL away to Apache or some other foundation. Maybe they have support contracts that actually bring in some money.

      --
      A recursive sig
      Can impart wisdom and truth
      Call proc signature()
    6. Re:Competes? by fahrbot-bot · · Score: 0

      Dear Moderator,

      My previous post quotes TFS directly and asks a direct question w/examples.
      My questions to you are:

      A) How the fuck is that post "off topic"?
      B) Are you retarded?

      Sincerely,
      - Rick

      --
      It must have been something you assimilated. . . .
    7. Re:Competes? by fahrbot-bot · · Score: 1

      In what sense?

      Uh, in the sense that many people who, years ago, might have stumped up the cash for Oracle because there was no viable free competition now use MySQL or Postgres because they're good enough to live without that mosquito-killing sledgehammer?

      True, but that would be a *long* time ago. MySQL ad Postgres have been around since 1995. Even still, I would argue that there are many, many applications for which using Oracle over MySQL/Postgres (or no DB at all) would be overkill.

      --
      It must have been something you assimilated. . . .
    8. Re:Competes? by fahrbot-bot · · Score: 1

      Thanks, I wasn't aware of Oracle Express or their NoSQL alternatives. Though, in the case of their free (or is that "free") alternatives, competition for dollars (which is all Larry cares about) probably doesn't really exist. Also, I think when people think about "Oracle" in the general sense of databases, they are thinking of the traditional, large, non-free versions...

      --
      It must have been something you assimilated. . . .
    9. Re:Competes? by Walking+The+Walk · · Score: 1

      in the case of their free (or is that "free") alternatives, competition for dollars (which is all Larry cares about) probably doesn't really exist. Also, I think when people think about "Oracle" in the general sense of databases, they are thinking of the traditional, large, non-free versions...

      Agreed on both points. I think the free Oracle offering is designed to encourage adoption and ease upgrade. So you start with the free Express edition, and build up a nice little business, but then performance or space becomes an issue and so the easiest course is to upgrade to Standard Edition for $$. And the developers working for you are all now familiar with Oracle and PL/SQL, so big business and government that run Enterprise edition for $$$$$ have plenty of developers to choose from.

      --
      A recursive sig
      Can impart wisdom and truth
      Call proc signature()
    10. Re:Competes? by Anonymous Coward · · Score: 1

      enterprise db sells a Postgres version that is a drop in replacement (SQLwise) to oracle
      also remember that postgres mean post ingres

  9. Useless FUD by Anonymous Coward · · Score: 1, Insightful

    Migrating to MariaDB "just because" is dumb.

    If Oracle makes it clear that they're not going to support MySQL in a way that's compatible with your business, then consider your alternatives.

    Changing your DB infrastructure will take time & release cycles to properly plan, test, and deploy. If it's a drop-in replacement as they claim, then you will not have much trouble making a quick migration down the line. If it's NOT a drop-in replacement as they claim, you should consider other DB technologies and select the one that matches your needs best, and then migrate to that. Doing EITHER of these things just because "Oracle may someday decide to do something awful to MySQL" is a waste of time. Consider alternatives now, if you're really concerned, but making a decision to migrate based on some FUD about Oracle from the MariaDB people is the mark of an idiot.

    1. Re:Useless FUD by 0123456 · · Score: 5, Informative

      The longer you wait, the less chance there is of it still being a 'drop-in replacement'. Both sides are likely to make incompatible changes to the database format, and while that's OK when you're running a 1GB database that you can just dump out and restore, it's a problem when you're dealing with 60TB of data.

    2. Re:Useless FUD by Anonymous Coward · · Score: 1

      And if it's NOT a "drop-in replacement" then you should consider whether Maria DB is the right DB for your needs, if MySQL suddenly no longer is.

      This "ermagherd change to mariadb now now now it's scary to stay on mysql!" panic is fucking stupid - ESPECIALLY if you have 60 TB of data, since there is NO way that your migration will be trivial, small, or easy.

      A "drop in replacement" will still need to be tested fully with a critical piece of your infrastructure, and then you're tied to MariaDB - which may not be in your business' best interests any more than Oracle crippling MySQL will be. Deciding to boot MySQL out of your infrastructure based on a couple bits of speculative FUD on the internet is stupid, and a waste of resources.

    3. Re:Useless FUD by Anonymous Coward · · Score: 0

      You've never used MySQL then. It has various backend DB engines. 99.9999% of installs are now on InnoDB, also owned by Oracle.

  10. Re:"will Oracle do something to impede MySQL's dev by Anonymous Coward · · Score: 2, Insightful

    the heck with that, oracle fucked up mysql the moment they bought sun...

    (while some might argue that mysql was first fucked up by sun when they bought mysql..)

  11. Jeff Cogswell is a three-year-old by red_dragon · · Score: 4, Insightful

    My son used to play a silly little match game that he picked up from pre-school when he was three years old. In it, he would take two toys -- cars, action figures, Lego blocks, staple removers, whatever -- hold them in his hands, and ask "Which one are you, X or Y?" After the other person (usually me) answered, he'd act out some sort of epic battle between the two toys in his hands, and then declare one or the other the victor. I always pointed out to him the pointlessness of the game. He didn't care.

    Jeff Cogswell's reviews remind me of that game. They're pointless. He doesn't care. And my son grew out of it.

    --
    In Soviet Russia, Jesus asks: "What Would You Do?"
    1. Re:Jeff Cogswell is a three-year-old by Anonymous Coward · · Score: 1

      I always pointed out to him the pointlessness of the game. He didn't care..

      Instead telling him to stop doing something, you could have told him what he could have done instead. Simply stating something is pointless is pointless.

    2. Re:Jeff Cogswell is a three-year-old by Anonymous Coward · · Score: 0

      making pointless comments about pointless comments is , uh, pointless. But in the spirit of your argument might i suggest you go fuck yourself instead?

    3. Re:Jeff Cogswell is a three-year-old by Anonymous Coward · · Score: 0

      I always pointed out to him the pointlessness of the game

      Christ, that's truly sad.

  12. Oh, come on, just use PostgeSQL by ygslash · · Score: 2

    Where's all the posts proclaiming the infallibility and universal superiority of PorsgreSQL?

    Oh, you're right. There you go then.

    (Seriously, is there a stipulation in the licences that obligates you guys to reply to threads about mysql?)

    Actually, no. It's in the design, the features, and the source code.

  13. Re:Competes? Oracle reminds me of IBM Assembler by cozytom · · Score: 1

    Oracle databases are maybe fast, and maybe allow more redundancy but that comes with extra work.

    MySQL and most of the other commercial databases have richer data types allowing for more a more modern feel.

    Sort of like IBM assembler vs. Java. IBM assembler allows screaming fast apps, but at a cost, when that cost approaches the complexity of a modern language, the playing field levels, and suddenly you are better off writing in Java, since you can maintain the code.

  14. Maybe more important by gmuslera · · Score: 1

    In the latest news around the mysql ecosystem, one thing that was mostly ignored was that TokuDB went open source, adding an important new storage engine to the table. And comparing TokuDB vs InnoDB performance it could matter a lot more (at least, for more kinds of workloads) than switching from MySQL to MariaDB or Percona Server.

  15. It works for us by TheSpoom · · Score: 1

    Anecdotally, we switched to Maria from MySQL during a move to a cloud architecture, and haven't had any major problems with it.

    --
    It's better to vote for what you want and not get it than to vote for what you don't want and get it.
    - E. Debs
  16. Re:Competes? Oracle reminds me of IBM Assembler by Walking+The+Walk · · Score: 1

    MySQL and most of the other commercial databases have richer data types allowing for more a more modern feel.

    I'm not sure what datatypes you're referring to. Enum and Set are kind of neat, but other than that both MySQL and Oracle seem to stick to the datatypes defined in the SQL standards.

    Sort of like IBM assembler vs. Java. IBM assembler allows screaming fast apps, but at a cost, when that cost approaches the complexity of a modern language, the playing field levels, and suddenly you are better off writing in Java, since you can maintain the code.

    Funny you should mention Java - were you aware that Oracle databases provide Java integration? It's kind of like MS SQL Server's dotNet integration. So you can do stuff like add your own Java libraries, or store Java objects directly in the database. I've never used it, but I suppose that would qualify as a "rich data type", right?

    --
    A recursive sig
    Can impart wisdom and truth
    Call proc signature()
  17. MariaDB is more quickly that MySQL: it's true!!! by josepsanzcamp · · Score: 5, Interesting

    I have done some tests some months ago, and I checked that MariaDB solves some problems that MySQL has. The performance is similar using simple queries, but when you write complex queries with subqueries, lots of joins and more, then MariaDB demonstrates the power of their code. I posted an entry in my wiki of the SaltOS project explaining how MariaDB helped to my project:
    - http://www.saltos.net/portal/en/wiki/75/why-use-mariadb-instead-of-mysql.htm

    Josep Sanz.
    The SaltOS project.

  18. Re:Competes? Oracle reminds me of IBM Assembler by Tim12s · · Score: 1

    Had to write a few java classes that executed as part of some trigger and stored proc transactions. I'm actually quite impressed at how well its been working. Uptime is pretty frikken awesome when I look at it somewhere in the order of 2 years.

  19. Re:Competes? Oracle reminds me of IBM Assembler by Anonymous Coward · · Score: 0

    And there's the case to be made that ENUM is a bad data type that should never have been created.

  20. Re:Competes? Oracle reminds me of IBM Assembler by Anonymous Coward · · Score: 0

    agreed it should be either a boolean or another table

  21. make a good switch by Anonymous Coward · · Score: 2, Interesting

    There's been reason to switch from MySQL for 13 years: Postgres.

  22. Re:MariaDB is more quickly that MySQL: it's true!! by EETech1 · · Score: 1

    I'm curious what's meant by drop in replacement, is it as simple as installing the other package, and just pointing it to your database folders, files, configs, SQL query, programs, whatever else is required (forgive me i have limited knowledge here) and launch it with your same scripts with simple swap_the_filename type mods...

    or

    Is there lots of scripting, reconfiguring, importing and testing that needs to be done to make it work the "same"?

    What is meant by drop in replacement if someone was going to make the switch now?

    Cheers / Thanks!

  23. Should I care? by WaffleMonster · · Score: 2

    You sold MySQL to uncle Larry for a lot of cash years ago and now we keep hearing about MariaDB vs MySQL.

    After four years of MariaDB and four years of unsubstantiated FUD about Oracles intentions twoard MySQL you choose to make your case using a photo finish performance graph with no error bars.

  24. Re:MariaDB is more quickly that MySQL: it's true!! by F.Ultra · · Score: 1

    Yes it's as simple as that, you can just open your current database files and configuration files with mariadb instead of mysqld and everything should work, even the old libmysqlclient from MySQL will work to access a MariaDB server.

  25. Re:MariaDB is more quickly that MySQL: it's true!! by toby · · Score: 1

    That post is not very useful or informative. While I would like to believe that MariaDB has done clever things with query planning and execution, it would need a much more rigorous investigation than posed here. For example, he doesn't even explain the form of his queries and the nature of his schema.

    It would also require benchmarking against, say, PostgreSQL, which looks very attractive versus versions of MySQL, for both technical and licensing reasons.

    --
    you had me at #!
  26. Re:MariaDB is more quickly that MySQL: it's true!! by EETech1 · · Score: 1

    Seems like it would be a good thing to be running MariaDB as one of your backups, or test machines just (to show your Oracle support rep:) in case, so if one or the other starts to shine you've seen it working with (replicas of) your data, and know it's compatibility status.

    If it's that easy now, and you had anything close to an important (or large) database someone should be booting both from time to time in testing. It could go either way...

  27. Please stop the MariaDB Marketing Postings by Anonymous Coward · · Score: 0

    Why do we constantly hear about how MariaDB is so great. It is not the only fork of MySQL. Why don't we see more comparisons of Percona and Drizzle, both of which are doing great things above and beyond what Oracle is doing with MySQL.

    Every time I see this MariaDB boosterism, it goes down a notch in my estimation. I'm not interested in the numbers because I know how easy it is to rig benchmarks to make your product look good against the competition. The real world of databases is far more complex than simple benchmark tests would have you believe.

  28. Oracle isn't trying to suck in MySQL users by Anonymous Coward · · Score: 0

    Oracle isn't trying to suck in MySQL users, it really doesn't give a fuck.

    The user's of MySQL have already shown they aren't interested in an enterprise database, otherwise they would have switched to Postgres a long time ago.

  29. Got to love open source by monoqlith · · Score: 1

    It's classic "double-spending" - sure, I'll sell you my GPL-licensed DB! For millions of dollars? Absolutely! Sold!

    I quit! Now let me fork the thing I just sold to you and keep developing it for free-as-in-beer and free-as-in-freedom.

    Sigh. Silly multi-billion dollar multi-national corporation! I'll be really impressed when Monty Widenius sells MariaDB to Oracle. And then quits.

  30. MySQL/MariaDB does OpenCL now? by Christian+Smith · · Score: 1

    The problem is you need to handle two approaches in your parallel programming: (1) Multithreaded across multiple cores, and (2) vectorization. These are the two facets to today’s multicore programming, and your code needs to handle both aspects correctly.

    WTF would you need vectorization in a DB for?

    I'd stake my dog's life that scalability differenes are not down to compiler switches and SIMD instruction selection. Amdahl's law is more likely to be applicable, and as DBs have many serialization points (disk IO, lock management) it is these that are more likely to affect scalability rather than compiler flags. Xeon Phi? Come on!

  31. You have *every* reason to switch... by Anonymous Coward · · Score: 0

    to PostgreSQL.

    (Anti-spam nonsense.)

  32. Re:MariaDB is more quickly that MySQL: it's true!! by josepsanzcamp · · Score: 1

    Are you refering to my comment about that it's true that MariaDB is more quickly that MySQL??? if true, continue reading, please:

    For my tests, I used the same computer and the same DB files. The procedure was install and uninstall MariaDB and MySQL to have a comparable system. You can check the complexity of the queries and the database schema if you download the source code of my application (search directly the XML files that contain all db schema and queries used by the application). If you want more information about the queries, I can send you a database and a report with the queries, the benchmarks of the MariaDB and the benchmarks of the MySQL. I collected this information when I contacted with Monty to explain my results of the test and congratulate by their improvements.

    Josep.

  33. MySQL Performance by Anonymous Coward · · Score: 0

    For performance results just get a look here: http://dimitrik.free.fr/blog/archives/2013/02/mysql-performance-mysql-56-vs-mysql-55-vs-mariadb-55.html

    And to understand what was wrong in the test results provided by MariaDB look here: http://dimitrik.free.fr/blog/archives/2013/02/mysql-performance-analyzing-benchmarks-part1-mysql-56-and-mariadb-55.html

    What else?..