Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Databases Programming Software Bug IT

MySQL 5.1 Released, Not Quite Up To Par 175

Mad Merlin writes "It's no secret that MySQL 5.1 has been a long time in the making, with the first beta release being in Nov 2005, but MySQL 5.1.30 has finally been released as GA. MySQL users can expect new features such as table/index partitioning, row based replication, a new plugin architecture, an event scheduler and a host of performance improvements from 5.1." Monty also had a blog post outlining some of the challenges faced in 5.1, including crashing bugs and a beta quality to most new features.
This discussion has been archived. No new comments can be posted.

MySQL 5.1 Released, Not Quite Up To Par

Comments Filter:
  • by toby ( 759 ) * on Monday December 01, 2008 @01:30PM (#25947309) Homepage Journal

    Ryan Thiessen, a long-time 5.1 user, strongly rebuts Monty on his blog. [hideandsql.com]

    I would go further and suggest that the MySQL organization has if anything been too conservative about declaring 5.1 GA. ...

    I have been developing for and administering MySQL 5.1 production instances for 18 months, ... we have not seen *any* table corruption or random server crashes relating to mysqld, despite having tables with hundreds of million of rows. ...

    Obviously 5.1 is not a perfect release. Quality is critically important to a database and I hope MySQL/Sun takes note of Montyâ(TM)s concerns, ...
    However in my opinion MySQL 5.1 a very good release, long ready for general production usage.

  • well (Score:3, Interesting)

    by stoolpigeon ( 454276 ) * <bittercode@gmail> on Monday December 01, 2008 @01:31PM (#25947329) Homepage Journal

    maybe they are just trying hard to be more like the commercial enterprise databases. my experience with oracle was that they have a lot more bugs than this - it's just you can't actually find out about them until you call support. Then you find out they have known about it for some time, they just don't publish it. They hide all this stuff instead and only let certain things out.

  • by dfdashh ( 1060546 ) on Monday December 01, 2008 @02:03PM (#25947923)
    With all due respect to Ryan, I agree with Monty here. Not just 5.1, but the whole MySQL 5.x tree has been shipping with release critical bugs. What's more, some of those bugs (like the one [mysql.com] that has been open since 2003) have lowered priority now because "people know about them."

    It sounds like MySQL could benefit from a more debian-like release criteria [debian.org].
  • Re:Wow (Score:5, Interesting)

    by mooingyak ( 720677 ) on Monday December 01, 2008 @02:06PM (#25947999)

    I think his argument is more marketing/PR driven. His main point is valid, in that MySQL claims simplicity/lightness when they don't have the features, and claims maturity when they add them.

  • Re:news flash (Score:5, Interesting)

    by scribblej ( 195445 ) on Monday December 01, 2008 @02:09PM (#25948055)

    Oh, I agree, every product that's ever shipped has shipped with bugs.

    But you gotta put this all in perspective, some glib talk about how everyone is equal in the eyes of bugs just doesn't apply here.

    First off, the context. We're talking about a database, your warehouse for your most valuable asset. This is not a place where you want to encounter mistakes, and caution is the word. You might hear excuses for some, but those people are idiots. This is /inexcusable/.

    If you read the article, the things he says basically boil down to "this product is as stable as a house of cards and if you use it, treat it with all the care and caution you'd give a newborn child." I'd love to pick an excerpt from the article and copy it here, but it's just TOO RICH. Every single thing this "Monty" says would make your average MySQL apologist cringe, and makes normal people and DBAs stomachs turn.

    Honestly, I think I'm gunna be sick. I don't care if MySQL is a good product or a bad product as such, I only use it for stupid things that do not matter at home, like my MythTV, never ever on anything that could be called "production." But having read this article and gotten a picture of what is, evidently, the thoughts of the minds supporting the creation and use of MySQL, it makes me ill. These people should just come out and say "there's no explanation we can give, this is crapware and we're really sorry if you got hosed by it. Don't use it at all if you aren't already." Instead this guy bends over backwards to explain how this broken database is actually quite useable, and ready for "general production" - how that's different from just "production" is clear: apparently "general production" refers to systems with zero value (less than my MythTV box, which will NOT be getting an update to this version).

  • by Sxooter ( 29722 ) on Monday December 01, 2008 @03:21PM (#25949447)

    It just has them on a different scale and there's a different release. If you look through the past release notes for pgsql, you'll see that occasionally one release would come out with some horrific server crashing bug, get reported and get fixed.

    Now, the timeframe is what is the key. For MySQL there are server crashing bugs that have been in place since 2003 or before.

    For PostgreSQL, once such a bug is documented and reproduce-able, it is generally squashed in hours, days, and occasionally, for really complex problems, in a week or so.

  • by quantum bit ( 225091 ) on Monday December 01, 2008 @05:13PM (#25951325) Journal

    I've used MySQL for years...

    The same thing in MySQL would have taken me thirty seconds now, and no more than 15 minutes when I was starting out. With Postgres, it took me upwards of 20 minutes when it should have taken much less time.

    That's because you know MySQL, so of course something that works differently is going to be more work for you to figure out.

    I've used PostgreSQL for years, when I had to set up a MySQL database for some php app it took much more than 15 minutes to figure it out and get it running. The primary problem was MySQL's obtuse user management system.

    With PostgreSQL I know that it's secure by default -- the default user has no password, so even if you enable password authentication it won't work (because it has no password!). You log in locally with trusted authentication, and issue the very logical CREATE USER. Edit the self-documented config file to allow remote hosts to access the database using your preferred authenticaion method, and you're done.

    With MySQL, new users are automagically created by the GRANT command?! Huh? On top of that, passwords are apparently specific to a certain host string. Bizarre. Do I need to use localhost for the actual machine name for local users? What about remote machine without a reverse DNS entry? What's the order of precedence for '%' vs a more specific name?

    Oh, the default 'root' account has no password ...and allows access over the network. Wonderful. Okay, so to change that do I use root@% or root@computer? How do I know I changed the right one and there isn't still some root@something entry? SHOW TABLES is easy enough, how about SHOW USERS? Nope, that's not it.

    Time to check the startup guides. Well, one just has a single password change, another has 3 or 4 lines of 'delete from user...'. The reference for GRANT just has a bunch of caveats and warnings, and the "User Account Management" section goes on and on and somehow doesn't manage to tell me what I want to know.

    To this day I'm not 100% sure if the MySQL install is secure. I decided my time would be better spent eliminating the MySQL-isms from the app in question so that it can run on Postgres like everything else on the server. There are some very strange queries in there - a lot of GROUP BY expressions that make no sense and aren't valid SQL. Some of it I'm not sure how it ever worked.

  • Re:Pet peeves (Score:2, Interesting)

    by quantum bit ( 225091 ) on Monday December 01, 2008 @05:43PM (#25951725) Journal

    -Does it silently accept CONSTRAINTS other than FOREIGN KEYs and then not use them? ...

    Why is ignoring FOREIGN KEYs okay? A constraint is a constraint, IMO.

    Last I checked FKs worked, if you're using InnoDB, and then only kinda (no deferred checking, which is the SQL standard default).

  • by nluv4hs ( 1422261 ) on Tuesday December 02, 2008 @02:15PM (#25962751)
    I know the subject sounds inflammatory but I have hard numbers and a simple, yet realistic example. I would like it if someone would show me how to coax MySQL to perform as well as PostgreSQL for this simple query. It's been over two months since I posted this problem in two very [mysql.com] public forums [mysqlperformanceblog.com], with no response from the MySQL community. Would someone please stand up for MySQL and save it from looking weak here?!

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...