r/SQLServer • u/[deleted] • Nov 03 '15
Why is Azure SQL Server so broken/crippled?
Edit, V12 supports change tracking and alot more features. Upgrade your azure instance
I'm fairly new to using MS SQL(usually use others). A client had a requirement for a project that I must use his existing Azure SQL database for two way real time updates.
I'm a developer and jumped right in....
so far every single normal SQL Server 2014 feature I've tried is purposely disabled without a replacement.
Change tracking on rows? No soup for you. SQL service broker so I can enable push notifications? GTFO! Some GUI substitute option for push notifications? Hell no! Bulk insert so I can import some CSV files? Bulk wha??! alerts? Not in for your SQL server....greyed out for you! subscriptions ? Yes we have....wait... you meant an feed? No No....I meant how much $$$ would you prefer to give to MS. Syncing? Yes we have... for glorious MS servers only....the only TRUE server.
So I check MS forums and find out over the past 5 years MS has been slowly adding "features" to azure that have been available for well over 10+! Even worse...some are still in beta so recommended not for production usage.
Why da fuq would anybody use Azure SQL server over another cloud platform...is it in alpha? Is there anything I can do more advanced than Microsoft Excel?
17
u/peschkaj Nov 03 '15 edited Nov 03 '15
It sounds like you have a lot of preconceived biases and that you really just want to vent your frustrations, but here's my 2 cents.
First off, let me say that all of this is documented. You read the documentation when you got started, right?
so far every single normal SQL Server 2014 feature I've tried is purposely disabled without a replacement.
Almost everything missing from Azure SQL Database has a replacement feature that's offered by Microsoft's cloud.
Change tracking - You should be using a CQRS/event sourcing strategy in your application, not making the database do more work.
Service Broker - use an AMQP compliant message queue instead of making the database do more work.
Bulk Insert - write a program to import your files.
Replication - it's supported as a subscriber, otherwise see my suggestions for Service Broker and Change Tracking.
There are technical reasons for some of the limitations, too. Agent jobs and alerts aren't supported because an Azure SQL Database is automatically a member of a SQL Server AlwaysOn Availability Group. If the physical server that your database is on fails, the database will be spun up on a different physical server. Agent jobs, alerts, etc are all stored in msdb, which cannot be a part of an AlwaysOn Availability Group for a variety of implementation reasons.
Why can't you use USE? Because every database is isolated using the Contained Database feature.
Microsoft have been building something new. If you want the same old SQL Server in Azure, you can do that. It's really easy to spin up a VM with SQL Server installed.
If you want to export all of your data from Azure SQL Database, you can do that too. The process is documented.
-3
Nov 03 '15
[removed] — view removed comment
6
u/peschkaj Nov 03 '15
The hosted SSRS product was dropped because nobody used it. SSRS scheduling requires SQL Agent jobs, which are unsupported because of the
msdbintegration point. The same goes for SSIS. Both of those really are better handled by either a VM or a worker role on another server.You know what I do hear DBAs and developer raving about? Their love of:
Backups.
OS patches.
SQL Server patching.
Testing OS patches and SQL Server patches.
Regression testing SQL Server to verify that OS and SQL Server patches don't break anything.
Managing backup files and backup retention.
You're right, Azure SQL Database is going to die because everybody loves patching and backups.
1
u/Bercztalan Apr 23 '25
Jesus F Christ, 10 years later this still rings true
1
Apr 23 '25
I was a newb developer back then and haven't touched Azure SQL since. I actually ended up getting fired from that job, lol
I can't believe this post is still relevant.
2
u/G33kKahuna Nov 04 '15
I understand your frustration. I don't believe the data access challenge goes away with AWS or other cloud offering either. AWS didn't offer PaaS (RDS is not PaaS) until recently and they offer it their own database product, Aurora. AWS DB recently went down recently and took CloudWatch with it. It was the ugliest weekend for us and we had to pay SLA violations to our customers. AWS found a contractual out and didn't compensate us
All cloud platforms are constantly changing, previewing new features, releasing alpha, RC etc. This is not just MS. Believe it or not, I've actually have seen better previews on Azure than on AWS or Google. AWS iSCSI targets and NFS file share for starters, IMHO, was a shit show. MS Azure file share preview felt like a real release even though it was in preview. Same with SQL TDS. Also, being on the cloud platform is a different way of thinking from an on-prem, which is what I have seen and can get frustrating/challenging especially when consuming PaaS
We are a MS ISV. Currently, we are hosted in both AWS and Azure. 2 of our customers are on Google Cloud, self managed. We got into Azure because MS was planning on offering oData for any SQL PaaS DB on Azure. When MS architects presented this to us, it was a no brainier. Soon after we launched on Azure, this feature was sunset. oData.org link is still active BTW. To remain Soc 2 and SAS-16 compliant we cannot show direct SQL connects or direct data center connects of any sort. Our auditors run pen scans randomly, if violated puts our certification at risk and affects our insurance. Our customers would like to access their data at least unidirectional if not bidirectional but we cannot provide this feature without direct connect. This goes across all our offering on AWS, Azure, Google, managed cloud providers
One nice thing about Azure, MS architects are available if you reach out to your Azure contact (assuming you have one). If you haven't already, this is my recommendation. We have been working with MS architects closely. We tried data sync but this didn't workout because too many tables and the schema refresh never completed. Next we tried open source Azure DB Migration tool, put a HTTP front to it and allowed customers to download dat file with schemas. This works good but not a great pub-sub model
Currently, we are planning to construct our own readonly WCF oData services that we keep enriching with our software releases. This still has challenges like when our customer who is a tenant customizes their instance of our application. These changes cannot make it to the oData service without a recompile
If you do find a solution, please share
0
u/cachedrive Nov 05 '15
I read this last night and was like, "pfff,t this dudes totally whining like a bitch". Fired up MSSQL in Azure and dear god I owe someone an apology. I can't believe anyone would use this over EC2/RDS/RaspberryPi...
1
Nov 05 '15 edited Nov 05 '15
Worst part is....I found change tracking...
It's just burried under a crap ton of ms normal SQL articles and azure specific jargon.
I'm no noob to apis and SQL software but dammit microsoft....just spit it out. This isn't the military....
0
Nov 03 '15
[deleted]
-3
Nov 03 '15
I understand that....but why not call it a different name?
Amazon doesn't call redshift "MySQL enterprise edition".
2
u/Lucrums Nov 03 '15
Why would they redshift is based on Postgres not MySQL. Also redshift is a reporting platform in that it used columnar format storage rather than row for,at storage so it's got a different access engine.
1
u/peschkaj Nov 03 '15
Great news! Amazon RedShift is based on ParAccel's MPP product. Which is based on PostgreSQL.
3
Nov 03 '15
[removed] — view removed comment
2
Nov 05 '15
You should see the level of down votes I'm getting.
I did find change tracking.....took fricken forever...
4
u/jwhaley58 Nov 03 '15
Yeah I can see how there seems to be a little bit of a disconnect with some of the missing features at first glance. In fairness however, I feel like this is a square peg, round hole kind of situation. This is just my two cents, and I don't mean to assume that I understand exactly what your frusturations are, but you made this sort of open ended so I'm trying my best to provide some feed back. I'm also not sure what you mean by two way real time updates. I would probably recommend some other sort of replication methodology besides Azure if that's all the client wants out of it, but to each their own. Azure has all kinds of crazy stuff that we can't do on prem currently, data factory, machine learning, and data lake are just a few off the top that are "more advanced than excel". And speaking of excel, until SSRS 2016 hits the shelves, you can't even do all of the awesome Power BI stuff without using the Power BI service which I'm sure is running on Azure. If you're trying to replace your on prem database solution, you're going to continue being disappointed for quite some time I think. The direction seems to be, on prem for traditional workloads, off prem for crazy machine learning, massively parallel, or using something like strech database for cheap off-site storage. I mean yeah, there is a lot of room for growth, but I feel like you're being a bit hyperbolic. Disclaimer, I don't use the product so I don't know as much about it as someone like you who has done it for a client, I only know what I've seen and what I've heard my friends doing with it. I just want to throw in my two cents and say this may be harshly judging a ferrari because it's turning out to be a rather poor tractor. I don't think Azure is supposed to replace SQL Server 2014, rather the impression I've gotten from the most recent keynotes and blog posts is that Microsoft wants Azure to compliment its current offerings.