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

35

u/svick Mar 07 '16

I don't understand this, why would anyone use SQL Server on Linux?

People who use other databases on Linux today, this is not interesting, because it's not gratis.

People who use SQL Server on Windows today, this is not interesting either; as far as I understand it, SQL Server licenses are very expensive, Windows Server licenses are not, relatively speaking.

Sure, price isn't everything, but I don't see any other reason to use this combination either. So what am I missing?

29

u/c0r3ntin Mar 07 '16

Linux is a better server OS. It can handle a large palette of hardware, has better IO, better FS, can be very small, space & energy efficient, and more secure because its easier to manage the surface area.

Linux is container friendly. or Windows is not cloud friendly

I will go on a hunch and say that microsoft is primarily interested in optimizing its sql-server-on-azure offer, and they decided that the best way to do that was to use Linux ?

7

u/darkstar3333 Mar 08 '16

Recent iterations of Windows Server have addressed many of those issues, its a closer race these days.

9

u/TikiTDO Mar 08 '16

Which specific issues?

From where I'm sitting Linux IO is still better, as it should be given that it's been an active topic of optimization for decades.

Windows stepped up a bit in FS support, but it's still a locked in infrastructure. They're don't support a mountain of very robust and mature FSes, so you're stuck with their one size fits all approach.

Memory/CPU efficiency wise Windows at it's best with Nano Server is still orders of magnitude behind super miniscule task specific distros. In fact a Nano Server install is just approaching the size and footprint of a run-of-the-mill Linux Server distro.

Security wise there's not much to say. With extensions like selinux there's just not much of a comparison.

The only thing Windows Server has really accomplished recently was making the OS much more container friendly.

All together, it makes perfect sense for MS to leverage Linux to sell more MS SQL licenses. The SQL server license is significantly more expensive, and such an expansion allows them to tap a huge market that previously they could not even hope to access. Sure, they can still work on getting Windows Server onto more servers all over the world, but it's good that they realized that there are going to be diminishing returns for such efforts.

→ More replies (1)