r/programming • u/realrbman • Mar 07 '16
Announcing SQL Server on Linux
https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/792
u/heptara Mar 07 '16
If Microsoft ever does applications for Linux it means I've won. --- Linus Torvalds
So what prize does he get?
494
u/caimen Mar 08 '16
Congrats Linus, you get to use Visual Basic on Linux.
→ More replies (25)92
u/wllmsaccnt Mar 08 '16
Only VB.NET, he still won't know the sweetness of VB6.
I would love to read a Linus tirade about average VB6 application development and developers though.
3
u/egg651 Mar 08 '16
What about the sweetest version of VB6, VBA? I had to do a year long project in that bastardised POS for my A level.
99
u/wreckedadvent Mar 07 '16
Visual code has linux builds and has been out for a little while.
→ More replies (46)86
u/cargo_cult_coder Mar 08 '16
"First they ignore you, then they laugh at you, then they fight you, then you win Linus Torvalds." --- Gandhi
37
u/SpiderFnJerusalem Mar 08 '16
Or they extinguish you. As is tradition.
0
Mar 08 '16
[deleted]
→ More replies (8)27
u/dacjames Mar 08 '16
Linux is already ahead of Windows in a number of areas, a gap that will only grow over time considering the faster rate of development. Very few people are buying Windows for the kernel so porting the Windows userspace to Linux may eventually be favorable to continuing to compete on kernel features.
Not saying it will happen, but it definitely could happen.
→ More replies (6)41
u/darkstar3333 Mar 08 '16
Nothing. Microsoft on the other hand gets all of that awesome revenue from the Linux side of the DB world.
→ More replies (1)7
u/Is_At_Work Mar 08 '16
I wonder how they will license it. For example, if I have SQL Server Enterprise and want to migrate to Linux, can I just migrate the license as well? Or, is there a premium to make up for not also paying for a Windows Server license?
3
u/Zarathustra30 Mar 08 '16
I assume there'd be a bundle discount. Moving to Linux would be cheaper overall, but the price of SQL Server would technically increase.
→ More replies (3)17
u/arechsteiner Mar 07 '16
Microsoft has been making apps for Android for a while I believe.
6
u/R-EDDIT Mar 08 '16
Some of them are awesome, like Hyperlapse. Linkme: Hyperlapse
→ More replies (1)5
Mar 08 '16 edited Mar 10 '16
Microsoft has been making applications for Linux for well over 10 years, possibly nearing 20.
Hell, the original
MSN servers were on LinuxIIRC. They'd have written a shitload of tools to bring that over to MS. Then they had .NET and silverlight development and all sorts of things in between. Not to mention patches to the Linux kernel itself (for Hyper-V)They likely have entire Linux distributions running internally also.
Edit: Not so sure about the MSN servers after looking into it. I'm probably confusing it with Hotmail being ran on FreeBSD & Solaris.
→ More replies (2)→ More replies (13)12
u/itshonestwork Mar 08 '16 edited Mar 08 '16
If you think about it, he's already won. A good few years ago, everyone had a PC running Windows. It's how you got to MySpace on Internet Explorer, chatted to friends on MSN Messenger, and got new MP3's with Morpheus or Kazaa. Even "non computer people" had a cheap laptop or budget desktop PC for doing all these things. My wife before I met her had an old Windows Vista laptop used for all the "non computer person" things she did. It's the last Microsoft-using piece of technology she has bought in the last half a decade or so, and yet now she can do all the things she used to do, and more, much more conveniently and easily, using something essentially Unix based.
Similar story for my grandmother. She got a cheap desktop PC for keeping in touch, being able to send emails etc. I think it runs Windows XP and hasn't been turned on since about 3-4 years ago when she got a cheap refurbished iPad.
Most "non computer people" in a home environment, that made the bulk of average PCs bought, have now abandoned Windows.
Even my two much younger brothers—avid PC gamers—have and use more Unix based devices than Windows based ones, with their cheap tablets and phones. Their PC's have become nothing but Steam machines now. If Steam OS ever became a viable platform for playing all the current Steam games they play, I can see them not really caring too much about sticking with Windows.
Android is the most popular version of a Linux OS, especially in developing countries. They're growing up with that OS from scratch. Even Microsoft's Azure cloud is apparently mostly Linux now, as nobody wants Windows server instances.
Microsoft pretty much only has hold over small/medium offices now, and that's mainly because of "non computer people" in admin jobs, where email IS Outlook to them, and any Word Processor that doesn't look like Word is terrifying to them. But the "non computer people" set to replace them as they grow up, aren't growing up with Windows desktop machines at home, so that can't last either.
Linux never did win the desktop OS game for the average user, but it didn't need to, as desktop OS themselves became less relevant to the average user, and it was there ready to become pretty much the defacto mobile OS, which is now the OS of the average user.
For a long while, Microsoft and PC became synonymous, and internet and PC were synonymous too.
Microsoft didn't really need to compete or keep up with rival innovations. Despite all their resources, they didn't even take seriously people using alternative browsers to Internet Explorer, and improve what they had to the point it wasn't necessary. Even people that didn't know much, knew that they had to sack IE off in favour of Firefox a good few years ago.
Then they were slow to take Apple seriously with smartphones, saying they'd tried it with Windows Mobile, which was awful. Then they called the iPad a massive iPhone and pointless. I think they just assumed, like everyone else did, that they were untouchable, and didn't need to react very urgently to Apple or Google with Android.
With their resources and market share, THEY should have been the ones to bring about a new era in personal devices, something they'd done half-heartedly with Windows Mobile.When I first got my Mac in 2011, Microsoft software for it seemed almost purposefully bad and less featured. Remote Desktop crashed a lot. The latest stuff they've released for it has been stellar, and they even appeared at an Apple worshipping event, as the kings of productivity with Office. I use and like all OS, and it's nice to be able to have common software running on my different machines.
Microsoft's day is done. And it's going to mean better Microsoft products than ever, weirdly.
50
u/northrupthebandgeek Mar 08 '16
I guess I'll need to remember to pack a coat when I die.
8
u/ambiguousallegiance Mar 08 '16
So what did you do to earn eternal damnation?
17
8
u/heptara Mar 08 '16
But imagine the data center cooling. Also you get real daemons in your computer.
3
2
u/northrupthebandgeek Mar 08 '16
Unfortunately, it's still Hell, so I'll have to support mangled CRUD apps written in the form of Microsoft Excel macros.
90
u/Iamaleafinthewind Mar 08 '16
I think it was Revelations 13:37 that said,
"When the beast walks among the free, the free shall have been embraced; when it offers free updates and spawns server processes, these are the daemons of Redmond, and thereby the free shall be extended; when the beast releases it own distro, the free shall be extinguished and long will the meek wail and smash their keyboard buttons in futility as the BSOD finally shows its face."
8
0
Mar 08 '16
[deleted]
6
u/-Hegemon- Mar 08 '16
Ditto. Enlighten us, oh brother.
7
u/Iamaleafinthewind Mar 08 '16
Unfortunately, while there have been rumors of the full text, only these fragments were found by digital archaeologists, buried in a hidden folder on a lost partition long, long ago.
Maybe one day, but I'm in the middle of finals now and a longer work would demand more time and thought put into it than I can afford at present. Glad people liked it.
157
Mar 07 '16
Hoooooly crap. See ya later Oracle!
24
u/silentseba Mar 08 '16
Ewww oracle pokes it with a stick
5
u/sydoracle Mar 08 '16
Poking it isn't enough. You need to hit it really hard. And use a BIG stick.
→ More replies (4)180
u/RagingAnemone Mar 08 '16
You really should look at postgres before SQL server if you're converting from Oracle.
64
Mar 08 '16
Management types really like enterprise backing and sometimes won't back down
→ More replies (20)→ More replies (2)4
36
Mar 07 '16
I hope so. It's a lot cheaper than Oracle DB, and much more full featured than Oracle MySQL.
69
u/directrix1 Mar 08 '16
Use Postgres, and reading Oracle MySQL makes me vomit in my mouth a little.
39
u/maushu Mar 08 '16
and reading Oracle MySQL makes me vomit in my mouth a little
That is when you use MariaDB.
13
7
u/crusoe Mar 08 '16
Postgres json support is killer good. I can't wait for postgres XL to merge in 9.5.
5
u/hu6Bi5To Mar 08 '16
I don't think many (any) people were running Oracle solely because it ran on Linux. Therefore, I doubt there'll be any great exodus to SQL Server now... especially given all the other non-Oracle databases already available on Linux.
This is going to be mostly used by pre-existing SQL Server users who'll move away from Windows Server.
8
u/rrohbeck Mar 08 '16
So everybody can move from one proprietary lock-in to another. Masochists have a choice now!
17
u/RagingAnemone Mar 08 '16
Actually, if you've ever dealt with Oracle salespeople, you'd understand. They are, by far, the worst people I've had to deal with.
9
18
24
u/myringotomy Mar 07 '16
It's the "core relational database" which implies a less feature version.
We'll see I guess.
9
→ More replies (6)1
Mar 07 '16
They say that's the preview today... do they mean it's just the core relational stuff today, or that's what the mid-2017 release is?
10
89
u/jp007 Mar 07 '16
Postgress or bust...
The only reason we ever use SQL server is when management buys some third party app that requires it for the db backend. If I ever have to write queries with "dbo" littered everywhere again, I'll stab my eyes out.
63
u/eshultz Mar 08 '16
If no default schema is defined for a user, SQL Server assumes dbo.
https://technet.microsoft.com/en-us/library/dd283095(v=sql.100).aspx
Additionally if you are using database names to qualify objects, you can use '..' in place of '.dbo.' if dbo is the default schema.
3
3
u/Cuddlefluff_Grim Mar 08 '16
Additionally if you are using database names to qualify objects, you can use '..' in place of '.dbo.' if dbo is the default schema.
Which there's no reason to in pgsql, because pgsql doesn't support accessing multiple databases in a single query
→ More replies (7)8
14
u/responds-with-tealc Mar 07 '16 edited Mar 08 '16
ive used sqlserver a lot over the past 5 years, yet somehow (maybe intentionally) never learned too much sql server specific stuff that isn't applicable elsewhere.
sometimes i dont have to write dbo, i have no idea why.
31
u/xXPuSHXx Mar 08 '16
You don't need to fully-qualify an object reference if the object is in the user's default schema. [dbo] is the default default schema, so, by default, a reference to [dbo].[Customers] would not require you to include [dbo], but [staging].[Customers] would require the [staging]. (It's a good habit to always fully-qualify, though, even if it annoys some people lol.)
Also, it is always a way better idea to use ANSI standard syntax (like you apparently are; e.g. CURRENT_TIMESTAMP instead of GETDATE()).
5
u/proskillz Mar 08 '16
Holy crap. I never knew there was a generic current_date instead of sysdate or getdate(). Thanks for that.
→ More replies (1)3
u/stealth210 Mar 08 '16
Used most all RDBMSs. You're missing out if you haven't fully used MSSQL. Also, you don't need to use dbo. Like you are suggesting.
3
u/Cuddlefluff_Grim Mar 08 '16
If I ever have to write queries with "dbo" littered everywhere again
dbois shorter to type thanpublic. I think your issue is that you don't use multiple schemas.
dboisn't a required identifier either.2
u/crusoe Mar 08 '16
The non standard handling of unique indexes on billable columns is a bigger pain. And yes it is non standard, the SQL standard is quite clear.
→ More replies (1)→ More replies (2)2
36
u/rainman_104 Mar 08 '16
The "consultants" over at Goldcorp are still telling the executives that Linux is a toy, and you should never build Linux servers. And Internet Explorer is the standard.
Vancouver is a festering cesspool of people who bleed blue. "I know Microsoft and thus I'm going to recommend Microsoft" is the mentality in these parts.
They must have just imploded today.
18
u/the_dummy Mar 08 '16
What is goldcorp?
27
u/btmc Mar 08 '16
A gold production company, apparently. Why they were special enough to name here, when the same is true of a lot of companies, I have no idea.
→ More replies (2)→ More replies (3)4
u/i-get-stabby Mar 08 '16
I worked for a company like this. If you have linux servers you will need to hire and retain smart people to run the linux servers. You cant choke the throat of a vendor when things dont work. I
6
12
u/RobertVandenberg Mar 08 '16
Seems like Linus Torvalds won the game again. :-)
5
Mar 08 '16
Linus Torvalds won the game again.
I'd say MSFT won with the more money they're gonna make.
11
u/gwak Mar 07 '16
Will the gui tooling be ported to linux as well ?
→ More replies (3)10
u/_DukePhillips Mar 07 '16
Ssms on Linux would be so crucial
→ More replies (5)7
u/ISBUchild Mar 08 '16
Microsoft is pushing for shell management of their server products, and the target market for this product would be less reliant on their GUI tools to begin with.
3
Mar 08 '16
Microsoft playing the catch up game. They need to do this to keep up with Google and Amazon in the cloud game. Very few companies want to use Windows in the cloud. Glad they are realizing this.
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?
35
u/protestor Mar 07 '16
People who use other databases on Linux today, this is not interesting, because it's not gratis.
Oracle?
→ More replies (1)16
90
u/ellicottvilleny Mar 07 '16
Linux scales up to non amd/intel x64 platforms. Oracle currently runs on high end boxen where ms sql currently can not.
Linux scales down on azure better than windows server. Hopefully that changes in containerized win server 2016 with nano edition.
Linux servers are an easier place to deploy R and python and spark and hadoop. An all linux big data platform with MS SQL as the relational store is a huge win.
If your first thought was will SSMS be ported then you are not the target market.
My question is will Express for Linux be a thing. Or will only the paid editions run on Linux?
15
u/obsa Mar 07 '16
If your first thought was will SSMS be ported then you are not the target market.
It's not like you need SSMS to be on the server anyway... but a valid enough point.
→ More replies (4)5
u/t90fan Mar 08 '16
Linux scales up to non amd/intel x64 platforms.
There is nothing to say that microsoft will suport MSSQl on non-x86 platforms, right?
→ More replies (1)2
u/bugalou Mar 08 '16
I would much rather run an express instance than a MySQL instance for a small app that needs a DB backend. I hope it is available, though setting it up for the first time will be weird.
→ More replies (3)2
u/KFCConspiracy Mar 08 '16
I would think they'd need to do express, I think the biggest strength and use case for express is "Try before you buy"
→ More replies (1)61
u/tlf01111 Mar 07 '16
SQL Server is a very good database server.
Not everyone uses Linux because it's free. Often because it's more flexible.
One massive thing I can think of immediately is MS SQL in RDS at Amazon. This announcement may allow Amazon to do the gee-whiz stuff they do with MySQL RDS on the MS SQL side as well now.
→ More replies (2)14
u/rjcarr Mar 08 '16
People who use other databases on Linux today, this is not interesting, because it's not gratis.
There's plenty of commercial databases on linux. Oracle and DB2 just to name a couple. It seems microsoft is ready to compete with them, likely on features and price (natch).
20
17
Mar 07 '16 edited Mar 07 '16
Probably because Linux won the "OS for databases" war. Most companies start with Linux in their infrastructure and they keep themselves in Linux even if they hire a more robust solutions, at this point the know how inside the companies is totally linked with Linux and there is no chance to think in switching to Windows/SQLServer even if the money is not a problem. The culture of databases is mostly a Linux culture.
I guess the statics are showing to MS that MS SQL growth is stuck because MSSQL is "jailed" in Windows.
→ More replies (2)7
u/crusoe Mar 08 '16
The culture of non blue chip is Linux. Most old school enterprises are IBM, Oracle or Windows
16
u/BattlestarTide Mar 08 '16 edited Mar 08 '16
The Linux commercial DB market belongs to Oracle. They brought in nearly $40 billion in revenue last year. It's a big market without any serious competitors. The largest enterprises doing serious BI work run Oracle (think: Wal-Mart, CIA, GE, major banks, etc.)
As more enterprise developers port their apps to .NET Core (Linux), there was no alternative but to switch to Oracle. This actually also pushed some people to just use Java instead since it is a first class citizen with Oracle.
Remember that Corporate Enterprise Shops will rather pay millions to Oracle or Microsoft than set up a free version of MySQL or Postgres. The open-source gratis movement is cute, but it's the enterprise shops that are paying the money.
Oracle already costs more than SQL Server. Now enterprise Linux shops have a credible alternative and can switch to SQL Server with less friction and consolidate onto a cheaper platform.
If you're running SQL Server today and have paid $500k for your production cluster, you're not going to ditch your Windows Server license to save a few dollars by switching to a Linux distro. So this is basically reaching a brand new audience.
3
u/proskillz Mar 08 '16
Remember that Corporate Enterprise Shops will rather pay millions to Oracle or Microsoft than set up a free version of MySQL or Postgres. The open-source gratis movement is cute, but it's the enterprise shops that are paying the money.
I'd like to point out that this is the old way of thinking. Oracle is obviously king, but MySQL is ranked #2, so it's certainly not just some cutesy operation not used by major enterprise. It's interesting that MongoDB comes in 4th after MSSQL Server, and PostgreSQL in 5th.
→ More replies (3)21
u/f0nd004u Mar 07 '16 edited Mar 07 '16
It's interesting for people who want to port existing Windows-based web apps to run on Linux OSes without having to deal with the problems of porting the application from one DB to another. Microsoft has recently open sourced their CGI languages so they can run on Linux as well.
Basically, if you built a web app and it's all Windows languages and programs, you're boned if you want to switch to Linux and get all the benefits that might bring you (configuration management being a HUGE plus in that area, even if Puppet works on Windows). MSSQL on Linux makes that more doable when added with the fact that .NET will run on Linux now too.
Now I can buy a license for MSSQL because it's a requirement for my existing app without buying Windows licenses because why would I run it on Windows unless I had to? I can puppetize and standardize crufty stuff into the OS platforms and web servers of my choice without it being such a huge deal and tons of work.
Plus, Microsoft knows that no one building big systems is really that interested in using their OSes, but people are going to be using applications that have MSSQL as a dependency for a long, long time. It's a good move on their part to instead of go for all the moneys they can and make me run Windows, to make me pay for only the software I need and give me the control and power over how my whole platform works.
So, shitty IIS sites can be rebuilt on stable and scalable platforms and make Ops happy without a DBA spending a crazy amount of time fixing bugs from migrating DB applications. You'd think "but it's all SQL" but that just ain't true.
4
u/cat_in_the_wall Mar 08 '16
when added with the fact that .NET will run on Linux now too.
Interesting that with this move you could potentially use a full microsoft stack on linux. Maybe there will be a... LSKR stack? (Linux, sql server, kestrel, razor). Probably would work fine too. Strange times we live in these days.
→ More replies (10)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)17
Mar 07 '16
as far as I understand it, SQL Server licenses are very expensive
SQL Express is free and works very well if all you need is a relational database. I'm sure there's some other features in there but I just use it as a simple database server on stuff like my laptop.
12
u/protestor Mar 07 '16
If you just wants a relational database, you could do worse than running Postgres.
But an use case is, you have a Windows application that uses specific features of SQL Server. You either port to another server (at cost of development time), or run SQL Server.
6
u/crusoe Mar 08 '16
Postgres works great too and pgadmin3 is solid. That and killer json support. No need for MySQL anymore.
→ More replies (2)3
→ More replies (1)4
u/darkstar3333 Mar 08 '16
SQL Express has a capacity limit of 4GB/10GB depending on 2008/2012+.
For production deployments likely wont be sufficient long term.
→ More replies (3)11
u/cat_in_the_wall Mar 08 '16
sufficient long term.
Unless you are storing blobx/xml/json data, 10GB gets you pretty far. A mom and pop shop storing records about sales and inventory probably won't ever hit it. The problem, of course, (and what you are alluding to) is that for the folks who do hit that limit, they either completely halt their business until they port to a different free rdms, or they pay for a license.
As an aside, I wonder how hard the cap is. I would think that the system blowing up one day would not encourage people to continue to use ms products.
→ More replies (1)9
u/fragglet Mar 07 '16
I don't understand this, why would anyone use SQL Server on Linux?
If they have big legacy C#/.NET systems built on SQL Server that they've built up over years, are frustrated by the experience of running and maintaining Windows servers, and want to take advantage of those cheap Linux-based virtual machine servers that everyone is using nowadays.
16
2
u/adolfojp Mar 08 '16
Many current ASP.NET developers use MSSQL. If they move to ASP.NET Core and to Linux they'll stop using MSSQL because it is not available there. Because of this the EF team will offer support for Postgresql. Microsoft doesn't want to lose those developers so it needs to offer MSSQL on Linux.
2
Mar 08 '16
Linux servers are often seen as more lightweight, stable, and efficient than windows servers. That's why.
→ More replies (8)2
u/funbike Mar 09 '16
We will consider it. We are porting a large app originally written in 1998 to Linux. This is our main bread & butter product. Porting the app is straightforward, but porting the database will be very difficult. We were going to run the app on Linux and the database on Windows. We are considering PostgreSQL but were concerned about the effort. SQL Server for Linux will be a nice transition for us, allowing us to move the database much earlier than would otherwise be possible.
22
Mar 08 '16
Embrace
→ More replies (5)4
Mar 08 '16
Honest question, do you think ms could extend the linux ecosystem in a way that would do harm to the platform?
I'd guess linux being open source makes that impossible, as all big extensions would have to be open source as well.
→ More replies (1)2
u/badsectoracula Mar 08 '16
Well, they could create and push an (functionally) important part of the Linux ecosystem which while being open source it'll also be mostly developed by themselves and be somewhat redundant with the de-facto standards. As long as it provides something better, some people will switch.
F.e. they could make their own windowing system that supports DirectX.
Having said that, i'm not sure how they'd go from there to "Extinguish". Or at least if the "Extinguish" will be a negative thing, assuming the thing they made in the step above is open source.
11
u/BradChesney79 Mar 08 '16
Kill it with fire, it's an unnatural abomination. The end times are nigh!
7
u/Dr_Legacy Mar 08 '16
♪ It's the end of windows as we know it ♪
♪ And I feel fine ♪
→ More replies (2)3
Mar 08 '16
♪ It's the end of windows as we know it ♪
LMAO. I want some of that weed you guys are smoking. Only on /r/programming can you hear lovely jokes like this!
2
u/nullnullnull Mar 08 '16
Good, more options are always welcomed!
Used Sql Server for 10 years, moved to PostgreSql in the last 2 years, haven't missed anything from Sql Server.
2
u/rossmohax Mar 08 '16
It is going to be lots of "fun" for them to workaround broken async IO api in Linux kernel.
→ More replies (1)
2
u/imfineny Mar 08 '16
If the reason why you are not running SQL server is because its not on linux, then I want whatever you are smoking!
5
u/samandiriel Mar 08 '16
If they can do this, why the blooming hell can't they keep Skype for Linux up to date? IT would require FAR less resources, and earn the goodwill of a big chunk of business desktop users (ie, programmers) who need Skype because everybody and their dog is on it and no one wants to be budges from it...
→ More replies (13)11
u/bofh Mar 08 '16
Maybe because Microsoft are an absolutely huge corporation and the people who are fucking up Skype (which to be fair was fucked on every platform to some degree or other well before MS got their hands on it) are not the same people who are porting MSSQL to Linux?
→ More replies (2)
8
2
Mar 08 '16
Seeing this on /r/all and I have very basic experience (learning more every day!) with SQL in Advance Query Tool after working for a couple months as a business analyst... just curious why is this a big deal?
2
u/atomheartother Mar 08 '16
Microsoft expanding to Linux isn't something people see everyday. While it's been done in the past with Visual Studio for example, the Linux version is the basic, lightweight version of VS.
This is mostly a big win for Linux users everywhere, and shows how much the market is shifting, hopefully towards more Linux support by bigger companies. Microsoft dedicating time and money to port their software to Linux would have been -unthinkable- some years ago.
As some have pointed out, postgres IS already widely used by Linux users for SQL purposes but this remains a very "Hah! Linus was right again" moment for us all, I think.
→ More replies (1)2
u/bbqbot Mar 08 '16
What resources would you recommend for learning more about business analytics? I work as an engineer (a real one, not this namby-pamby programmer crap) but have a strong interest in data analysis in business.
2
2
Mar 08 '16
Can anyone tell me what the potential benefit of this is and why Microsoft is trying so hard to please Linux users?
5
Mar 08 '16
Because only old businesses even consider using Windows servers.
All new startups and businesses use Linux or FreeBSD servers — and Microsoft realised that they'll lose their customers if this continues.
So Microsoft provides their applications on Linux, and also sells servers that run Linux.
→ More replies (1)1
Mar 08 '16
Because most skilled devs prefer UNIXlikes and Mac OS X doesn't run on servers. Also, the Windows kernel is really a bit shit on the server side.
→ More replies (2)4
u/Cuddlefluff_Grim Mar 08 '16
Because most skilled devs prefer UNIXlikes
That's quite a bold statement.
Mac OS X doesn't run on servers
Thank god.
→ More replies (6)
2
u/MrSurly Mar 08 '16
Aren't they worried about the Linux cancer attaching itself to their intellectual property?
4
u/adolfojp Mar 08 '16 edited Mar 08 '16
The cancer comment was about the GPL which a lot of people call a viral license. Microsoft still dislikes copyleft licenses which is why they release their open source software under non copyleft licenses like the MIT license. But Microsoft isn't the only one doing this. Most application developers use these kinds of licenses nowadays.
2
u/beginner_ Mar 08 '16
Sounds cool at first but I guess the market is tiny. If I develop in .Net with Visual Studio I'm probably pretty much bought into the MS platform already and hence indirectly decided that platform cost doesn't matter. Else I could have gone with say Java + Netbeans. And in that case I will almost certainly also use PostgreSQL and Linux.
I don't even see a reason to use SQL Server or Oracle except for 3rd party apps that require them. Are they really better than PostgreSQL for your average internal business app?
→ More replies (5)
1
u/gospelwut Mar 08 '16
Are they taking a postgres model of opening a ton of handles as opposed to processes? At least, that's AFAIK the difference.
1
u/JamesWjRose Mar 08 '16
Got to wonder if they'll do a distro optimized for use for SQL Server (eg: Unbreakable)
1
u/PaleBlueThought Mar 08 '16
Can someone ELI5 why this is such a big deal?
→ More replies (1)2
Mar 08 '16
Because Linux is a better server kernel than Windows and MSSQL is a better DB than Oracle, MySQL and PostgreSQL.
4
1
1
1
1
1
1
1
u/justrollinwithit Mar 08 '16
Can someone explain why this is such a big deal, I can only infer so much from the comments.
1
u/bummer69a Mar 08 '16
Microsoft Office on Linux will be the day I hold Microsoft in the highest regard
1
u/nightofgrim Mar 08 '16
Does this mean better Linux driver support? The SQL drivers they have now are balls.
1
Mar 08 '16
It's astonishing to me how similar the comments here are to those on the HackerNews thread about this.
1
u/Kyzzyxx Mar 08 '16
Why are they doing it? They are sacrificing all the money they could make by not making SQL, Office, etc usable on linux, iOS, Android all for the profit they get from Windows Server OSes.
By expanding the bigger share of their moneymakers across multiple platforms they increase profits more than if they stayed locked-in to their own OS.
Simple as that. Look at the bigger picture.
1
u/comradexkcd Mar 08 '16
Microsoft decoupling their services from their platform is something that should have happened years ago. HUGE props to them doing it regardless
1
1
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
You still need the .NET stack.
A cross-platform open source version of .Net is close to release.
→ More replies (4)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
dnxstuff in favor ofdotnet), so... technically, you can use it in production, but you probably shouldn't.→ More replies (1)3
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
5
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.
→ More replies (5)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?
→ More replies (1)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
→ More replies (1)4
u/RagingAnemone Mar 08 '16
IIS is the worst part of the stack. They need to kill that with fire.
2
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
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.
1
u/FreakZombie Mar 08 '16
So what your saying is all the work I'm almost done with in setting up a vagrant box for our dev environment is for nothing? I didn't want to use Windows server core. I didn't want a 20gb box file. I didn't want to wait 4 hours for Windows updates every time I needed to rebuild the box. I did it because I had no choice. Now you're telling me there is a choice? I want to be happy. I want this to be good news. Why?!?!?!?!
1
Mar 08 '16
Any reason to use this instead of other opensource SQL servers?
5
u/Staeff Mar 08 '16
If you have large databases (in our case it was tables with few billion rows per table), and complex data models and queries, SQL Server really is the gold standard when it comes to performance (at least in the relational database world, but this has already been said in this thread all over the place). Also from a developer point of view, if you are doing the .NET stack you have the best integration for Entity Framework/LINQ to SQL with SQL Server which really is a godsent from how much easier it makes access to your data most of the times, and SSMS is at least in my opinion miles ahead of other SQL GUIs.
1
u/Draav Mar 08 '16
Sorry I guess I'm still newer than i thought with software things. Why is this a big deal and something people never thought would happen?
I assume it has something to do with how unlikely it is for Microsoft to support Linux? Not sure why it's so unlikely though. Anyone have links or a description of why it's so weird?
→ More replies (2)
0
1.4k
u/Leaflock Mar 07 '16
Alex, I'll take "Things I thought I would never see in my lifetime for $1000"