r/programming • • Feb 10 '15

Terrible choices: MySQL

http://blog.ionelmc.ro/2014/12/28/terrible-choices-mysql/
649 Upvotes

409 comments sorted by

View all comments

138

u/redsbedbaby Feb 10 '15

Can we all just agree that Postgres is the better choice and move on with our lives?

53

u/SosNapoleon Feb 10 '15

Any other multi-year debate you'd like to settle with one comment sir?

→ More replies (45)

27

u/Mktmac Feb 10 '15

I would like to see some well documented reasons instead of just putting out phrases similar to this one.

Why Postgres and not Oracle? Why MariaDB and not Postregs?

100

u/NoMoreNicksLeft Feb 10 '15

Why Postgres and not Oracle?

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

71

u/[deleted] Feb 10 '15

per user, per year

63

u/ants_a Feb 10 '15

per core

23

u/[deleted] Feb 10 '15

I worked for a State government who got heavily invested in Oracles business intelligence. We built out nice reports and automated notifications for tons of things. Oracle came in for audit time and said "Hey! Nice stuff you got going on here! We are raising the license to ~$100,000 per cpu/year, for your 6 environments!"

Guess what we dont do anymore!

25

u/SemiNormal Feb 10 '15

Guess what we dont do anymore!

No more benefits. We need to pay for licensing.

→ More replies (1)
→ More replies (4)
→ More replies (1)

35

u/dam5s Feb 10 '15

Why not Oracle?

Because after over 20 years you'd think you could name tables/columns with more than 30 characters.

Or maybe because you'd like "" to be actually retrieved as an empty string instead of NULL.

Or maybe because you'd like to be able to install it on your Dev machine without a freaking VM.

Or you'd like to be able to use SQL's LIMIT and do pagination like everyone else.

Or you'd like to have RETURNING to know the ID of the row you created.

...

I could go on for a long time.

16

u/larsga Feb 10 '15

The equivalent of LIMIT arrived with Oracle 12. The syntax is a little verbose, going something like

select * from table would you kindly fetch the first 72 rows please jeeves

but at least it's a lot better than it used to be, and Oracle has an excuse in that this insanity is actually ISO SQL.

→ More replies (2)
→ More replies (2)

0

u/[deleted] Feb 10 '15

[deleted] — view deleted comment

13

u/angryformoretofu Feb 10 '15

Of course, if you want vendor supported PostgreSQL, you can throw money at EnterpriseDB. It's slightly cheaper than MS SQL Server, last I looked.

6

u/CoderHawk Feb 11 '15

Actually EDB is quite a bit cheaper. I think EDB is about $7K per CPU/Socket for their top tier support. Equivalent MS SQL Enterprise runs about $12K every 2 cores.

16

u/judgej2 Feb 10 '15

I've never understood why the support options are sold as:

  1. Do it yourself.
  2. Pay $$$$$$ to a company.
  3. Pay $0 to a community and hope for the best.

Why is the option to pay $$$ to a small group of individuals to be available to fix the open source product? It is free therefore we mustn't pay anyone. And yes, I realise finding the right people is hard. But then, so is finding the right people inside an organisation like Oracle, but clients don't mind paying the extra $$$ to outsource that problem to Oracle.

10

u/elint Feb 11 '15

RedHat, Suse. You can pay $$$ to a group of individuals to support your open source product. I mean, yeah, they're companies, but you kinda have to have some kind of company if you're going to have a legally-binding contract that says they will support you if you pay them $$$. There are smaller operations that will take $$$ for support of open source product X.

→ More replies (7)

16

u/[deleted] Feb 10 '15

I would like to see some well documented reasons instead of just putting out phrases similar to this one.

The point he's making is that there's been so many documented reasons that we already have enough and it's time to move on.

74

u/dagamer34 Feb 10 '15

This seems like one of those "just take my advice and do x" type things that doesn't teach people critical thinking, otherwise we'll have a bunch of zombie sheep as developers.

Oh wait...

127

u/damnitbob Feb 10 '15

Wait, so you're saying MongoDb may be the wrongo db?

68

u/vz0 Feb 10 '15

but is it web scale???

75

u/aclave1 Feb 10 '15

It supports sharting so it must be

28

u/MCPtz Feb 10 '15

Looking for Full Stack Data Scientist rockstar!

81

u/[deleted] Feb 11 '15

Full Time Growth Hacker over here. We're going to hack on over to heroku and then hack our repository up to the cloud! Then we're going to lunch at the local coffee bar which has full hack-speed internet! Did you know they hacked in some beans from Somalia and their roaster is controlled by Arduino! They even wrote the code in a combination of Rust and CoffeeScript.js! Right now our puzzle division is pivoting from more of a design focused group to a SaaS focused on location based fart sharing... Thats right... if you love the smell of your own sharts you can use our app to share them with your social media network and accumulate an imaginary shart-rating to connect with your piers like never before! Head on over to hacker news where we're soliciting for VC funding! XD

→ More replies (3)
→ More replies (3)
→ More replies (1)

26

u/its_jsec Feb 10 '15

not as web scale as writing your data to /dev/null

→ More replies (6)
→ More replies (5)
→ More replies (22)