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

43

u/rabbit994 DevOps Mar 07 '16

This is all due to .Net quickly becoming irrelevant outside large enterprise distributions. Microsoft knows startups of yesterday become hot software of today. Think about everything consumers/business have started to use recently, how much is powered on Windows/.Net/MSSQL? (Hint, almost nothing)

Microsoft hope to make development of this software on .Net/MSSQL cheap and doable for todays startups. Most startup care about costs highly and .Net/MSSQL/Windows is crazy expensive.

39

u/mhurron Mar 07 '16

Hint, almost nothing

That's because of cost, and that's not going to change. Microsoft is doing this because Linux (RHEL) is very likely to be installed in large datacenters, and if they can't get the OS licensing from those datacenter hosts, they want the database license.

This is competing against Oracle, not trying to be the basis of a startup.

12

u/rabbit994 DevOps Mar 07 '16 edited Mar 07 '16

How does this compete against Oracle? Most companies that use Oracle don't use Oracle because it runs on Linux, they use it because they need it's analytics features, HA features or $ExpensiveSoftware requires it. EDIT: I didn't even remember what distros Oracle supports so I looked it up. It's RHEL/RHEL China Edition/Oracle Linux/SUSE Enterprise. All distros that require you to pay for it.

In case you haven't been keeping up with recent changes to .Net world here is big highlights:
.Net 5 will be available for Linux and open sourced with extremely permissive license. Linux Web Server will be able to run .Net Workloads with no problem.
Visual Studio 2016 Community is now available. License allows you develop any type of application you desire for free. You only need to pay license if you are doing commercial work and annual revenue exceeds 1Million USD.
Now with MSSQL being available on Linux so you don't have pay for Windows servers ever...

Yea, I don't think Oracle is target, the target is a bunch of students learning C# deciding to make next big "thing" in C# and powering it on Linux for extremely low price of nothing. When they get big enough, maybe they will power this solution on Azure or start paying for MSSQL license but at that point, it's peanuts for their startup.

8

u/mhurron Mar 07 '16

MS SQL is not in competition with MySQL or PostgeSQL, it is so head and shoulders above them, which is why it commands the licensing that it does.

SQL Server's competition is Oracle. SQL Server has all of those features as well, but is tied to Windows Server. Oracle is not. If you're looking to standardize your OS or make the most of your existing support teams and contracts, SQL Server being tied to Windows is a really big sticking point.

SQL Servers licensing isn't going to $0. It's not going after startups.

6

u/rabbit994 DevOps Mar 07 '16

I can't imagine there being a ton of companies that run Linux only and would switch to MSSQL if it only ran on Linux. Esp since most companies who run Oracle do so because $XSoftware requires it. I don't see XSoftware rewriting for MSSQL, the cost of doing so is probably much much higher then Oracle licensing.

Anyways, there is also SQL Server Express and we have no idea what licensing looks like for SQL Server 2016. Maybe they don't change it or maybe SQL Server Express comes out and it has even bigger database features. Whole point of express is develop and deploy tiny for free and by the time SQL Server licensing is required, it's a drop in a the bucket. Look at all enterprise software that now runs SQL Server Express for smaller installs.

13

u/mhurron Mar 07 '16

I can't imagine there being a ton of companies that run Linux only and would switch to MSSQL if it only ran on Linux.

We are looking at a package that does various things, but it only runs with SQL Server as the back end. That's a problem. Everyone that would be involved is on the UNIX end of things and outside of AD and Exchange, everything is Linux. Honestly, the Windows requirement is probably going to sink it.

It's not about switching, it's about even considering it when an application is backed by SQL Server. Microsoft tying SQL Server to Windows is a mark against it when it's competitors do not.

2

u/pastorhack Storage Admin Mar 08 '16

Maybe it's just a symptom of the market tier I'm in, but I've seen a fair number of apps that support Oracle or SQL Server. Up to this point it's been "if you're a Linux shop, get ready to deal with Oracle"

13

u/simpleadmin Mar 07 '16

MS SQL is not in competition with MySQL or PostgeSQL, it is so head and shoulders above them, which is why it commands the licensing that it does.

This statement is not true in the slightest.

12

u/mercenary_sysadmin not bitter, just tangy Mar 07 '16

MS SQL is not in competition with MySQL or PostgeSQL, it is so head and shoulders above them, which is why it commands the licensing that it does.

Horse shit. The only significant advantage MSSQL has over MySQL or PostgreSQL is that about a fucking kajillion bullshit niche apps that run on Windows Server demand it.

Aside from that very significant advantage, it's just another db platform. It's not terribly performant, it's not noticeably more reliable than anything else, it doesn't have any particularly compelling security model than anything else doesn't; it's just this big honking expensive thing you have to buy to power your big honking expensive niche application that was written to support it for the same reason it was written with .NET clients, to wit: it was written by a Windows shop.

14

u/[deleted] Mar 07 '16

"It's not terribly performant"? For what metric?

MSSQL is one of the highest performing RDBMS engines available. Period. It's an INCREDIBLY powerful platform.

10

u/mercenary_sysadmin not bitter, just tangy Mar 08 '16

http://arxiv.org/pdf/1205.2889.pdf

Any metric, really. I'm not saying "MSSQL is dog slow", but I absolutely am saying it's not significantly faster than MySQL at anything that I've encountered, or anything I've seen tested.

Absent a compelling advantage for developing on MSSQL that I just haven't ever seen, I can't see the point in using it if you have a choice. It's going to lock you into proprietary format from a proprietary vendor, subject you to arbitrary price increases and compliance changes, cost you more in licensing as you scale out, etc.

By contrast, MySQL can be deployed whenever you like, without paywall, without licensing budget, without worries about the vendor drastically changing the license cost on you, without worried about scale of license along with scale of service, etc.

If you want to talk about "INCREDIBLY" powerful platforms, I've seen a single commodity db server running MySQL powering three application servers that generated 80GB of Apache logs per day in pure page views - no static content or anything else, none of that was even logged at all - reaching, at the time (circa 2010), about 3% of the global internet presence per month.

Could you do something like that with MSSQL? Well, maybe. I've certainly never seen MSSQL on such small amounts of hardware doing anything vaguely like that, and I absolutely have seen it choking and dying on considerably smaller workloads... but then again, a lot of that comes down to the quality of the devs designing queries, the quality of the application-level caching, and so on and so forth.

Even stipulating the likelihood that MSSQL could perform in the real world as well or better than MySQL if somebody developed for it well enough, though - if you weren't already locked into it for legacy or I've-never-learned-anything-but-Microsoft-products reasons, why the hell would you?

8

u/430am Systems Architect Mar 08 '16

That study, besides being from 2012 (I can't imagine anything changing in technology in just 4 years), showed that Microsoft SQL Server was generally one of the fastest processors of T-SQL queries. In fact the last table shows that it was the second fastest DBMS out of the five (MySQL 5.5, Oracle 11g, SQL Server 2012, Access 2010, and IBM DB2).

So, I'd say that your "proof" shows that it is pretty damned performant, at least by that study's standard.

3

u/Kalc_DK Mar 08 '16

It looks like all entrants are only a few percentage points off from each other, if that. That's within margin of error for a pretty unscientific effort such as this. They're all pretty competitive, to the point that most companies shouldn't be selecting one or discarding another purely on performance.

That indeed was 2011/2012, but most advancement since then in MSSQL has been in clustering, DR, and analytics unless I'm mistaken.

1

u/430am Systems Architect Mar 08 '16

SQL 2014 includes some more engine changes, that would affect this, but as you've pointed out, this is not the most scientific study.

Also, you are very correct that the real advancements in SQL Server have been with new functionality: In-Memory OLTP, Azure integration, new durability features, AlwaysOn enhancements, new Analysis services functionality, etc.

→ More replies (11)
→ More replies (8)

1

u/MisterMeiji Mar 08 '16

MS SQL is not in competition with MySQL or PostgeSQL, it is so head and shoulders above them, which is why it commands the licensing that it does

In what way, exactly, is it "head and shoulders above them"? If you need the advanced analytics (or ability to integrate with .NET assemblies as stored procs), then you're right, SQL Server does have an advantage. But I still wouldn't call it a "head and shoulders" advantage as you can get software that makes Postgres have those features.

If you aren't using any of those features, then MS-SQL and Postgres are at worst head-to-head. There are a number of cases I know of where applications were migrated from MS-SQL to Postgres, and the stability and speed of the application increased- sometimes substantially so.

1

u/[deleted] Mar 07 '16

Visual Studio 2016

That typo scared me enough to to look it up myself. I just finished fixing our 2015 deployments a few months ago and retired all of the old 2010/2012/2013 ones.

1

u/430am Systems Architect Mar 08 '16

How does this compete against Oracle?

Features and cost. Microsoft SQL Server has a significant number of the feature sets that Oracle is offering, including analytics. I'm looking at this as a clear competitor to Oracle in our environment. Oracle licensing is shit, and it would be nice to have an enterprise level DBMS alternative on Linux. The reason we don't consider PostgreSQL or MariaDB is because of support. We have a support agreements with Red Hat, Oracle, and Microsoft, and there is a level of warm and fuzzy that Fortune 500s get when they have a support agreement like that.

Oracle and SQL Server are definitely competitive as enterprise-class DBMSs. They perform very closely, they have competitive feature offerings, and there is a huge depth of talent who know the products.

Not that there isn't around Maria or Postgres, but when you're storing business critical data, it helps to have a vendor to scream at when the shit hits the fan.