I recently moved an on-premise database to the cloud. When we ran our application we received a timeout issue in visual studio. I used importing "data tier application" to move the database from on-premise to the cloud. I did some research and found out that there was no way to increase the timeout duration in cloud (sp_configure function is missing for Azure databases). Just wondering if anyone else experience moving databases from on-premises to the cloud and if you experienced any timeout issues afterwards.
Timeout is never a server-side setting. So increase the CommandTimeout in your application, and troubleshoot the slow queries with Query Store.
Related
I experience really slow performance on SSMS (V 18) when connecting to an Azure database (as opposed to an on-premise database)
I get performance issues when using the Object Explorer -e.g. when opening a View definition or opening table Design view. Regular Query performance is not the issue.
Has anyone else experienced this?
What is the solution?
Your Azure database is hosted in the Azure cloud. You are connecting via port 1433 over the WWW. Things like the object explorer are heavy hits on network utilization and things like default timeouts etc. are going to be highly un-tuned to your situation. Some things you could do:
Fire up a VM in Azure, install SSMS, open the firewall ports and see if you experience a lot more performant SSMS features.
Validate, or improve your internet connection. Latency, down/up speed being highly important.
Lastly, as this is likely NOT your main issue, increase your tier level for the hosted database. Assuming this is a hosted database in Azure? The default tier is NOT very performant and if you have a lot of objects it's trying to pop into your object explorer, this could help.
In addition to #maplemale answer - check whether your database connection is set to Proxy or Redirect.
If you can open the 11000-11999 port range in your corporate network then you can benefit from a Redirect connection where your client connects directly to the VM hosting your database rather than being proxied by Azure.
We are using Azure Cloud for our web application.
Once we work outside of the office we want to connect Azure Sql Database.
But the connection is too slow. Sometimes it takes one minute to get a response.
Is there any settings we need to apply to increase connection speed?
I have been using Azure SQL database for the past six month, and it works very well. But today, I cannot connect to it from Microsoft SQL Server Management Studio.
I got this error:
I checked my Azure account, the database is still alive:
Sometimes I get this problem and after 5-10 minutes it is automatically resolved.
I think the problem is at Azure Server.
Any idea to fix this problem for good?
Apologies for the less than optimal experience. The error message does indicate a service issue. Could you please contact me at mihaelab at Microsoft dot com? I would like to understand why your perceived unavailability in 5-10 min long as per our telemetry none of the databases in the server have such long outages.
Thanks,
Mihaela
We've been using Azure blob storage for storing all of our SQL backups for over 8 months now.
Over the weekend our production server has suddenly stopped being able to reach the Azure Blob Storage Endpoint where the backups are stored too. The SQL Jobs are now failing.
The back up worked as normal on the A.M job and then failed on the same given day on the P.M run and it hasn't worked since.
We've tried using the Azure blob storage viewer for this specific endpoint from our local machines and also another of our development servers and they can all connect without any issue.
It appears that the issue lies with the server itself, but I'm unsure as to where the problem lies.
Ideally, we need to be able to fix the issue without rebooting the server as its our production server.
I'm a developer, and Azure SQL backup mgmt is not my strong point, would appreciate some guidance on this issue.
A client of mine has 2 SAP local servers and he would like to recover his data on the cloud using GCP.
The 2 SAP servers are working with a shared MS SQL database with clustering methodology, one server is active while the other is passive. His reason of recovering the data is that whenever his SAP servers are down he could still access his database with the same functionality he has locally.
I kept on trying to search for a solution to do so using the Google App Engine but as far as I understood there will be no full functionality.
What I thought of is to use the CloudSQL database as a mirror to his SQL database and to get the GAE as a passive server that only works when the systems are down. I found this link which was useful on connecting SAP with GAE but still not with much help on running GAE as an active server.
Any ideas on any other work around?
Thank you.