本文介绍了在Azure SQL DW中创建和更新统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我对表统计信息有一个查询.
I have one query around table statistics.
Azure SQL DW现在带有"自动创建统计信息"和自动更新统计信息"功能,如果我启用的话此功能在数据库级别.此更改会不会有任何影响.
Azure SQL DW now comes with 'Auto Create Statistics' and 'Auto Update Statistics' feature, should i enable this feature at database level. Will there be any impact due to this change.
否则,请让我知道用于生成和更新Azure DW表统计信息的其他方法.
谢谢
推荐答案
是的,您绝对应该.
如果您选择不启用统计信息的自动更新,则每次加载数据时都需要手动运行此操作:示例:创建统计信息(在创建更新统计信息脚本之后).
If you choose not to enable automatic updating of statistics, you need to run this manually every time you have a data load: Examples:Create statistics (after creating your update statistics script).
此致
迈克
这篇关于在Azure SQL DW中创建和更新统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!