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.
always something more important (Score:1)
Today I learned even if your going to use php and mysql never store monetary values in euro as a floating point. Actually I knew this already but I'm fixing something by someone who didn't.
Answering the question (Score:1)
Re: (Score:2)
Re: (Score:1)
I would have to agree here. MySQL has warts? Really? Sure it does. That doesn't mean it isn't useful in certain situations. MySQL would not have become as popular as it is if it was crappy and didn't perform well in the area it was designed to run.
Re: (Score:1)
MySQL succeeded because historically it was easier to install and faster than any libre RDBMS, not because it wasnߣt crappy.
Re: (Score:1)
Re: (Score:2)
Sure, for small apps, lack of replication is usually ok and a single DB server works just fine. When you're working on something a little bigger and you find yourself with 30+ DB hosts sitting behind a load balancer, you will be extremely happy with the replication options available to yo
Re: (Score:2)
Postgres replication is still a 3rd party add on, and it doesn't come with commercial support either, oh and it can be backwards incompatible in undocumented ways between releases.
Also it corrupts itself unless you vacuum the databases and is a resource hog.
Despite all that it is still the right choice for some projects, just as mysql is for others.
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re: (Score:1)
For certain problems it's obviously a good choise (in my experience it seems those problems are pretty rare though).
Re: (Score:2)
What libre RDBMS has Commerical Support, proven and reliable replication and backup and a decent GUI?
is obviously such a wrong question.
I work with MySQL and Postgres almost exclusively and have to say that 9/10 times I would choose the former over the latter - especially if I'm clustering.
For all the talk about MySQL corrupting data it remains anecdotal and hasn't really been seen in production, fail to vacuum your postgres however and that's your data corrupted or lost.
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re: (Score:1)
That fits my experience as well. (Also, as a matter of personal preference, I don't care for the PostgreSQL CLI.)
Re: (Score:2)
Did you mean that you haven't seen it in your production environment? I get hit with this all the time and it's terribly frustrating to get pulled away from real work only to find yet another bit of code I have to patch because the MySQL developers didn't think data integrity was important. I know I'm not the only person with this problem.
Why not? (Score:1)
Re: (Score:2)
That's because I've been complaining in this blog about similar issues long enough that I kind of take it for granted that the background is known. That's a bad habit and I thank you for bringing it to my attention.
I started to answer your question but the answer went on long enough that I felt a separate journal entry was appropriate [perl.org].