MySQL 5.1 Improves Performance, Partitioning, Bug Fixes
kylehase writes "CIO.com has a writeup about MySQL's 5.1 release planned for next week. Among the enhancements are many bug fixes from 5.0, some of which may increase performance 20% or more, as well as 'partitioning, events scheduling, row-based replication and disk-based clustering.'"
MySQL has nearly caught up to PostgreSQL in terms of features.
PostgreSQL's Generalized Search Tree (GiST) indexing is still better than anything MySQL has to offer, in terms of performance and capability.
The PostgreSQL OpenFTS full text search engine is another marvel of engineering. It routinely outperforms similar extensions for MySQL in terms of performance, memory usage, and concurrency.
I hope that an upcoming release of MySQL deals with the maximum field size problem. With PostreSQL, there is a max field size of 1 GB. For MySQL, it's a mere 50 MB. For textual representations of certain geographic system data, it's not unusual these days to have individual fields that need to store 500 to 600 MB of data. PostgreSQL handles these fields fine. MySQL fails.
AKA: Here comes the suck!
I am really looking forward to disk based clustering in MySQL. I have tried the NDB clustering, but the hardware requirements can be hefty. I am also curious about performance in this area. Contrary to what one might assume, the in-memory clustering is generally slower than storing the files on disk. I am curious how the disk based clustering fares compared to NDB clustering and a traditional on-disk MySQL DB.
Do they still insist that simply connecting to the server process requires a commercial license if you aren't GPL?
In my opinion, the day MySQL will have a fully programmable front end...I mean one that a programmer can add business logic to, program input masks, direct functionality at widget or control level and use to generate customized reports depending on various metrics, MySQL will kick ass. Right now, all front ends to MYSQL suck big time and there does not appear to be an end in sight - sadly.
SQL Maestro is very promising but it's not free!
I would simply like to point out that this MySQL update is completely irrelevant because PostgreSQL has had (g_adams27, fill this part in before submitting) for a very long time, and MySQL is simply playing catchup.
...
And now I would like to strongly disagree with g_adams27, who obviously doesn't realize that MySQL is an excellent choice even compared with PostgreSQL, and I wish he'd stop making silly comparisons.
...
In response to that, I say: g_adams27, SHUT UP! You obviously don't recognize the fatal flaws that MySQL still has, in that it still can't (fill this part out later) even after years of development. PostgreSQL is obviously the superior option, and you can take your stupid MySQL advocacy somewhere else.
...
Oh, yeah? Well maybe YOU should shut up! I can't say I'm shocked at g_adams27' mean-spirited response, because that's typical of PostgreSQL jerks. MySQL is AWESOME, and YOU need to shut up, jerk!
...
Well, g_adams27, maybe you should take your TOY MySQL and go play with your dollies, while us REAL sysadmins use a REAL RDBMS to do REAL work! Idiot.
...
And now, allow me, g_adams27, to step in to the middle of this debate and simply point out that you're BOTH right, and that MySQL and PostgreSQL are perfectly good choices.
Just doing my part to shorten this thread.
On that same note, I would like to say the emacs is way better than vi. That's right. You heard me. Bring it! :P
Well, there's spam egg sausage and spam, that's not got much spam in it.
yes! what a great month, with kubuntu 8.04's release also soon... oh man, new toys! :D
Tokyo Robot Lords! Smile! Taste Kittens!
Was painful to port the VC project files from the 5.0.45 release to compile the 5.0.51a. The funny think is that it adds some additional binaries which are not available through the makefiles at all.
If you don't stop using MySQL I'm going to tell the teacher! Also you're a poopy head locks no returnies!
I hate printers.
By golly. Over a hour after this story popped up and there were only 37 comments posted. You perform magic with your words of wisdom, g_adams27!
Events scheduling? Row-based replication? Disk-based clustering? Back to the textbooks...
Not to start a flamewar, but how many of the aforementioned features does PostgreSQL already have (available or planned)?
Note that I am not asking which DBMS is better for any definition of "better".
Comment removed based on user account deletion
We've already started a migration from MySQL to Postgres, and we're not going back. Full Text Searching was one of the features, but Postgres all round just has a lot more to it. You can make the thing look like an Oracle database if necessary, there's auto vacuuming now, asynchronous commits and a ton of other performance improvements that don't skimp on features.
I really can't see why anyone would choose MySQL now, apart from inertia and backwards compatibility.
Here's what the f'ing "let's use commas for all of it despite that it's grammatically wrong - 'coz everyone else does so" headline expands to:
MySQL 5.1 improves performance, partitioning and bug fixes.
Total brainpower.
I do use databases for various apps and projects, but only enough to do what I need. I am by no means a DB expert.
So, can someone more DB-literate explain some of the new features?
- Disk based clustering: I assume this means I can dynamically expand the size of my database by adding more disks. Is this correct? Does PostgreSQL also support this (my project where this would be handy currently uses pgsql)?
- Partitioning: I can think of several things this could mean.. Splitting data among several tables at some logical dividing point. Or, limiting the size of tables so they can't overrun the complete storage space. What does this mean in MySQL 5.1 terms?
I must say, I've been sitting at this PostgreSQL machine at this contract web design gig, and I don't know what all of you Postgres people are talking about! I started this 100 row SELECT statement 20 minutes ago, and it STILL hasn't finished. MySQL has it's problems, but seriously, guys!
Always look over your head for joke before replying. I wish I could find a link to the original post.
Don't blame me, I voted for Baltar.
When will people realize the licensing issues are *solved* now?
Surely, I can see clueless people 100 years from now still bitching about MySQL's licensing terms.
I was about to say 13256278887989457651018865901401704640, but it appears this number is private property.
Did they fix perf in subselects and multi-way joins? No? Didn't think so.
As a heavy user of Mysql since 4 series, 5.X has been the buggiest, slowest, with the most god-awful slow release schedule of them all. 4.1 alpha was higher quality in terms of bugs/stability than all the stable "5.0" releases and 5.1 just takes forever to get even beta revisions out the door. Mysql is getting slower and slower at getting releases out the door. Expect Mysql 6.0 in 2011 if not later.
I'm a paid mysql enterprise subscriber and I'm pissed at their pace.
It's one thing to have a slow stable release but for crying out loud, shorten your "beta/rc" releases please? The amount of bugs fixed between each release is staggering which is why the bleeding edge adopters need faster releases!
The whole Slashdot article commenting process distilled into a single comment. With this, my "Library in a Book", and my "Election in an Argument", I will Take Over The World! MUAHAHaHahaha! Somehow...
...yellow number five, yellow number five, yellow number five...
Let's not start another religious war on slashdot!
http://www.kottke.org/98/11/my-mac-sucks would be the link you're after.
I found it somewhat amusing that I'm reading this thread as I'm working on a project that uses Postgres on Mac. I came here to post the same joke but you beat me by a long shot.
todo: insert joke about my Mac taking over 20 minutes to post a comment
Actually, all tea needs to be baked or roasted. http://en.wikipedia.org/wiki/Tea#Processing_and_classification
In our org. we use both databases. Both have pro's and cons. The trick is to know the limitations of each, and based on that choose the best DB for a specific task. Some times you will go with MySQL, other times with PostgreSQL.
Personally I am probably a little biased toward MySQL - because I know it very well. A lot of the comments (negative wise) on MySQL in this thread simply is not true - or the user just had some very bad luck. We run several instances that run over 500 queries per second, and apart from scheduled maintenance, I only had a handful of DB crashes over the last couple of years - none of which was caused by the DB, and all crashes could be rectified with the standard MySQL tools.
Our busiest server is a IBM x-series, 4GB RAM with about 2TB disk on the SAN. We run 22 instances of MySQL on this one system. The load average on this box is always over 12 (during month ends, going to about 22), but CPU is always manageable.
My biggest gripe's:
* Dev okes blaming the DB when their app doesn't perform (it's always a case of the DBA having to provide proof, and when he does, it's usually contested till the cows come home)
* Forums like this full of DBA wannabees.
Have fun
Need an ISP in South Africa?
It's the wrong tool for the job. At the very best it's a kludge. There are excellent tools out there which are designed with no other purpose than getting data from here to there, there, there and there but RDBMS are not one of them.
Deleted
Because for the second time in a month, I'm running a query in Postgres that poor MySQL was not even able to present an execution plan. Of course, to get the data into PG I had to chain something like 5 filters to clean bad dates, NOT NULL fields with no values, etc.
If you value anything at all your data, stay away from MySQL. I've 15 years Oracle experience in a large Data Warehouse environment. Understand this: for some people, it's better to have bad data than an error message. After 15 years, I prefer to have an error message and a rejected record.
Please the "anecdote from the uninformed, this is not valuable" flaming proceed, on a second tought I even prefer that everybody uses MySQL. That could means a profitable consulting business on how to migrate from it.
I am posting this extract from the doc that introduces a new RDBMS course to Berkley and Carnegie Mellon (Sorry that i don't have a date when exactly it was published!): http://www.sigmod.org/record/issues/0309/4.JHdbcourseS03.pdf -- We considered both of the leading open source systems: MySQL and PostgreSQL. MySQL has the advantage of significant opportunities for student extension, since it actually comes with almost none of the features taught in a typical DB systems course â" it has no cost-based optimizer, no B+-trees, no fine-grained concurrency control, no recovery, no hash joins, etc.[1] By contrast, PostgreSQL already has most of the features usually taught in class. Of course, this it raises (surmountable) difficulties in inventing assignments where students can profitably extend the system with new features. -- And here's the footnote: [1]It should be noted that MySQL can be interfaced to better storage managers like BerkeleyDB and InnoDB for improved indexing, concurrency and recovery support. We felt that using more than one system was a poor option for educational purposes.
Version 5.1 is slower than 5.0.
Idiots?
-- "As a human being I claim the right to be widely inconsistent", John Peel