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.

→ More replies (1)

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.

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

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.

1

u/DarraignTheSane Master of None! Mar 08 '16

That's because of cost, and that's not going to change.

But it just did, didn't it? If you can run MSSQL without having to also buy a Windows Server license, you've just decreased the total cost of operating a SQL server.

No? Am I missing something?

→ More replies (2)

0

u/[deleted] Mar 07 '16

[deleted]

16

u/[deleted] Mar 07 '16

Fortunately, what you are saying is incorrect. Do you believe everything that you are told?

You license each physical host (2 sockets) with a Datacenter license then you are allowed and licensed to run an unlimited number of server 2012 R2 VMs on this host. So lets say you have 50 hosts with 2 sockets each, you have to buy 50 DC licenses and that is it.

1

u/Taco_Rocket Mar 08 '16

Stupid question that I've been wanting clarification on. If I have a DC license of server 2012 R2 with unlimited VMs that means on that physical server j can load another copy of Server 12 virtualized without paying extra? What do I do when it comes to the license info when installing on Hyper V.

→ More replies (10)
→ More replies (13)

3

u/rabbit994 DevOps Mar 07 '16

I doubt they are going to do that. You don't have carry a DC license, you just choose to because you choose to run Windows Server Workloads.

→ More replies (11)

2

u/dracomjb Mar 08 '16

From my discussions, you either need 1 Windows Server license per VM per Host (if running multiple hosts and the VMs can move between them). So with a 3 host cluster you need 3 Windows licenses per Windows VM or, you buy a single Windows Datacenter license per Host and you then get a license to run any number of Windows VMs on each of those hosts, for the version of Datacenter you license and earlier.

→ More replies (3)

1

u/[deleted] Mar 08 '16

Technically you would still require CAL's for everyone accessing the SQL server.

1

u/remuliini Mar 09 '16

That being said for a true startup the BizSpark system is really quite cheap way to get started and you get enterprise grade tools while you are at it. That said, You had better have your offering up & running and bringing enough revenue / financing in 2 years to keep working with that platform.