简体   繁体   English

Azure虚拟机和Azure SQL数据库:性能最佳的部署

[英]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.

相关问题 虚拟机中的Azure SQL数据库或SQL Server? - Azure SQL Database or SQL Server in a Virtual Machine? 使用Azure SQL数据库在Azure虚拟机上创建开发Web服务器 - Creating a development web server on Azure virtual machine with Azure SQL database 在Azure虚拟机上运行的SQL Server Web Edition上的Reporting Service是否可以将Azure数据库用作数据源? - Can Reporting service on sql server web edition running on azure virtual machine use the azure database as the data source? SQL Server-将Azure SQL数据库的bacpac文件导入虚拟机上的SQL Server 2014 - SQL Server - import bacpac file of Azure SQL database to SQL Server 2014 on Virtual Machine Azure SQL 虚拟机版本和 SQL Server 数据库版本之间的差异 - Difference between Azure SQL Virtual Machine version and SQL Server Database version 使用ACL授予Azure机器学习对虚拟机上的SQL Server的访问权限 - Grant Azure Machine Learning access to SQL Server on Virtual Machine with ACL 将SQL Azure数据库导出到本地计算机 - Export SQL Azure database to local machine 在Azure虚拟机上创建并连接到Entity Framework数据库时出错 - Error when creating and connecting to Entity Framework database on an Azure virtual machine 如何将Android应用程序连接到Azure虚拟机的数据库 - how to connect android app to azure virtual machine's database 查找Azure SQL数据库中的性能问题 - Find performance issues in Azure SQL database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM