简体   繁体   English

Azure SQL数据库正在失去容量

[英]Azure SQL Database is losing its capacity

I have created an Azure SQL Database and I have noticed that its capacity is decreasing. 我已经创建了一个Azure SQL数据库,并且注意到它的容量正在减少。 Once in a while the database capacity decreases. 偶尔,数据库容量会减少。

I don't save anything to the database. 我什么都不保存到数据库。

What can cause this ? 是什么原因造成的?

There is a feature enabled by default in Sql Azure to help you debug performance issues called the Query Store. 默认情况下,Sql Azure中启用了一项功能,可帮助您调试称为查询存储的性能问题。 It has a configurable cap on its size, but it writes summary information about query plan performance into your database over time. 它的大小上限是可配置的,但是随着时间的推移,它会将有关查询计划性能的摘要信息写入数据库中。 This could potentially explain your facts. 这可能会解释您的事实。

Also, there are some mechanisms inside the database that do versioning of changes with background cleanup. 另外,数据库中有一些机制可以通过后台清理对变更进行版本控制。 If you are just doing updates to the database of existing data you could see size usage change indirectly from explicit user queries that you invoke right then. 如果您只是对现有数据的数据库进行更新,则可以看到大小用法从当时调用的显式用户查询间接改变。

Hope that helps you find your root case. 希望能帮助您找到根本原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM