mysql 官方文档之Optimization( 8.2 Optimizing SQL Statements)
索引下推
Block Nested-Loop and Batched Key Access Joins
BNL
开启bka
SET optimizer_switch=‘mrr=on,mrr_cost_based=off,batched_key_access=on‘;
Multi-Range Read Optimization
condition filter (目的是更准确的选择前导表)
Engine Condition Pushdown Optimization
Hash Join Optimization(无索引,等值连接)
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
相关推荐
aydh 2020-11-12
CoderToy 2020-11-16
emmm00 2020-11-17
王艺强 2020-11-17
ribavnu 2020-11-16
bianruifeng 2020-11-16
wangshuangbao 2020-11-13
苏康申 2020-11-13
vivenwan 2020-11-13
moyekongling 2020-11-13
云中舞步 2020-11-12
要啥自行车一把梭 2020-11-12
kuwoyinlehe 2020-11-12
minerk 2020-11-12
vitasfly 2020-11-12
jazywoo在路上 2020-11-11
敏敏张 2020-11-11
世樹 2020-11-11