Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Databases Programming Software IT

MySQL Readies Release Candidate For 5.1 168

Anonymous Dolphin writes "MySQL has released plans for a final RC for the MySQL 5.1 server. Monty Widenius, the CTO and founder of MySQL, has put up a request for more feedback from the community. You can get the latest RC here. Please help with the testing of 5.1 and report your bugs here."
This discussion has been archived. No new comments can be posted.

MySQL Readies Release Candidate For 5.1

Comments Filter:
  • Sigh. Forgot Link. (Score:5, Informative)

    by weston ( 16146 ) * <westonsd@@@canncentral...org> on Wednesday July 16, 2008 @08:43PM (#24222085) Homepage

    MySQL XML Functions [mysql.com].

  • Re:nice feature set (Score:5, Informative)

    by Bill, Shooter of Bul ( 629286 ) on Wednesday July 16, 2008 @09:29PM (#24222503) Journal
    Not exactly. 5.1 introduces row based replication as opposed to the statement based replication that is incompatible with the new behavior. Statement based replication has the slaves execute the exact same statement on the slave. Row based just passes the new values of the modification to the slave.
  • Re:Hosting providers (Score:2, Informative)

    by mattmcm ( 1143125 ) on Wednesday July 16, 2008 @09:33PM (#24222543) Homepage

    1and1 allow you to choose both 4 and 5. You choose the version when creating a database on their management page. I don't know about other webhosts, though.

  • by Bill, Shooter of Bul ( 629286 ) on Wednesday July 16, 2008 @09:35PM (#24222553) Journal
    You haven't kept up. Sun stated that nothing was going to change with the license. The "closed source" portion had already been released under the gpl and Sun said it would stay that way. In Fact they just moved from the closed source bitkeeper to bazaar for source code control, allowing anyone to track their progress.

    PostgreSQL is a fine Database as well. MySql just seems to be used more in web environments.
  • by landonf ( 905751 ) <landonf@plausible.coop> on Wednesday July 16, 2008 @09:42PM (#24222635) Homepage

    I'm unfamiliar with MySQL's partitioning -- is it radically different from postgresql's partitioning [postgresql.org]?

    I'm using inheritance to implement table partitioning with a rather large (50+ gig) PostgreSQL/PostGIS database. Constraint exclusion [postgresql.org] allows the query planner to use CHECK constraints to avoid even looking at tables where conditions contradict the constraints.

  • Re:Hosting providers (Score:5, Informative)

    by xiaomai ( 904921 ) on Wednesday July 16, 2008 @09:44PM (#24222657)

    This isn't really true of an upgrade from Mysql 4.x -> 5.x. MySQL changed some things (notably their JOIN syntax) to make them more compliant with the ANSI standards. So assuming you're dealing w/ PHP/MySQL programmers that only knew the MySQL way to do joins, their applications may break on upgrade.

    For more information, see the section entitled "Join Processing Changes" here:

    http://dev.mysql.com/doc/refman/5.0/en/join.html [mysql.com]

  • If you're going to switch databases over the issue, you might as well consider other options, like Firebird: it's also free, I do believe the timestamps have better-than-second precision (at the very least it insists on showing me 4 extra digits I never use for anything), and it's certainly easier to install, setup, and admin than PostgreSQL (IMO). It has limitations, of course, and you should be careful to read the fine print, as you would with any product selection. I would worry that you're using some particularly esoteric features of PostgreSQL that won't translate well to Firebird, but if MySQL is even an option for you, that's highly unlikely.

    Slashdot declined to carry the story I posted on it (yeah, yeah, grousing...), but Firebird 2.1 (release) came out three months ago, with some really nifty features like on-commit triggers that let you enforce constraints no other database will help you enforce (that I've seen -- Oracle certainly won't.) It rocks.

    Your mileage WILL vary, but I'd recommend at least checking it out. Either http://www.ibphoenix.com/ [ibphoenix.com] or http://www.firebirdsql.org/ [firebirdsql.org].

  • by level4 ( 1002199 ) on Thursday July 17, 2008 @04:14AM (#24225133)

    I have checked out Firebird in the past and it looks great - but there's a huge chicken and egg problem. Basically, to adopt a DB requires that it be supported in the languages I use - and for scripting this kind of thing I use Ruby. I can't find any firebird support, native or otherwise, for Ruby, let alone support in the more high-level libraries like ActiveRecord or DataMapper.

    I'm not trying to put down the project - it looks great. But I can't possibly afford the time or resources to develop all my own libraries from scratch. That might sound selfish, like I'm all take and no give, and expect everything to be packaged nicely just for me - but I don't think so, I contribute where I can. I just can't do that kind of thing alone. I have deadlines and a budget, and to try to trailblaze a new path supporting a newish, as-yet pretty obscure DB would be suicidal.

    If firebird really pans out and becomes a (widely accepted) viable alternative to the "majors" I will be there contributing patches and doing what I can. But I can't be the lone crusader who starts down that path. To be brutally honest, judging from past experience, it will probably have to be the developers themselves who start that ball rolling.

    For now, the path of least resistance for me (and MANY others) is to stick with PGSQL. Changing DBs is not the big deal you might think, since I have access to all the above-mentioned tools - I could change to MySQL in just a few hours of work (and then a few more hours for the imports to finish/propogate!), just like I switched to PGSQL when MySQL's timestamp limitation became a big problem. No big deal, and I generally keep everything DB-agnostic. Switching to an unsupported (by my favourite libraries) database would be a very big deal, however, and I just don't have the resources, or - frankly - a good enough reason.

    Thanks for the suggestion though and I will definitely keep an eye on the project.

  • by Tim C ( 15259 ) on Thursday July 17, 2008 @06:52AM (#24225853)

    And anyone who likes to bitch about MySQL deserves an Oracle bill.

    Or they could use Postgres...

  • Actually... (Score:3, Informative)

    by encoderer ( 1060616 ) on Thursday July 17, 2008 @08:51AM (#24226659)

    ...The only thing that really "breaks" from 4 > 5 is database permissions.

    And most (all?) shared hosting are handling permissions at their admin level by necessity.

    The first time I did this upgrade, probably 2005 or so, I was genuinely surprised at how painless it is.

    And the pain-points that are left are SO worth it. MySQL 4 is a toy. It's worse than Access.

    And we're not just talking about the lack of "advanced" features like triggers, sprocs, udf's. We're talking about no support for things like nested SELECT's. It's atrocious. The query optimizer is absurd. IIRC, there is actually a performance difference if you join in the WHERE clause opposed to an explicit join in the FROM clause. Now, I'm all for "proper" sql, meaning joins SHOULD be explicit. But the fact is that this query:

    select u.fullname, p.phonenumber from users u inner join phonenumbers p on u.userid = p.userid

    is logically identical to:

    select u.fullname, p.phonenumber from users u, phonenumbers p where u.userid = p.userid

    and for a query optimizer to create a different query plan for them is just inexcusable.

    MySQL 4 is the reason so many people think poorly of the DB.

Without life, Biology itself would be impossible.

Working...