要是你知道你的OLTP搜索对不同绑定值应该使用相同执行计划又该怎么办呢?
What if you know your OLTP searches should use the same execution plan for different binding values?
您可以使用Visual Explain或db 2 exfmt的输出来获得查询执行计划。
You can use the output of Visual Explain or db2exfmt to obtain the query execution plan.
当评估查询执行计划时,优化器计算并比较每种连接方法的成本,然后选择要使用的最佳方法。
The optimizer calculates and compares the costs of each join method and selects the best one to use when evaluating query execution plans.
应用推荐