News for hackers. Stuff that matters.
Re:Announcing SQL Server on Linux by lololomg on Monday March 07, 2016 @09:35PM (#11243227)
Would you yourself actually choose SQL Server on Linux for a project?

I'm a big fan of SQL Server but the main thing that hurts it is the cost. Licensing our two servers today would cost a quarter of a million dollars. The OS cost is a rounding error. If I'm paying that much money for SQL Server I don't think I'd choose the Linux version for at least another 5 years from now. It needs to prove itself and there's almost no benefit to offset the risk.

Re:Announcing SQL Server on Linux by niutech on Tuesday March 08, 2016 @05:03AM (#11244406)
I would never use MS SQL Server unless it is open source. Otherwise you get into vendor lock-in. Microsoft is cunning - they want to tie Linux-based businesses to their (expensive) products for good. But fortunately there is a viable open source alternative - PostgreSQL. http://www.pg-versus-ms.com
Re:Announcing SQL Server on Linux by heroprotagonist on Tuesday March 08, 2016 @06:27AM (#11244664)
How are the clustering options coming along with PostgreSQL? The last time I looked into there weren't any multi-master solutions out of the box, but there were a bunch of separate implementations that mostly seemed to be half-baked.

https://wiki.postgresql.org/wiki/Replication,_Clustering,_an...

It's my understanding that the Postgres team has decided to change their historical stance of considering clustering solutions outside the scope of the core project, but I'm unclear exactly how far that has come.

The variety of different 3rd party implementations in various states of maturity make this a bit tedious to sort through.

That said, I always pick PG for my personal projects. I just have a hard time getting sign-off on it from my corporate overlords for anything at work.

Re:Announcing SQL Server on Linux by mtreis86 on Tuesday March 08, 2016 @07:29AM (#11244826)
http://www.postgresql.org/docs/9.4/static/different-replicat...

Async Multimaster is in the list of replication solutions.

I have not personally implemented it myself.

Edit, As I am reading this more closely it may be listing third party implementations and is not 'out of box'

Re:Announcing SQL Server on Linux by breakingcups on Tuesday March 08, 2016 @10:49AM (#11245933)
Not that url again. It's RIDICULOUSLY biased and comes up every time SQL Server comes up on HN.
Re:Announcing SQL Server on Linux by philjackson on Tuesday March 08, 2016 @05:19AM (#11244452)
Out of curiosity, how does OSS prevent vendor lock-in? Are you talking more in terms of support?
Re:Announcing SQL Server on Linux by niutech on Tuesday March 08, 2016 @05:37AM (#11244531)
It's very simple. With FLOSS you are not tied to one software distributor and you can freely modify and distribute the software by yourself. It is not about support, it is about freedom to run, copy, distribute, study, change and improve the software.
Re:Announcing SQL Server on Linux by cies on Tuesday March 08, 2016 @05:34AM (#11244516)
Anyone can support the OSS product to utmost level by studying the source code (and possibly fixing/modifying it).

> Are you talking more in terms of support?

Support is not tied to the product's license (which is common for proprietary software).

Re:Announcing SQL Server on Linux by drdaeman on Tuesday March 08, 2016 @09:12AM (#11245285)
The sad truth is that "anyone can" is frequently still "nobody did, so you're on your own". This well applies to even the most popular pieces of FLOSS.

That's still significantly better than "noone but a single vendor can and you're at their mercy", but just being FLOSS doesn't mean it can't suffer from product lock-in, just that with the hurdle being complexity and not copyright.

Re:Announcing SQL Server on Linux by EdHominem on Tuesday March 08, 2016 @12:50PM (#11246982)
There's always friction, yes, but rarely a lock or you'd simply go into the code and remove it.

Natural complexity, when the domain is simply complex to model, can't be gotten rid of regardless of the product.

Re:Announcing SQL Server on Linux by drdaeman on Tuesday March 08, 2016 @01:14PM (#11247191)
Ah, the lock is not something that check the license and tells "oh no you're not allowed". It's a combination of not having something, and complexity to add it. Sometimes, that's because you need something tricky. Sometimes, that's because the project lacks any documentation, is written in a pretty low-level (verbose) language that obscures the high-level picture, and it's hard to figure out how it works. Sometimes, that's because FLOSS != KISS, and there is a lot of FLOSS software that has its own unique proprietary protocols and data formats, and does things in a manner that's completely incompatible and non-interoperable with any other system. I have no clue about MySQL or PostgreSQL internals (actually, I heard a word they're good in this regard), but is the case for various FLOSS projects - I've dug into some and cursed their developers.

If you overcame that and made a patch, but it's not accepted by the upstream - there are maintenance costs. How long would you be able to maintain your own fork of a large software project, keeping up with the upstream? I've tried with a few small ones (say, at a small ISP company, I just needed some custom pppd patches for in-house billing logic), and found it to be not a pleasant experience. I believe it's not just because I'm a lazy ass - I saw tons of forks on GitHub that were slowly rotting away, maintained for some time but eventually forsaken by their authors and far behind their upstreams.

Re:Announcing SQL Server on Linux by EdHominem on Tuesday March 08, 2016 @01:49PM (#11247483)
That's what a lock is - something intentional. Everything else is natural complexity. Nobody made their code complex because they felt like it.

> If you overcame that and made a patch, but it's not accepted by the upstream

As for how well the FLOSS projects are managed, how's your luck at debugging let alone getting a patch accepted in MS-SQL, for instance?

> I saw tons of forks on GitHub that were slowly rotting away

I saw people with food, who weren't eating it because they were full, and I decided that food was stupid. Right?

> How long would you be able to maintain your own fork of a large software project, keeping up with the upstream?

Far longer than a binary patch... You know, to block a certain cipher suite or something in a closed-source product.

Re:Announcing SQL Server on Linux by drdaeman on Tuesday March 08, 2016 @02:07PM (#11247650)
> how's your luck at debugging let alone getting a patch accepted in MS-SQL, for instance?

Duh, none or nearly none, of course.

I'm not saying that proprietary binary blobs are better. There are exceptions, but generally they're significantly worse in this regard.

I'm only saying that just because software is FLOSS doesn't mean one can successfully hack on it and adapt it to their needs, or easily migrate to other FLOSS solutions. Sometimes, they'll be stuck for a while - I think that's also can be considered as a lock-in.

> Nobody made their code complex because they felt like it.

Maybe. But there's a term "over-engineering" too. It's not that someone decides to make things unnecessarily complex, but sometimes they really do.

Re:Announcing SQL Server on Linux by dspillett on Tuesday March 08, 2016 @06:22AM (#11244659)
> Would you yourself actually choose SQL Server on Linux for a project?

It will significantly reduce the licensing implications of using SQL Server for a small project. I know people who use MSSQL in their day job but postgres/other for personal projects and one of the reasons is needing to license Windows if a personal project becomes public and needs hosting. This way a small project can use SQL Server Express on Linux just as cost free as progres (or mysql if you must) on Linux.

The choice of OS will no longer dictates the choice of DB, that decision can be entirely made on the needs of the project and its target users.

Small projects using Express edition may grow into larger ones needed standard/enterprise features, and people exposed to SQL Server through projects using it on Linux are less likely to dismiss ti later because the know postgres/other only. I'm not sure how much we'll see brand new larger projects use SQL Server on Linux any time soon though, but I imagine "get them in at the ground floor and create familiarity as early as possible" is the intention here much like cheap educational licensing for Windows, Office, & full VS and the availability of VS Express.

Re:Announcing SQL Server on Linux by GFischer on Tuesday March 08, 2016 @07:36AM (#11244853)
BizSpark is the way Microsoft encourages side projects/startups to use MS SQL, but yes, this removes a hurdle, and separating the choice of OS from the choice of DB is good.

That said, I use MS SQL both at work and on my personal projects thanks to BizSpark.

There's also Azure, which, to be fair, is still more expensive than an equivalent AWS stack with Postgre or something.

Re:Announcing SQL Server on Linux by natslovR on Tuesday March 08, 2016 @02:07AM (#11243922)
Many of the stability issues I've seen with SQL server have been the fault of the OS or Windows drivers

Conversations I had with some senior SQL server team members in the last two years suggested they were ready for no reboot patching but were limited by the OS and felt it was holding them back. If it wasn't for Windows, SQL server uptime would be much better (was the implication)

I'm looking forward to trialing it.

Re:Announcing SQL Server on Linux by gscott on Tuesday March 08, 2016 @12:27AM (#11243696)
For smaller businesses they can join Bizspark and download SQL Server free from msdn and keep it even after the 3 year program ends.
Re:Announcing SQL Server on Linux by robocat on Tuesday March 08, 2016 @02:14AM (#11243929)
In theory. In practice our hosting provider couldn't do this for us because of their own licencing (or it was too difficult for them to work out).

And if you are a start-up, you will upgrade your DB, in which case you might only get a few years free anyway.

Re:Announcing SQL Server on Linux by godzillabrennus on Tuesday March 08, 2016 @01:44PM (#11247448)
Host companies have to license you a copy through the Microsoft SPLA program.
Re:Announcing SQL Server on Linux by pcx on Tuesday March 08, 2016 @12:11AM (#11243659)
I think this will be a great option for existing SQL Server users wanting to move to Linux. Looks like MSFT is slowly giving up on Windows Server to some extent. They might be seeing more money in the Cloud business compared to the Server OS business.
Re:Announcing SQL Server on Linux by toyg on Tuesday March 08, 2016 @02:35AM (#11243976)
Or rather hope or predict to see more money. There is a lot of wishful thinking involved in the current shift to the cloud, both from providers and their customers.
Re:Announcing SQL Server on Linux by jitbit on Saturday March 12, 2016 @02:23PM (#11274090)
> Would you yourself actually choose SQL Server on Linux for a project?

Well, I might KEEP my SQL Server, but switch from Windows to Linux as the host OS - to save $$ on licensing and hardware.

Re:Announcing SQL Server on Linux by paulryanrogers on Tuesday March 08, 2016 @08:26AM (#11245027)
Wasn't the core of SQL Server actually Sybase?
Re:Announcing SQL Server on Linux by danesparza on Tuesday March 08, 2016 @09:21AM (#11245342)
Kind of. Sybase and Microsoft actually partnered for a while but parted ways in the mid-90's. https://en.wikipedia.org/wiki/Adaptive_Server_Enterprise

(I actually remember using Sybase SQL server for a while until the tool that would eventually be called Enterprise Manager was released.)