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."

3 of 339 comments (clear)

  1. 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.

  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.
  3. 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.