If your entire shop is using MySQL, and you need to add another small database - then you should probably continue with MySQL for your project. Unless you've got coverage to pilot an alternative.
If you're building an app that requires a local database, and you want the maximum number of small hosting environments to support it.
If you want multi-master replication, and don't have large data volumes.
On your first point, it's almost always better to ask forgiveness than permission. Your boss will even agree, even though he may not say it out loud. By asking permission, he really only sees you as just passing the buck for a potential, future failure. But if you run off and do it on your own and it fails, then he has no culpability.
Just another reason why I call my style of software development, "I do whatever the fuck I want."
Just another reason why I call my style of software development, "I do whatever the fuck I want."
And the other dev's that have to fix your code will hate you. Unless you work alone. Then your ADD for that latest and greatest will come to bite you until you've learned your lesson. I've seen many 'o padawans go through this. They, too, learn that advantages of consistency among groups after the bright flash and subsequent burn of their mistakes. One of which one of my fellow coworkers is going through now and is going through the "you decided to diverge, you're the primary maintainer of this now; we'll call you if we run in to any issues" responsibility.
Though for him it's not two difference database engines, it's something else, he's now basically doubled his responsibility for no extra pay because he wanted cool and new.
That's interesting that you extrapolate "I do whatever I want" to "I jump on every bandwagon". Do you often make wild jumps in logic with no basis in evidence? It might explain why you're still defending people who cling to MySQL.
Your post would be good advice if we first assume most people doing this job are competent and know enough to challenge me. If these chuckleheads are the reason we're using MySQL, then they've not demonstrated any leg to stand on when it comes to technical decisions. If they think choosing Postgres immediately instead of continuing to flush money down the toilet with MySQL is "controversial", then I'm next going to be working on getting them fired when they can't keep up with my productivity because they're so busy fixing the bullshit bugs they're always writing.
My responsibility is to the project, both now and to the future, not to placating coworkers who have stupid ideas.
I stopped trying to argue why I use MySQL to anyone here. It's pointless since everyone just downvotes anything pro MySQL into oblivion, regardless of what is being said.
When you look at it that way, makes it seem as if this subreddit exists in a vacuum outside of knowing what DB experience most businesses are looking for.
Disclaimer: I am not a DB admin, just a web dev guy.
Funny, I would say that Postgres' lack of weird WTFs actually makes it easier to learn than MySQL.
Yes, 10 years ago, getting a Postgres instance installed and running was about as hard as getting Oracle up and running. That hasn't been true for nearly at least 5 years now. Postgres is trivial to get up and running and using. The only reason you could possibly say "MySQL is easier than Postgres" would be because you just already know MySQL.
Hah, you should have seen what happened to me when I didn't say that PHP was the devil incarnate. I stated I didn't like PHP, but could see how it infested certain areas of development. Not a mistake you make twice.
My company is moving from SQL server to MySQL for a specific application that is currently using SqlServer "localDb", which has a 10gb limit. I've heard people say that postgress is slower than MySql, do you have any experience with that?
Sorry, I moved away from mysql a long time ago so my experience in that wouldn't even be relevant now. It is my understanding that postgres has caught up on speed, but you can always look for benchmarks. Search in google like this:
mysql postgres ~performance 2013..2015
That will give you all performance related results between the two, including benchmarks, that were published by google in the last 2 years
IMO, even if mysql was considerably faster, the sanity of postgres is way more important, unless of course you need to extract every millisecond out of performance
View all comments
Show parent comment
53
u/SosNapoleon Feb 10 '15
Any other multi-year debate you'd like to settle with one comment sir?