本文介绍了CPU与DTU和池的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在高级池(250DTU)中有数据库,我注意到有时CPU使用率高达90-100%,但DTU使用率没有接近极限。有人能解释一下这里发生了什么吗?不应该通过Azure调整CPU的大小以容纳
所需的DTU?

I have databases in a premium pool (250DTU) and I have noticed that there are times where the CPU usage is high 90-100% but the DTU usage does not come close to the limit. Can some explain what is going on here? Shouldn't the CPU be sized by Azure to accommodate the necessary DTU's?

推荐答案

DTU是磁盘,CPU和内存的笨蛋。 所以你的CPU很高并不意味着DTU数量也会很高。 如果您的查询是CPU密集型但磁盘和RAM较低那么这将是完全合理的。

DTU is a cauldren of disk, CPU and memory.  So your CPU being high does not mean that the DTU amount will also be high.  If your queries are CPU intensive but low on disk and RAM then that would make perfect sense.

如果您的数据库活动比CPU更密集,那么磁盘或内存然后你应该看看vCore产品而不是DTU。

If your DB activity is more CPU intensive than on  disk or memory then you should probably look at a vCore offering rather than DTU.

谢谢,

马特


这篇关于CPU与DTU和池的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 19:50