DP300-MON#71
SQL Server で Adaptive Joins が動作する条件はどれですか?
解説
【正解: A】の理由
Adaptive Joins は SQL Server 2017+ の IQP 機能で 実行時に行数を観察し Hash Join と Nested Loop Join を 動的に切替える機能です。Batch Mode + Columnstore Index で有効で 2019+ では Batch Mode on Rowstore 設定で Rowstore Index でも適用されます。小さい 結果には Nested Loop、大きい 結果には Hash Join を選び 性能を最適化します。
【他選択肢が違う理由】
- B: TDE は暗号化機能で Adaptive Joins とは無関係です。
- C: Always Encrypted も無関係です。
- D: RLS も無関係です。

コメント