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.
→ More replies (4)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
→ More replies (17)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?
→ More replies (4)17
u/arechsteiner Mar 07 '16
Microsoft has been making apps for Android for a while I believe.
→ More replies (2)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
8
u/heptara Mar 08 '16
But imagine the data center cooling. Also you get real daemons in your computer.
→ More replies (2)
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."
→ More replies (3)8
157
Mar 07 '16
Hoooooly crap. See ya later Oracle!
24
180
u/RagingAnemone Mar 08 '16
You really should look at postgres before SQL server if you're converting from Oracle.
→ More replies (4)64
Mar 08 '16
Management types really like enterprise backing and sometimes won't back down
→ More replies (20)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.
→ More replies (3)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!
→ More replies (1)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.
18
24
u/myringotomy Mar 07 '16
It's the "core relational database" which implies a less feature version.
We'll see I guess.
→ More replies (7)9
10
u/Martel_the_Hammer Mar 07 '16
I wonder if this will make Sql Server RDS instances cheaper.
→ More replies (1)
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.
→ More replies (10)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()).
→ More replies (2)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.
→ More replies (5)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.
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
→ More replies (5)
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)→ More replies (6)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)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.
→ More replies (4)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 ?
→ More replies (3)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.
→ More replies (7)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 (3)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 (2)
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.
→ More replies (1)
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?
→ More replies (11)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.
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/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
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?
→ More replies (1)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)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.
→ More replies (2)→ More replies (1)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
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.
-7
u/wbeyda Mar 08 '16
Does Microsoft's interest in Linux make everyone feel uneasy or is it just me? i get super paranoid every time I hear about Microsoft wanting to do something that involves Linux. I mean they have tried to patent the Linux kernel several times already. They just seem to not have the open source communities best interests at hand.
→ More replies (3)3
u/micwallace Mar 08 '16
They tried to patent the kernel?!? That's outrageous, link please?
→ More replies (13)5
0
Mar 08 '16
What's next? IIS for Linux? VS for Linux? ... Windows for Linux?
6
u/BattlestarTide Mar 08 '16
Kestrel is the new .NET web server, and runs on Linux
Visual Studio Code is also available now on Linux.
→ More replies (3)2
0
Mar 08 '16
I'm fairly new to programming. Could someone hold my hand and walk me through the implications of this?
→ More replies (1)5
u/PM_ME_UR_OBSIDIAN Mar 08 '16
Microsoft and Linux have historically been mortal enemies. Microsoft has engaged in underhanded business practices to cripple Linux, including funding a patent troll that attacked Linux and lobbying standards organizations to fast-track standardization of their document file format (possibly to undercut competing office suites like OpenOffice). This historical Microsoft did not play nice with the open source ecosystem; the Windows ecosystem of software was largely Microsoft-designed and maintained. Users didn't really have a choice in what they could use, nor could they peek under the hood.
It's cost Microsoft a fair share of good will among developers, and the Windows ecosystem suffered as a result. Windows has been haemorrhaging users on all platforms - losing out to OS X and ChromeOS on the desktop/laptop, Linux on the server, and Android + iOS on mobile.
Founder Bill Gates retired from his CEO position in 2008, being succeeded by Steve Ballmer and later by Satya Nadella. They inherited a massive PR problem. To address this, they implemented sweeping strategic changes within Microsoft - to gain back the trust and respect of developers. As a result, Microsoft has spent the past two or three years constantly surprising everyone by playing nice with the FOSS ecosystem. They've open-sourced the C# compiler, ported the .NET runtime and core libraries to Linux, shuttered CodePlex and started developing lots of stuff in the open on GitHub, etc.
SQL Server is one of Microsoft's flagship server applications. Seeing it ported to Linux is huge. If you went back to 2005 and told people that SQL Server would run on Linux by 2020, they'd think you have a few screws loose in your head.
3
0
0
Mar 07 '16
[deleted]
150
u/chucker23n Mar 07 '16
Bringing SQL Server to Linux makes sense as it's a very widespread server platform.
For VS, two things hold true:
it has plenty of platform-specific code. So much that, unlike SQL Server, it still runs in 32-bit and needs satellite processes to do some 64-bit work at all. Surely SQL Server has some platform optimizations, but so, too, does VS's compiler/build infrastructure; on top, VS is a WPF GUI, and WPF relies on Direct3D. Hard to port.
Linux on the desktop is far less interesting than on the server.
So, instead, they approached VS differently by building VS Code from (mostly) scratch. It uses some existing components like Electron and OmniSharp, and presumably, the idea is to take it into account when adding new features to VS in the future. And unlike SQL Server, it runs on the Mac as well. I wouldn't be surprised if VS Code is used mostly on the Mac — on Windows, you'll typically use 'VS classic', and relatively few people use Linux on their desktop.
127
u/svick Mar 07 '16
relatively few people use Linux on their desktop
I think the percentage is going to be much higher among programmers.
40
→ More replies (12)24
Mar 08 '16
Linux or OS X is what I've seen dominating among developers.
→ More replies (2)28
u/darkpaladin Mar 08 '16
From what I've seen it's OSX then Windows then Linux. Everyone on OSX and Windows has a Linux VM though so there's that I guess.
→ More replies (5)7
u/Andernerd Mar 08 '16
So, instead, they approached VS differently by building VS Code from (mostly) scratch
I wouldn't compare VS Code to VS; it's more like Notepad++.
→ More replies (3)2
Mar 08 '16
I agree, but I also think VS is moving that way. .NET core is cross platform, it supports Android and even iOS development (to a degree). Some of the build tools are ported too.
If the old 90s Microsoft had made TypeScript they would have made the compiler Windows only. Instead it's truly cross platform and specifically built to be open source.
More and more of Visual Studios bread and butter is moving to be cross platform. I think one of the next ones to watch would be MSVC. If that got ported to Linux then we'd be in the odd position where it would be hard to justify Visual Studio being Windows only.
-6
u/mycall Mar 07 '16
WPF relies on Direct3D. Hard to port.
I think LAME could handle this, or if it doesn't, it could.
32
u/simspelaaja Mar 07 '16
You're thinking of WINE. LAME is an MP3 encoder.
9
u/summerteeth Mar 08 '16
LAME is an MP3 encoder.
Hmm someone told me it wasn't. ;)
→ More replies (1)11
10
Mar 08 '16
Maybe. Though a linux version of Xamarin seems a bit less far-fetched, considering the recent acquisition by Microsoft.
With JetBrains also releasing a cross-platform .Net IDE, a linux (or even a Mac) version of VS starts to seem a little redundant.
→ More replies (3)5
u/svick Mar 07 '16
If that was the case, why bother creating VS Code in the first place?
→ More replies (2)5
u/Andernerd Mar 08 '16
As someone who has to use VS Code at work: I have no idea.
→ More replies (2)2
1
1
u/RaptorXP Mar 09 '16
Yes they'll probably release it next year as I hear 2017 will be the year of the Linux desktop.
1
0
Mar 07 '16
[deleted]
22
u/Eirenarch Mar 07 '16
The question about making money is very real. While share price goes up profits fall under Nadella compared to Ballmer. There is definitely a limit on how far they can move in this direction.
46
u/vplatt Mar 07 '16
As long as more and more people run their software on Azure, they don't really care what OS you use to run it. The future is in cloud as a utility computing service and the wars over the desktop and the server OS are in the past now and largely irrelevant to their future competitive position.
5
u/Eirenarch Mar 08 '16
I agree about the general direction things are going but I disagree that the desktop will not be relevant. It will always be because people who produce information will need it. Consumers of information will move to tablets and phones but the producers will always be the influencers.
→ More replies (1)→ More replies (2)6
Mar 08 '16
Nadella's future plans are growing though - Surface, Azure, Xbox, Bing.
It's good that they've realized Windows won't be the main profit maker forever.→ More replies (10)2
1
Mar 10 '16
They would rather license anything and call it an azure service then sell it these days than just about anything else. I personally like the way they are doing things these days, SQL server has seen more game changing work as a result of the cloud first mantra than I have seen in years.
→ More replies (4)1
u/darkstar3333 Mar 08 '16
Who are we kidding? They will make just as much.
Microsoft will likely just hike SQL license prices and include a Windows Server 2012 Core license with the SQL license.
Any additional revenue from Linux DBA switching to SQL will more than offset anyone transitioning from Windows to Linux for your DB.
0
Mar 08 '16
[deleted]
5
1
u/Philluminati Mar 08 '16
Worse, irrelevant.
2
Mar 08 '16
Worse, irrelevant.
LMAO. Irrelevant when they keep coming out with well received and money making products? sure!
1
u/mirhagk Mar 09 '16
They are probably the only proprietary developer that has managed to stay relevant
0
Mar 08 '16
[deleted]
12
u/jmickeyd Mar 08 '16 edited Mar 08 '16
Is performance a meaningful way for you? Because there are a huge number of cases where ms sql is much faster than postgres.
Edit: Sorry, I didn't intend to sound snarky. I was seriously asking whether raw performance was a significant metric. The existence of programming languages such as Ruby show that usability and velocity are more important than performance in a lot of cases.
3
→ More replies (1)0
Mar 08 '16
[deleted]
12
u/jmickeyd Mar 08 '16
A lot of them stem from SQL Server having optional MVCC whereas it's the only mode in Postgres. If you have a covering index which sees writes frequently enough that Postgres's visibility map can't be used (you write to pages after auto-vacuum) Postgres is forced to do a heap lookup to see whether each tuple is visible in the current transaction. In the most degenerate case
SELECT COUNT(1) FROM tableis O(1) in SQL Server and a full table scan in Postgres.2
u/doublehyphen Mar 08 '16
On the other hand having MVCC turned off gives a huge performance penalty for concurrent read/write loads and I would advice people to run SQL Server with MVCC tuned on, unless they really know what they are doing.
→ More replies (1)4
u/Cuddlefluff_Grim Mar 08 '16
SELECT db1data, db2data FROM [database1].[dbo].[table] db1 INNER JOIN [database2].[dbo].[table] db2 ON db2.id = db1.idNow, let's try postgresql :
SELECT db1data, db2data FROM "database1"."public"."table" db1 INNER JOIN "database2"."public"."table" db2 ON db2.id = db1.idError: multiple databases in a single query are not supported.
I think you need to do some more research before you make that assertion, because in my experience it's pretty far from the truth.
3
1
0
1.4k
u/Leaflock Mar 07 '16
Alex, I'll take "Things I thought I would never see in my lifetime for $1000"