时间:2021-07-01 10:21:17 帮助过:8人阅读
BNL
开启bka
SET optimizer_switch=‘mrr=on,mrr_cost_based=off,batched_key_access=on‘;
condition filter (目的是更准确的选择前导表)
Beginning with MySQL 8.0.18, MySQL employs a hash join for any query for which each join has an equi-join condition and uses no indexes
mysql 官方文档之Optimization( 8.2 Optimizing SQL Statements)
标签:官方 ash mys sql tps and class height condition