0

We moved my application to the cloud I've moved a local VM SQL database to Azure SQL Elastic Pool databases 50 DTU. Our database size approximately 4Gb. The problem is that the connection to that new Azure SQL database is so slow and getting command timeout. We use the EF6 database first to handle the SQL stuff.

I have experienced this problem in the last few months. After combing through the logs, the spikes in database traffic that maxed out the DTU limit for my SQL Server.

Aside from increasing DTUs

  1. Is there a way to extend the remote command timeout to the azure SQL Elastic Pool database?

  2. Is there a way setup fixed DTU usage for each elastic pool database separately?

4

1 回答 1

1

有没有办法将远程命令超时扩展到 azure SQL 弹性池数据库?

命令超时是客户端设置。SQL Server 没有服务器端命令超时。

但是您应该对查询性能进行故障排除。要使池保持低至 50DTU,您需要非常小心昂贵的查询。参见例如查询性能洞察

有没有办法分别为每个弹性池数据库设置固定的 DTU 使用情况?

您可以为每个数据库设置最小值和最大值:https ://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-pool-manage

于 2020-06-12T15:04:54.997 回答