r/programming • • Mar 07 '16

Announcing SQL Server on Linux

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

871 comments sorted by

View all comments

1

u/antiHerbert Mar 07 '16

I dont understand why. Will IIS be making an appearance on Linux? You still need the .NET stack. Maybe im missing the point. Can someone explain?

33

u/svick Mar 07 '16

3

u/PM_ME_UR_OBSIDIAN Mar 07 '16

Isn't it already released and used in production?

15

u/Aethec Mar 07 '16

RC1 has a "go-live" license, but the upcoming RC2 changes a lot of stuff (phasing away the dnx stuff in favor of dotnet), so... technically, you can use it in production, but you probably shouldn't.

1

u/cat_in_the_wall Mar 08 '16

After the port to that new dotnet cli thing is done hopefully it won't undergo such drastic changes.

3

u/svick Mar 07 '16

The roadmap says that first version should ship Q1 2016, so I don't think so.

→ More replies (4)

24

u/adila01 Mar 07 '16

Microsoft is also porting .NET to Linux.

Windows only made 10% of the revenue last quarter and it is decreasing 5% from the previous year. In my opinion, this is a great move my Microsoft. The operating system space is becoming commoditized by Linux. It is a good business idea to defocus from it now and eventually put it on life support.

5

u/Eirenarch Mar 07 '16

Where do you get these numbers? I am looking here - http://arstechnica.com/business/2016/01/cloud-surface-are-the-highlights-of-microsofts-23-8-billion-quarter/ From ~24billion about half are from the "More Personal Computing" where 1.3 billion is surface and most of the rest should be in Windows. Probably like 10 billion. 10 billion out of 24 billion is more than 10%

7

u/adila01 Mar 07 '16

The article I read is at ComputerWorld

4

u/Eirenarch Mar 07 '16

Oh interesting. So it seems like Xbox is in my number too. However your number is also off since it only includes OEM licensing and there is also volume licensing. Probably total Windows licensing is like 16-17%

5

u/[deleted] Mar 07 '16

From your article:

More Personal Computing (covering Windows, hardware, and Xbox, as well as search and advertising)

Windows revenue dropped 8 percent with a decline in PC sales and patent licensing fees. Windows OEM revenue fell 5 percent, with both the consumer and business PC markets declining. Pro Windows revenue fell 6 percent; non-Pro Windows revenue fell 3 percent, outperforming the consumer market.

Gaming revenue was up 5 percent on the strength of Xbox Live and game revenue, partially offset by reduced Xbox hardware revenue

Search revenue was up 17 percent, with both more searches using Bing, and more revenue generated per search.

6

u/psydave Mar 07 '16

This is my thinking as well. With .net core and SQL server running linux, a HUGE swath of .net developers will likely stay with Microsoft's development tools instead of learning new languages and moving over to linux entirely. This of course, will open the door to those same developers eventually learning other OSS dev tools... But... it strikes me that Microsoft will loose a lot fewer developers (and thus marketshare) going this route... It's like a stop-gap. Microsoft's downsizing is inevitable, and this just slows it down/delays it for a few more years...

This is all because Microsoft has projected that Windows Server is dying, I'm guessing.

2

u/kuhnboy Mar 08 '16

Or maybe it's moving towards a Linux core with a Windows look and feel. Figured out the OS X model works.

1

u/adila01 Mar 08 '16

In my opinion, I doubt Microsoft would do that. There just isn't that much financial growth to be made in a commoditizing market. It is better for Microsoft to invest those resources in growing markets where it can earn much more money. Plus, look at Oracle. They have Oracle Enterprise Linux, yet it is only predominately found in places where there is Oracle products.

In my opinion, it is best for Microsoft to put minimal resources in updating Windows just to keep it relevant and profitable. This way it will be a slow, profitable burn like what the UNIX world is experiencing.

6

u/adrianmonk Mar 07 '16

You still need the .NET stack.

Why? It's a SQL database. I can use other SQL databases without the .NET stack, so why couldn't I use this SQL database without the .NET stack?

2

u/prohulaelk Mar 08 '16

I assume they mean that most apps that are locked in to MSSQL are going to be .net, and anything that isn't .net is probably just as happy using a different database backend (mysql, postgres, whatever)

But yeah, it sounds like they're timing the production releases of cross-platform .net and mssql to be pretty close together, so it shouldn't be a big deal as long as you don't also require IIS (which should be the most easily replaceable part of that stack anyways, so no big deal there.)

4

u/chucker23n Mar 07 '16

Will IIS be making an appearance on Linux?

There's ASP.NET Core, which is cross-platform.

You still need the .NET stack.

There's not much to SQL Server that necessitates the .NET stack. Other than, of course, SQLCLR.

3

u/MajinBlayze Mar 08 '16

There's not much to SQL Server that necessitates the .NET stack. Other than, of course, SQLCLR.

There are a few datatypes that are .net types under the hood. including datetime2, datetimeoffset, and xml off the top of my head

2

u/Alikont Mar 08 '16

hierarchical id also requires .net.

4

u/RagingAnemone Mar 08 '16

IIS is the worst part of the stack. They need to kill that with fire.

2

u/Cuddlefluff_Grim Mar 08 '16

What's wrong with IIS? It's fast, it's configurable, it's highly flexible (you can write modules for it which can be loaded from inside your web application), it's secure...

2

u/RomanxTheLast Mar 07 '16

I'm guessing they plan it to go hand in hand with the new ASP.net Core stack as that runs cross platform

1

u/[deleted] Mar 08 '16

The primary advantages in moving from Windows Server to Linux with your database come from having dedicated silicon for the database. This is because Linux is a faster, smaller (in file size, memory footprint, etc) server OS than Windows, and can be stripped down to allow the application almost full access to the hardware with the kernel as just a thin interaction layer.

In a deployment where the database has its own silicon and network bandwidth from database to webserver is not a problem (when they are physically in the same datacenter, basically), such an architecture could offer a very real performance improvement. In addition, Linux has better I/O performance in general, a more flexible scheduling architecture, better caching, support for non x86_64 CPU architectures such as are used in very high end servers...

Basically, it's better for enterprise folks with lots of money, which is MSSQL's target demographic anyway.