[英]Azure Virtual Machine and Azure SQL Database: optimal deployment for performance
The solution consists of an SQL Database and desktop application working hard with that DB. 该解决方案由一个SQL数据库和与该数据库一起工作的桌面应用程序组成。 DB Deployed as Azure SQL Database, application running on Azure Virtual Machine with Windows Server onboard.
DB部署为Azure SQL数据库,应用程序在内置Windows Server的Azure虚拟机上运行。 What is the deployment guidelines for this two services in Azure?
Azure中这两项服务的部署准则是什么? I want to achieve max performance.
我想实现最高性能。 Should they both be located in same resource group?
它们是否应该位于同一资源组中?
You will need to get your app and the database located as close as possible so yes the same resource group. 您将需要使您的应用程序和数据库尽可能地靠近,因此请使用相同的资源组。
Make sure you do not have Mars enabled (MultipleActiveResultSets in connection string). 确保没有启用火星(连接字符串中为MultipleActiveResultSets)。
Make sure you do use connection pooling. 确保确实使用连接池。
Read this to understand what you are dealing with: 阅读以下内容以了解您要处理的内容:
https://www.simple-talk.com/sql/learn-sql-server/improving-the-quality-of-sql-server-database-connections-in-the-cloud/ https://www.simple-talk.com/sql/learn-sql-server/improving-the-quality-of-sql-server-database-connections-in-the-cloud/
Ed 埃德
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.