以非常相似的时间运行的行/批处理模式下的 Azure 托管实例相同查询为什么批处理模式没有运行得更快?

问题描述

Azure 托管实例在非常相似的时间运行的行/批处理模式下的相同查询。为什么批处理模式没有运行得更快? 我获得 Row Mode 的方式是在 compatible_level = 140 的数据库上下文下运行,而 Batch Mode 在 compatible_level = 150 下运行。实际上 Row Mode 的运行速度比 346 秒慢了 364 秒。查询仅使用哈希联接。

Batch Mode Plan

Batch Mode Numbers

Row Mode Plan

Attached link has the query Plans

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)