The space available property is not computed correctly
还没有人认领这个 Issue。
评估
调研方向
从 src/Microsoft/SqlServer/Management/SqlEnum/PostProcessDatabaseInsideAttribs.cs 中 Database.SpaceAvailable 的相关计算开始。检查 sys.allocation_units 和 sys.partitions 的连接方式,然后针对使用列存储索引的数据库验证结果。完成标准是该属性在没有不兼容连接的情况下报告正确的可用空间。
由索引模型根据 Issue 内容生成。
描述
The Database.SpaceAvailable property is not computed correctly. The reason for this issue is that the input used in the calculation of this property, as seen in the source code, relies on a join operation between the sys.allocation_units and sys.partitions DMVs. However, this inner join is incompatible with columnstore indexes, as clearly documented in the official documentation. Consequently, the size is inaccurately computed for databases using columnstores. The solution is straightforward: remove this incompatible join operation from the calculation.
- 主要语言
- C#
- 星标
- 143
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/sqlmanagementobjects 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 72/100
-
难度 4/5 3-5 天 新手友好度 74/100
-
难度 3/5 1-2 天 新手友好度 78/100
-
难度 3/5 1-2 天 新手友好度 68/100
-
难度 5/5 一周以上 新手友好度 35/100
查看 microsoft/sqlmanagementobjects 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
难度 2/5 1-3 小时 新手友好度 92/100
dotnet/AspNetCore.Docs#37699 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
SubtitleEdit/subtitleedit#15108 · 1 条评论 ·
-
area/docs-content Bug pulumi/docs
难度 1/5 1-3 小时 新手友好度 94/100
-
agentic-workflows untriaged
难度 2/5 1-3 小时 新手友好度 76/100