Slashdot Mirror


MySQL 5.0 Candidate Released

Brian "Krow" Aker (Former Slashdot Coder now MySQL Employee) writes "I am pleased to announce the release candidate for MySQL 5.0. This version has been in development now for three years. We have worked to add update-able views, ansi stored procedures, and triggers. In addition we have added a number of fun features that we are experimenting with and resolved issues with bad data inserts (which personally annoyed the hell out of me when we rewrote Slashdot a couple of years back so I am happy to see this issue go away). We look forward to feedback on the candidate and will show some love for bug reports."

19 of 339 comments (clear)

  1. Time for new comparisons to be made. by CyricZ · · Score: 4, Interesting

    It's time for somebody to do a new, impartial study regarding the performance and feature benefits of this new release of MySQL, PostgreSQL, Firebird, SQLite, and perhaps other open-sourced relational databases.

    --
    Cyric Zndovzny at your service.
    1. Re:Time for new comparisons to be made. by tdemark · · Score: 5, Interesting

      And of course you can't include Oracle in any impartial study.

      You could, except for the fact that the license you just paid thousands per CPU for doesn't allow you to publish the results.

    2. Re:Time for new comparisons to be made. by ajs · · Score: 4, Informative
      From the linked article,
      "The standard Oracle license agreement normally prevents users from publishing benchmark results." -http://www.orafaq.com/faqora.htm#SPEED
      Clear enough?
  2. Is it a "real" database yet? by digidave · · Score: 4, Interesting

    Every time any database is mentioned on Slashdot we get a load of comments about how MySQL is not a "real" database because it doesn't support {insert random feature here}.

    Is it a real database yet?

    --
    The global economy is a great thing until you feel it locally.
    1. Re:Is it a "real" database yet? by codesurfer · · Score: 5, Interesting

      I'd say so...despite the detractors, I've been able to use MySQL for many highly trafficed sites, and heavily used applications. Does it have the full robustness of Oracle? Of course not, but it also does not come with the accompanying price tag. Choice of db software is just that...a choice. I can envisage situations in which I may prefer having Oracle, but to be honest, MySQL addresses most day to day situations more than adequately. It's a real db, IMO.

  3. Examine t he license carefully!! by scorp1us · · Score: 5, Informative
    After the 3.x series, the license changed drastically. Of course you won't find this discussed much. The permitted uses of MySQL as GPL are significantly reduced. You can only use MySQL in conjuction with OSS. Previously, you could use MySQL in a non-GPL environment under several permissive conditions. The new license is so restrictive now that a special exception is made for PHP

    Specifically:

            * MySQL is free use for those who are 100% GPL. If your application is licensed under GPL or compatible OSI license approved by MySQL AB, you are free to ship any GPL software of MySQL AB with your application ('application' means any type of software application, system, tool or utility). You do not need a separate signed agreement with MySQL AB, because the GPL license is sufficient. We do, however, recommend you contact us as there usually are good opportunities for partnership and co-marketing.


            * Under the Open Source License, you must release the complete source code for the application that is built on MySQL. You do not need to release the source code for components that are generally installed on the operating system on which your application runs, such as system header files or libraries.


            * Free use for those who never copy, modify or distribute. As long as you never distribute the MySQL Software in any way, you are free to use it for powering your application, irrespective of whether your application is under GPL license or not.


            * You are allowed to modify MySQL Software source code any way you like as long as the distributed derivative work is licensed under the GPL as well.


            * You are allowed to copy MySQL binaries and source code, but when you do so, the copies will fall under the GPL license.


            * Optional GPL License Exception for PHP. As a special exception, MySQL AB gives permission to distribute derivative works that are formed with GPL-licensed MySQL software and with software licensed under version 3.0 of the PHP license. You must obey the GNU General Public License in all respects for all of the code used other than code licensed under version 3.0 of the PHP license.


            * FLOSS License Exception. We have created a license exception which enables Free/Libre and Open Source software ("FLOSS") to be able to include the GPL-licensed MySQL client libraries despite the fact that not all open source licenses are compatible with the GPL (this includes the PHP license version 3.0). Read more about the FLOSS License Exception.



    Considering the new license and still lacking features, there is little reason to use MySQL. Postgres has "all that anda bag of potato chips."

    --
    Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
    1. Re:Examine t he license carefully!! by Scarblac · · Score: 4, Interesting

      In short:

      • If you don't distribute MySQL, you're under no restriction whatsoever
      • If you do want to distribute, MySQL is GPL
      • Besides, MySQL goes out of their way to give you even more freedom to distribute it if you want to bundle it with stuff that has one of several incompatible licenses

      Sounds good to me!

      --
      I believe posters are recognized by their sig. So I made one.
    2. Re:Examine t he license carefully!! by jadavis · · Score: 4, Insightful

      If you do want to distribute, MySQL is GPL

      The problem is that the client library is GPL, not LGPL as one might expect.

      That means that any application that you distribute that can access a MySQL database must be linked against the MySQL library, which is GPL, forcing your application to be GPL.

      Most people don't consider adding MySQL support to their application to be "distributing MySQL".

      --
      Social scientists are inspired by theories; scientists are humbled by facts.
  4. Re:How does the source code quality compare? by JohanV · · Score: 4, Informative

    How do you want it to compare?

    Source code quality is not easy to compare. At a first glance, MySQL is doing very good. They have this nice blurb about only having 1 defect in 4000 lines being more then 4 times better then with most commercial software. But if you dig deeper, you notice that PostgreSQL has been tested by the same company and only had 1 defect in every 39000 lines of code. Wow, so PostgreSQL must really be a lot better then MySQL.
    But if you dig even deeper, you will find some explanation from a PostgreSQL developer and you remember what your mother told you about lies, damned lies and statistics.

    You want to know about source code quality? Go read the source.

  5. I think you miss the point by Fished · · Score: 5, Informative
    The point is not whether MySQL is a "real" database. Clearly, it is a real database that is capable of doing real work.

    The point is that, even in recent versions, MySQL has some serious limitations that other OSS databases (e.g. PostgreSQL) do not suffer from, and no really significant corresponding advantages. MySQL was not designed from the ground up to be many things it is now trying to be--it was not designed to support transactions, it was not designed to support foreign keys, it was not designed to support stored procedures. It was initially conceived as a small, fast database for managing very large datasets in a warehousing sort of role. PostgreSQL, on the other hand, was always conceived of as being a heavier-duty database, and this shows in terms of feature completeness and SQL standard compliance.

    Given that the performance differential (which was always overstated) has been overcome, why would you want to go with MySQL only to discover what the latest feature to be missed was? What's the advantage to MySQL?

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  6. Please stop the MySQL Bashing... by Anonymous Coward · · Score: 4, Informative

    Before all the MySQL bashing starts can we please stop and have an intelligent conversation? The bottom line is that MySQL works great! For all those people who say .. "ya its a kids toy" well look at some of the sites and companies that are using mysql.. "Friendster" , "The Friendfinder network" , "Yahoo!" .. These sites each have millions of active members and are running just fine. Where else can you load up a 50+ database cluster and not have to shell out a fortune on licensing fees? All the developer tools are great!!

    1. Re:Please stop the MySQL Bashing... by generalpf · · Score: 4, Interesting

      The MySQL guru at Yahoo! -- Jeremy Zawodny -- wrote an O'Reilly book on the different hacks and scrapes they needed to make MySQL perform properly. It's full of anecdotes of MySQL brainf**kery and whatnot. If you consider Yahoo! using MySQL to be an endorsement, try reading High Performance MySQL.

  7. Re:Having worked with oracle 10i for the last year by kpharmer · · Score: 4, Insightful

    > And Oracle 7 for the two years before -- in a not-so-large database -- I think there is not much to fear...

    Actually, no: many databases these days are now supporting various types of logs - in which you've got tables with tens of millions of rows. Oracle and DB2 have the following in place to support massive tables:
    1. query parallelism - that provides linear performance improvements up to 4 cpus or so
    2. data partitioning - that allows the database to just scan data needed, rather than entire table when indexes aren't appropriate (b-tree indexes only work for around 1-3% of data)
    3. materialized views - in which views actually hold data - and this data is kept up to date by the database server. Often used for summary tables.
    3. query rewrite - in which your queries are automatically re-written to apply to a summary table (see materialized view) if one exists.
    4. clustering - in which data spans multiple servers, and all servers work together on your query.
    5. smart optimizer - intelligent score-based optimization responsible for determination of best access paths for your queries.

    With the above features db2 or oracle can drive 40x the performance of mysql or postgresql in a reporting application (or transaction one with a few large scan-oriented tables) on identical hardware (say a 4-way SMP). If you didn't see an impact from these features then either you have one of the fairly rare apps that can't benefit, or you should revist the design.

    Don't get me wrong - I really like postgresql. But neither it nor mysql is even in the ballpark for performance on db2 or oracle. Nor is the price much different - db2 is only around $700 for 4/5 of the above features on a 2-way smp vs $500 for mysql. Eventually mysql & postgresql will support these features. But it'll probably be five years before they are working well.

  8. And despite the fact that I feel postgres... by MrBandersnatch · · Score: 4, Interesting

    is often the better database solution, I'll still be using MySQL. Why? Well a quick search on cwjobs shows 188 jobs requiring MySQL experience vs 7 for postgres!! Its a real shame but having used the best tool (C++ Builder) for my last job and then being unemployed for @2 years because people wanted either VC++ or Unix based C++ experience; I *WONT* be making the same mistake again!

    Anyways, that said, Ive already played about with 5.011 and apart from the yukky syntax one has to use to support transactions it seems quite stable. Its might have taken a long time for them to finally make it a "real" database product but it seems good enough for small databases.

    One of my next jobs is to test it with 10 million + records and see how it performs though so my assessment may be premature...

  9. Re:What about those [MySQL] gotchas? by minginqunt · · Score: 5, Informative

    No true.

    Those gotchas all (mostly) go away if you run MySQL 5.0 in strict mode. Compatibility mode is provided for 4.1 and back-asswards behaviour if you need it.

    See: http://dev.mysql.com/doc/mysql/en/server-sql-mode. html

    Martin

  10. A database is not a GUI by msobkow · · Score: 4, Interesting

    The only so-called "database" that emphasizes it's GUI is Access. Every other vendor/product I'm aware of relies of separation of duties and doesn't try to roll user interfacing into what is rightly a back-end service.

    Administration tools for commercial and OSS databases may be easy for small sites and novice DBA's that don't know their tools, but large applications rely on database scripts to handle configuration, not GUIs. The reason is simple: you can't put a mouse click into CVS/RCS/SCCS/???.

    --
    I do not fail; I succeed at finding out what does not work.
  11. Read the fine print... by Decibel · · Score: 4, Interesting

    AFAIK the clustering and load balancing 'solution' for MySQL means your entire database has to fit in memory. Not very practical...

  12. Re:I see a problem by bwalling · · Score: 4, Insightful

    Hmm... I'm no database person but if you're creating a table that only allows a value of up to 127 and go over that, I would expect it to give you 127. What would a real database do?

    Return an error and don't make the insert.

  13. ODBC by abulafia · · Score: 4, Informative
    Now, my one pet-peeve in this area is that there is no linux equivalent of ODBC.

    There isn't?

    I just finished a project that accesses SQL Server from a Linux/Apache/mod_perl app using ODBC via the FreeTDS drivers. (Don't ask, client requirement.)

    Granted, not all of the unixodbc drivers are free. But then, they aren't in MS land either, although you might not notice because you're paying for them via a bundle.

    --
    I forget what 8 was for.