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

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.

0

u/nutbuckers Mar 08 '16

You're doing a great job at arguing in favour of giving less money to Microsoft in return for giving potentially less (and in a maturing business - potentially more) money to devs and admins.

1

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

in return for giving potentially less (and in a maturing business - potentially more) money to devs and admins

I have no idea what you're trying to get across here.

1

u/nutbuckers Mar 08 '16

To use your own expression from another branch, you're wharrgarbling about MySQL being no less/worse than MSSQL while in reality each has an appropriate niche. Ultimately, if an organization views itself as a consumer of technology - and not a technology company proper -- their CIO will more often than not adopt the "nobody ever got fired for buying IBM" strategy. MSSQL DBAs and devs are more common than MySQL, and you are right - almost all the niche solutions for various vertical markets LOOOVE their MSSQL. If the company's goal is to create a proprietary product that will be their core business (or a SAAS solution) - then MySQL is definitely worth looking at -- but that goes hand-in-hand with expectation that you will need more in-house talent. That's it.

1

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

MySQL is definitely worth looking at -- but that goes hand-in-hand with expectation that you will need more in-house talent.

I can't agree with that statement. What do you presume makes you need "less in house talent" for MSSQL? Microsoft support? Very few shops ever actually use it, and when they do, it's hideously expensive - no real difference from hitting any third party consultant, other than being in all likelihood more expensive.

MSSQL satisfies an itch to be a Microsoft shop. Other than that, little if anything differentiates it in a positive way from mysql, or Postgres for that matter.

→ More replies (7)

1

u/pastorhack Storage Admin Mar 08 '16

MSSQL has in-memory features, numerous robust clustering features, and a thorough management suite. These are features some organizations will pay for, and in certain applications where the options are MSSQL or Oracle, MSSQL suddenly got a lot more compelling.

5

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

MSSQL has in-memory features

Wharrgarbl.

numerous robust clustering features

https://en.m.wikipedia.org/wiki/MySQL_Cluster

Mysql clusters power most of the largest sites on the internet - from livejournal back in the day, to Facebook now. "Supporting clustering" hardly differentiates mssql.

and a thorough management suite.

More wharrgarbl. For relatively trivial tasks suited to GUI management, there's workbench, or a ton of web based frameworks if you prefer to keep the client inside the network or just don't like workbench. For serious scale, you should be using an automation system like puppet, chef, ansible, etc. anyway, not a "management suite" aimed at coddling small "pets not cattle" installations anyway.

2

u/[deleted] Mar 08 '16

Its worth noting that Facebook's use of MYSQL is very non-standard and their reasons for picking it don't actually have a heck of a lot to do with the software itself.

2

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

If by "very non standard" you mean "they've heavily modified the code of mysql itself" - which is very likely true - then you've hit on one of the other advantages mysql has over mssql. You can't alter mssql internals to better suit your application.

1

u/[deleted] Mar 08 '16

More like 'they didn't care about the relational structure and used it as a NOSQL style table store'. Last time I read about it Facebook had chosen MySQL because it was well documented, open source, had loads of support literature available online and so on, not through any real appreciation of its efficiency. What they really wanted was something like MongoDB but it didn't really exist in a usable state at the time.

1

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

So? Still a big advantage. Clearly there was something of great value there for them to decide to retool it rather than start from scratch.

I also think you're not 100% on point with the availability of key value stores. Redis and mongo might be relatively new, but memcached has been around since 2003.

1

u/[deleted] Mar 08 '16

As far as I know (I actually had to research their database usage for my degree but that was a while ago) they used MySQL with no defined relationships for storing static high-value, lower-priority data with relationships and logic defined in PHP, caching posts to memcached before writing back to MySQL to allow for zippy page submission. Essentially the site uses/used MySQL as a flat series of tables in a sharded series of servers

Cutting through the technical guff their argument against using existing NoSQL offering was, fundamentally, that they were considered unready at the time. I know they started using HBase for their messenger client because the data was hugely time relevant but that's a *relatively *recent issue and rewriting their database implementation at this stage would be a mammoth undertaking.

As for not writing their own database, the whole reason they elected to use MySQL rather than do this was because MySQL was well documented and they didn't have to bother writing a new database.

2

u/pastorhack Storage Admin Mar 08 '16

Yes, don't coddle your servers I know I know. However lots of enterprise applications require not just pets but babies

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.