Simple select count(id) uses 100% of Azure SQL DTUs

前端 未结 3 1927
借酒劲吻你
借酒劲吻你 2020-12-31 06:27

This started off as this question but now seems more appropriately asked specifically since I realised it is a DTU related question.

Basically, running:



        
3条回答
  •  误落风尘
    2020-12-31 06:47

    I had the same issue. Updating the statistics with fullscan on the table solved it:

    update statistics mytable with fullscan
    

提交回复
热议问题