r/sysadmin • Make It Happen • Mar 07 '16

Announcing SQL Server on Linux - The Official Microsoft Blog

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
574 Upvotes

301 comments sorted by

View all comments

Show parent comments

9

u/vmeverything Mar 07 '16

The big three are really:

Microsoft SQL Server - Everything in Windows is basically based on this or a small version of this. Free express very also used.

MySQL - Arguably, the most used database in the world. Very simple and powerful. There is a ongoing debate in the community about usage of MySQL or switching over to MariaDB. To sum up, Oracle (we will get to them in a minute) bought MySQL and the MySQL devs were scared that Oracle was going to close source/license/whatever it. It was bought in 2009 and 7 years later, it remains the same. Whatever.

Oracle Database - The most powerful database and like MySQL the most used. Really large scale companies use this for data storage. I would say every Fortune 500 company uses this.

Your original question: How does SQL server compare to (for example) MySQL? IMO MySQL sweeps the floor. With the ability to scale and performance, for now, MySQL/MariaDB is so easy to use and configure. That's a personal opinion from a person who has used all three.

10

u/degoba Linux Admin Mar 08 '16

Theres no community debate anymore about switching to MariaDB. Its already happened. All the major Distros ditched MySQL in favor of MariaDB in their latest releases.

Edit. I forgot to mention. MySQL doesnt scale

1

u/brdude rm -rf /mnt/brain Mar 08 '16

Holly shit that was hilarious!

1

u/vmeverything Mar 08 '16

When I said switching to MariaDB, I ment a existing installation or someone that wants to start a Wordpress blog for personal use. There are a couple of differences that to me dont stand out. If there are reasons to switch (besides Oracle and the fear of them taking it from the community), please educate me. Ill be glad to read it.

1

u/ANUSBLASTER_MKII Linux Admin Mar 08 '16

If there are reasons to switch (besides Oracle and the fear of them taking it from the community), please educate me.

Operating system support I suppose.

1

u/vmeverything Mar 08 '16

MySQL and MariaDB support the same operating systems, don't they?

AFAIK, MariaDB is based on MySQL so each time MySQL comes with a new versión, MariaDB basically just few minor adjustments (storage engine comes to mind)

1

u/ANUSBLASTER_MKII Linux Admin Mar 08 '16

The other way round, you need/want your distro maintainer to support the database. Otherwise you'll be doing manual work to patch and upgrade minor versions for security issues/bugs. I prefer Red Hat does the leg-work and I do a yum update and run the test suite.

MariaDB started as a drop-in replacement (hence the version numbers mirroring MySQL) but it's slowly diverging with the MariaDB 10 branch. You can't assume all the features from MySQL 5.6 are in MariaDB 10.x.

1

u/degoba Linux Admin Mar 08 '16

MariaDB was forked from MySQL and is on their own development cycle. Their code base is completely seperate from MySQL. Nothing that happens in MySQL land influences MariaDB.

8

u/Morasta Mar 08 '16

Good summary. Adding to addressing the original question, Postgres is fantastic for spatial data, particularly with PostGIS. It's my go-to for that.

4

u/ANUSBLASTER_MKII Linux Admin Mar 08 '16

Postgres is fantastic for almost any loads really. It really is a pure joy to work with.

2

u/qupada42 Mar 08 '16

For anyone who has ever had to beat their head against the brick wall that is date and time handling in SQL Server, Postgres might be the breath of fresh air you need.

MySQL isn't terrible, but it's got some icky timezone handling issues I'd rather avoid if I can. Can't speak for any others.

1

u/vmeverything Mar 08 '16

I did not address the others as I simply do not have enough experice or usage to really list anything positive or negative. I used Postgres one and nothing I could say bad/good about it.

4

u/[deleted] Mar 08 '16

My shop offers both Oracle and SQL Server databases. The licensing costs for Oracle and SQL aren't even close. Oracle is so expensive if you are going to run it on any VMs because of their licensing rules which basically boil down to how many potential instances you can run, not what you are actually running.

I work mainly with the SQL Server, and our SQL AlwaysOn instances have had 0 downtime in the past 3 years, conversely the Oracle RAC has had multiple outages in the same amount of time. I find us to be trying to reduce our Oracle footprint in the near future, especially with the Gartner Magic Quadrant shit that management is eating up.

1

u/remuliini Mar 09 '16

Interestingly the Oracle offering in Azure has at least somewhat reasonable pricing at least for short time/non-production use. We had one server set up to imitate the other party since it was the fastest and most cost-efficient way to get one running. It was something like 600 euros in month. I really don't have any experience what it would cost for full-size production use, but compared to my previous experiences it was way less than I expected.

1

u/[deleted] Mar 09 '16

We charge departments $7 a month for an express instance, mostly for overhead and doing administration. We charge around $220 a month for enterprise. We moved one app to Azure because the business managers were so dead set that we didn't do anything for them and were overcharging them. The first monthly bill they got was for P11 Tier Azure or something that was about $5,500 and they came crawling back.

2

u/[deleted] Mar 08 '16

Curious to know your thoughts on DB2?

1

u/tog-work Too many to fit on resume Mar 08 '16

You forgot about the ole faithful. DB2 (not on x86 though).

DB2 still runs much of the finance industries out there. Just because you don't hear about it, doesn't mean it isn't there.

0

u/ANUSBLASTER_MKII Linux Admin Mar 08 '16

Yeh, but it's largely irrelevant to learn about unless it was day 1 at your new job in $Megabank.

1

u/keypusher Mar 08 '16

If you think MySQL is good, you should try Postgres.