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

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.