mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MWL#128: Added into EXPLAIN output info about types of the used join buffers and
about the employed join algorithms. Refactored constructors of the JOIN_CACHE* classes.
This commit is contained in:
parent
79087c9e07
commit
25f5debdc7
65 changed files with 1072 additions and 995 deletions
|
|
@ -614,7 +614,7 @@ explain
|
|||
select max(t1.a3), min(t2.a2) from t1, t2 where t1.a2 = 2 and t1.a3 < 'MIN' and t2.a3 > 'CA';
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 range k1 k1 7 NULL 1 Using where; Using index
|
||||
1 SIMPLE t2 range k1 k1 3 NULL 4 Using where; Using index; Using join buffer
|
||||
1 SIMPLE t2 range k1 k1 3 NULL 4 Using where; Using index; Using join buffer (flat, BNL join)
|
||||
explain
|
||||
select min(a4 - 0.01) from t1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
|
|
@ -651,7 +651,7 @@ explain
|
|||
select concat(min(t1.a1),min(t2.a4)) from t1, t2 where t2.a4 <> 'AME';
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t2 range k2 k2 4 NULL 6 Using where; Using index
|
||||
1 SIMPLE t1 index NULL PRIMARY 3 NULL 15 Using index; Using join buffer
|
||||
1 SIMPLE t1 index NULL PRIMARY 3 NULL 15 Using index; Using join buffer (flat, BNL join)
|
||||
drop table t1, t2;
|
||||
create table t1 (a char(10));
|
||||
insert into t1 values ('a'),('b'),('c');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue