NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
once again proving... (Score:2)
I can't recommend MySQL for any new installations any more.
Re:once again proving... (Score:3, Insightful)
For people who are migrating a simple schema (e.g. no triggers, no stored procs), MySQL is certainly an acceptable and a defensible choice.
I'm quite surprised to see someone who waves the TMTOWTDI flag and actually teaches the principle of TMTOWTDI to paying students assert that there is only one real choice in the rather vibrant world of open source RDBMS servers. Asserting that PostgreSQL is the only "real" open source database is just spreading FUD and snobbery. The situation changes quickly, and MySQL development versions support stored procs today, so I'd expect to see them in production later this year. Surely the story for triggers is similar.It's been a long time since I looked at it, but Firebird [sf.net] certainly deserves a look.
And lots of people need a simple, fast SQL database engine. In situations with many readers and few writers, MySQL is a perfect solution. (Yes, it's ACID compliant...) If I had a high throughput problem I needed to solve, I'd look at MySQL before PostgreSQL any day of the week.
Then there are the people who need embedded databases. I'm using SQLite [sqlite.org] for a few projects I'm working on at the moment. After talking to David Axmark last week, I'm seriously considering switching to embedded MySQL. I don't think embedded PostgreSQL is an option. Interbase used to be embeddable; I don't know if Firebird is.
Um, there are plenty of reasons to recommend MySQL for new installations. Not everyone makes decisions on a pure technology basis or even from a my feature list is bigger than your feature list perspective.MySQL has a much more vibrant user community around it. Someone who is not a dba and doesn't want to become one is more likely to find an anwer to a MySQL dba question much more quickly than they would a PostgreSQL dba question. Why? Because practically everyone and their pet rock have some experience with MySQL. Plenty of smart people have no hands-on experience with PostgreSQL. Sure these issues aren't difficult to figure out, but a lot of people don't have an answer on the tip of their tongue, nor do they know if a problem has a 30 second fix, or if they need to spend 15 minutes reading the docs to find the 30 second fix.
And don't even get me started with add-on tools that are available for MySQL but not PostgreSQL. Add all that up, and it makes MySQL a much better fit for a set-it-and-forget-it type installation.
For someone who is just playing around, MySQL is also a better choice than PostgreSQL, because there are more books, articles and websites aimed at learning database theory centered around MySQL than SQLite, Firebird, PostgreSQL or Joe's SQL. (This is the Torkington Principle applied to databases: «MySQL is a great first database to learn, but PostgreSQL is the last database you ever need»)
Reply to This
Parent