简体   繁体   English

Azure SQL 数据库与 VM 上的 Azure SQL

[英]Azure SQL Database vs Azure SQL on VM

We are finding Azure SQL Database very slow.我们发现 Azure SQL 数据库非常慢。 Its probably about 10x slower than the same spend on a SQL on an Azure VM.它可能比在 Azure VM 上的 SQL 上花费相同的费用慢 10 倍左右。

However a VM based solution requires maintenance and backups and im concerned I'll loose the VM and data if something horrible goes wrong.然而,基于 VM 的解决方案需要维护和备份,我担心如果出现可怕的问题,我会丢失 VM 和数据。

Thus the SQL Azure solution seems safer to me.因此,SQL Azure 解决方案对我来说似乎更安全。 So I have two specific questions.所以我有两个具体问题。

  1. Are you seeing this speed difference and if so is there a solution您是否看到这种速度差异,如果有,是否有解决方案
  2. Is there any nice solution for ensure the SQL on VM is backed up automatically and offsite.是否有任何不错的解决方案来确保 VM 上的 SQL 自动和异地备份。

Azure SQL database is slightly slower than SQL Server on Azure Virtual Machine. Azure SQL 数据库比 Azure 虚拟机上的 SQL Server 稍慢。 However, we didn't find it as slow as 10X.但是,我们没有发现它像 10X 一样慢。 May be you should try Premium tier, which delivers more powerful and predictable performance, in case your database is in some other tier.也许您应该尝试高级层,它提供更强大和可预测的性能,以防您的数据库位于其他层。

Regarding SQL Server on Azure Virtual Machine, there is support available for automated backup and patching.关于 Azure 虚拟机上的 SQL Server,支持自动备份和修补。 Please visit the below link for more details.请访问以下链接了解更多详情。

http://azure.microsoft.com/blog/2015/01/29/automated-everything-with-sql-server-on-iaas-vms/ http://azure.microsoft.com/blog/2015/01/29/automated-everything-with-sql-server-on-iaas-vms/

While performance analysis, it is worth checking for ASYNC_NETWORK_IO wait type.在性能分析时,值得检查 ASYNC_NETWORK_IO 等待类型。 Make Sure your client application is deployed close to your database in Azure.确保您的客户端应用程序部署在 Azure 中靠近您的数据库的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM