Skip to content

Commit 15a77a1

Browse files
committed
MDEV-18608: Defaults for 10.4: histogram size should be set
Change the defaults: -histogram_size=0 +histogram_size=254 -histogram_type=SINGLE_PREC_HB +histogram_type=DOUBLE_PREC_HB Adjust the testcases: - Some have ignorable changes in EXPLAIN outputs and more counter increments due to EITS table reads. - Testcases that meaningfully depend on the old defaults are changed to use the old values.
1 parent 19c6a7b commit 15a77a1

25 files changed

+136
-115
lines changed

mysql-test/main/derived_cond_pushdown.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15734,7 +15734,7 @@ explain extended select t2.a,t2.b,t2.c,t.c as t_c,t.max,t.min
1573415734
from t2, t3, (select c, max(b) max, min(b) min from t4 group by c) t
1573515735
where t2.b < 40 and t2.a=t3.a and t3.c=t.c;
1573615736
id select_type table type possible_keys key key_len ref rows filtered Extra
15737-
1 PRIMARY t2 ALL NULL NULL NULL NULL 90 33.33 Using where
15737+
1 PRIMARY t2 ALL NULL NULL NULL NULL 90 63.28 Using where
1573815738
1 PRIMARY t3 ref idx_a idx_a 5 test.t2.a 1 100.00 Using where
1573915739
1 PRIMARY <derived2> ref key0 key0 128 test.t3.c 10 100.00
1574015740
2 DERIVED t4 ALL idx_c NULL NULL NULL 160 100.00 Using temporary; Using filesort
@@ -15751,7 +15751,7 @@ EXPLAIN
1575115751
"table_name": "t2",
1575215752
"access_type": "ALL",
1575315753
"rows": 90,
15754-
"filtered": 33.333,
15754+
"filtered": 63.281,
1575515755
"attached_condition": "t2.b < 40 and t2.a is not null"
1575615756
},
1575715757
"table": {
@@ -16230,7 +16230,7 @@ explain extended select *
1623016230
from t2, t3, (select c, b, sum(b) over (partition by c) from t4 ) t
1623116231
where t2.b < 40 and t2.a=t3.a and t3.c=t.c;
1623216232
id select_type table type possible_keys key key_len ref rows filtered Extra
16233-
1 PRIMARY t2 ALL NULL NULL NULL NULL 90 33.33 Using where
16233+
1 PRIMARY t2 ALL NULL NULL NULL NULL 90 63.28 Using where
1623416234
1 PRIMARY t3 ref idx_a idx_a 5 test.t2.a 1 100.00 Using where
1623516235
1 PRIMARY <derived2> ref key0 key0 128 test.t3.c 10 100.00
1623616236
2 DERIVED t4 ALL idx_c NULL NULL NULL 160 100.00 Using temporary
@@ -16247,7 +16247,7 @@ EXPLAIN
1624716247
"table_name": "t2",
1624816248
"access_type": "ALL",
1624916249
"rows": 90,
16250-
"filtered": 33.333,
16250+
"filtered": 63.281,
1625116251
"attached_condition": "t2.b < 40 and t2.a is not null"
1625216252
},
1625316253
"table": {

mysql-test/main/group_min_max.result

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ id select_type table type possible_keys key key_len ref rows Extra
17161716
1 SIMPLE t1 range NULL idx_t1_1 147 NULL 17 Using where; Using index for group-by
17171717
explain extended select distinct a1,a2,b,c from t1 where (a2 >= 'b') and (b = 'a') and (c = 'i121');
17181718
id select_type table type possible_keys key key_len ref rows filtered Extra
1719-
1 SIMPLE t1 index NULL idx_t1_1 163 NULL 128 0.39 Using where; Using index
1719+
1 SIMPLE t1 index NULL idx_t1_1 163 NULL 128 0.38 Using where; Using index
17201720
Warnings:
17211721
Note 1003 select distinct `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c` from `test`.`t1` where `test`.`t1`.`b` = 'a' and `test`.`t1`.`c` = 'i121' and `test`.`t1`.`a2` >= 'b'
17221722
explain select distinct a1,a2,b from t1 where (a1 > 'a') and (a2 > 'a') and (b = 'c');
@@ -1733,7 +1733,7 @@ id select_type table type possible_keys key key_len ref rows Extra
17331733
1 SIMPLE t2 range NULL idx_t2_1 146 NULL # Using where; Using index for group-by
17341734
explain extended select distinct a1,a2,b,c from t2 where (a2 >= 'b') and (b = 'a') and (c = 'i121');
17351735
id select_type table type possible_keys key key_len ref rows filtered Extra
1736-
1 SIMPLE t2 index NULL idx_t2_1 163 NULL 164 0.28 Using where; Using index
1736+
1 SIMPLE t2 index NULL idx_t2_1 163 NULL 164 0.30 Using where; Using index
17371737
Warnings:
17381738
Note 1003 select distinct `test`.`t2`.`a1` AS `a1`,`test`.`t2`.`a2` AS `a2`,`test`.`t2`.`b` AS `b`,`test`.`t2`.`c` AS `c` from `test`.`t2` where `test`.`t2`.`b` = 'a' and `test`.`t2`.`c` = 'i121' and `test`.`t2`.`a2` >= 'b'
17391739
explain select distinct a1,a2,b from t2 where (a1 > 'a') and (a2 > 'a') and (b = 'c');
@@ -2078,27 +2078,27 @@ id select_type table type possible_keys key key_len ref rows Extra
20782078
explain extended select a1,a2,min(b),max(b) from t1
20792079
where (a1 = 'b' or a1 = 'd' or a1 = 'a' or a1 = 'c') and (a2 > 'a') and (c > 'a111') group by a1,a2;
20802080
id select_type table type possible_keys key key_len ref rows filtered Extra
2081-
1 SIMPLE t1 range idx_t1_0,idx_t1_1,idx_t1_2 idx_t1_1 130 NULL 77 100.00 Using where; Using index
2081+
1 SIMPLE t1 range idx_t1_0,idx_t1_1,idx_t1_2 idx_t1_1 130 NULL 77 99.22 Using where; Using index
20822082
Warnings:
20832083
Note 1003 select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2`,min(`test`.`t1`.`b`) AS `min(b)`,max(`test`.`t1`.`b`) AS `max(b)` from `test`.`t1` where (`test`.`t1`.`a1` = 'b' or `test`.`t1`.`a1` = 'd' or `test`.`t1`.`a1` = 'a' or `test`.`t1`.`a1` = 'c') and `test`.`t1`.`a2` > 'a' and `test`.`t1`.`c` > 'a111' group by `test`.`t1`.`a1`,`test`.`t1`.`a2`
20842084
explain extended select a1,a2,b,min(c),max(c) from t1
20852085
where (a1 = 'b' or a1 = 'd' or a1 = 'a' or a1 = 'c') and (a2 > 'a') and (d > 'xy2') group by a1,a2,b;
20862086
id select_type table type possible_keys key key_len ref rows filtered Extra
2087-
1 SIMPLE t1 ALL idx_t1_0,idx_t1_1,idx_t1_2 NULL NULL NULL 128 40.10 Using where; Using temporary; Using filesort
2087+
1 SIMPLE t1 ALL idx_t1_0,idx_t1_1,idx_t1_2 NULL NULL NULL 128 45.12 Using where; Using temporary; Using filesort
20882088
Warnings:
20892089
Note 1003 select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2`,`test`.`t1`.`b` AS `b`,min(`test`.`t1`.`c`) AS `min(c)`,max(`test`.`t1`.`c`) AS `max(c)` from `test`.`t1` where (`test`.`t1`.`a1` = 'b' or `test`.`t1`.`a1` = 'd' or `test`.`t1`.`a1` = 'a' or `test`.`t1`.`a1` = 'c') and `test`.`t1`.`a2` > 'a' and `test`.`t1`.`d` > 'xy2' group by `test`.`t1`.`a1`,`test`.`t1`.`a2`,`test`.`t1`.`b`
20902090
explain extended select a1,a2,b,c from t1
20912091
where (a1 = 'b' or a1 = 'd' or a1 = 'a' or a1 = 'c') and (a2 > 'a') and (d > 'xy2') group by a1,a2,b,c;
20922092
id select_type table type possible_keys key key_len ref rows filtered Extra
2093-
1 SIMPLE t1 ALL idx_t1_0,idx_t1_1,idx_t1_2 NULL NULL NULL 128 40.10 Using where; Using temporary; Using filesort
2093+
1 SIMPLE t1 ALL idx_t1_0,idx_t1_1,idx_t1_2 NULL NULL NULL 128 45.12 Using where; Using temporary; Using filesort
20942094
Warnings:
20952095
Note 1003 select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2`,`test`.`t1`.`b` AS `b`,`test`.`t1`.`c` AS `c` from `test`.`t1` where (`test`.`t1`.`a1` = 'b' or `test`.`t1`.`a1` = 'd' or `test`.`t1`.`a1` = 'a' or `test`.`t1`.`a1` = 'c') and `test`.`t1`.`a2` > 'a' and `test`.`t1`.`d` > 'xy2' group by `test`.`t1`.`a1`,`test`.`t1`.`a2`,`test`.`t1`.`b`,`test`.`t1`.`c`
20962096
explain select a1,a2,b,max(c),min(c) from t2 where (a2 = 'a') and (b = 'b') or (b < 'b') group by a1;
20972097
id select_type table type possible_keys key key_len ref rows Extra
20982098
1 SIMPLE t2 index NULL idx_t2_1 163 NULL 164 Using where; Using index
20992099
explain extended select a1,a2,b from t1 where (a1 = 'b' or a1 = 'd' or a1 = 'a' or a1 = 'c') and (a2 > 'a') and (c > 'a111') group by a1,a2,b;
21002100
id select_type table type possible_keys key key_len ref rows filtered Extra
2101-
1 SIMPLE t1 range idx_t1_0,idx_t1_1,idx_t1_2 idx_t1_1 130 NULL 77 100.00 Using where; Using index
2101+
1 SIMPLE t1 range idx_t1_0,idx_t1_1,idx_t1_2 idx_t1_1 130 NULL 77 99.22 Using where; Using index
21022102
Warnings:
21032103
Note 1003 select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2`,`test`.`t1`.`b` AS `b` from `test`.`t1` where (`test`.`t1`.`a1` = 'b' or `test`.`t1`.`a1` = 'd' or `test`.`t1`.`a1` = 'a' or `test`.`t1`.`a1` = 'c') and `test`.`t1`.`a2` > 'a' and `test`.`t1`.`c` > 'a111' group by `test`.`t1`.`a1`,`test`.`t1`.`a2`,`test`.`t1`.`b`
21042104
explain select a1,a2,min(b),c from t2 where (a2 = 'a') and (c = 'a111') group by a1;

mysql-test/main/join.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ pk v pk v
12801280
SHOW STATUS LIKE 'Handler_read_%';
12811281
Variable_name Value
12821282
Handler_read_first 0
1283-
Handler_read_key 11
1283+
Handler_read_key 14
12841284
Handler_read_last 0
12851285
Handler_read_next 0
12861286
Handler_read_prev 0

mysql-test/main/join_outer.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ sum(t3.b)
18031803
show status like "handler_read%";
18041804
Variable_name Value
18051805
Handler_read_first 0
1806-
Handler_read_key 10
1806+
Handler_read_key 13
18071807
Handler_read_last 0
18081808
Handler_read_next 5
18091809
Handler_read_prev 0
@@ -1818,7 +1818,7 @@ sum(t3.b)
18181818
show status like "handler_read%";
18191819
Variable_name Value
18201820
Handler_read_first 0
1821-
Handler_read_key 6
1821+
Handler_read_key 7
18221822
Handler_read_last 0
18231823
Handler_read_next 5
18241824
Handler_read_prev 0
@@ -2552,15 +2552,15 @@ test.t3 analyze status OK
25522552
explain extended select * from t1 left join t3 on t1.a=t3.b and t3.a<5;
25532553
id select_type table type possible_keys key key_len ref rows filtered Extra
25542554
1 SIMPLE t1 ALL NULL NULL NULL NULL 10 100.00
2555-
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 0.99 Using where
2555+
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 1.96 Using where
25562556
Warnings:
25572557
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` left join `test`.`t3` on(`test`.`t3`.`b` = `test`.`t1`.`a` and `test`.`t3`.`a` < 5) where 1
25582558
# t3.filtered must less than 100%, too:
25592559
explain extended select * from t1 left join (t3 join t2) on t1.a=t3.b and t3.a<5;
25602560
id select_type table type possible_keys key key_len ref rows filtered Extra
25612561
1 SIMPLE t1 ALL NULL NULL NULL NULL 10 100.00
25622562
1 SIMPLE t2 ALL NULL NULL NULL NULL 2 100.00
2563-
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 0.99 Using where
2563+
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 1.96 Using where
25642564
Warnings:
25652565
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b`,`test`.`t2`.`a` AS `a` from `test`.`t1` left join (`test`.`t3` join `test`.`t2`) on(`test`.`t3`.`b` = `test`.`t1`.`a` and `test`.`t3`.`a` < 5) where 1
25662566
drop table t1,t2,t3;

mysql-test/main/join_outer_jcl6.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ sum(t3.b)
18141814
show status like "handler_read%";
18151815
Variable_name Value
18161816
Handler_read_first 0
1817-
Handler_read_key 10
1817+
Handler_read_key 13
18181818
Handler_read_last 0
18191819
Handler_read_next 5
18201820
Handler_read_prev 0
@@ -1829,7 +1829,7 @@ sum(t3.b)
18291829
show status like "handler_read%";
18301830
Variable_name Value
18311831
Handler_read_first 0
1832-
Handler_read_key 6
1832+
Handler_read_key 7
18331833
Handler_read_last 0
18341834
Handler_read_next 5
18351835
Handler_read_prev 0
@@ -2563,15 +2563,15 @@ test.t3 analyze status OK
25632563
explain extended select * from t1 left join t3 on t1.a=t3.b and t3.a<5;
25642564
id select_type table type possible_keys key key_len ref rows filtered Extra
25652565
1 SIMPLE t1 ALL NULL NULL NULL NULL 10 100.00
2566-
1 SIMPLE t3 hash_ALL NULL #hash#$hj 5 test.t1.a 1000 0.99 Using where; Using join buffer (flat, BNLH join)
2566+
1 SIMPLE t3 hash_ALL NULL #hash#$hj 5 test.t1.a 1000 1.96 Using where; Using join buffer (flat, BNLH join)
25672567
Warnings:
25682568
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b` from `test`.`t1` left join `test`.`t3` on(`test`.`t3`.`b` = `test`.`t1`.`a` and `test`.`t3`.`a` < 5 and `test`.`t1`.`a` is not null) where 1
25692569
# t3.filtered must less than 100%, too:
25702570
explain extended select * from t1 left join (t3 join t2) on t1.a=t3.b and t3.a<5;
25712571
id select_type table type possible_keys key key_len ref rows filtered Extra
25722572
1 SIMPLE t1 ALL NULL NULL NULL NULL 10 100.00
25732573
1 SIMPLE t2 ALL NULL NULL NULL NULL 2 100.00 Using where
2574-
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 0.99 Using where
2574+
1 SIMPLE t3 ALL NULL NULL NULL NULL 1000 1.96 Using where
25752575
Warnings:
25762576
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t3`.`a` AS `a`,`test`.`t3`.`b` AS `b`,`test`.`t2`.`a` AS `a` from `test`.`t1` left join (`test`.`t3` join `test`.`t2`) on(`test`.`t3`.`b` = `test`.`t1`.`a` and `test`.`t3`.`a` < 5 and `test`.`t1`.`a` is not null) where 1
25772577
drop table t1,t2,t3;

mysql-test/main/mysqld--help.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,8 +1462,8 @@ gtid-ignore-duplicates FALSE
14621462
gtid-pos-auto-engines
14631463
gtid-strict-mode FALSE
14641464
help TRUE
1465-
histogram-size 0
1466-
histogram-type SINGLE_PREC_HB
1465+
histogram-size 254
1466+
histogram-type DOUBLE_PREC_HB
14671467
host-cache-size 279
14681468
idle-readonly-transaction-timeout 0
14691469
idle-transaction-timeout 0

mysql-test/main/opt_trace.result

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,11 +1324,11 @@ EXPLAIN SELECT MIN(d) FROM t1 where b=2 and c=3 group by a {
13241324
"selectivity_for_columns": [
13251325
{
13261326
"column_name": "b",
1327-
"selectivity_from_histograms": 0.1667
1327+
"selectivity_from_histograms": 0.2891
13281328
},
13291329
{
13301330
"column_name": "c",
1331-
"selectivity_from_histograms": 0.25
1331+
"selectivity_from_histograms": 0.2891
13321332
}
13331333
]
13341334
}
@@ -1348,8 +1348,8 @@ EXPLAIN SELECT MIN(d) FROM t1 where b=2 and c=3 group by a {
13481348
"considered_access_paths": [
13491349
{
13501350
"access_type": "scan",
1351-
"resulting_rows": 0.2917,
1352-
"cost": 3.3707,
1351+
"resulting_rows": 0.5849,
1352+
"cost": 3.3121,
13531353
"chosen": true,
13541354
"use_tmp_table": true
13551355
}
@@ -1374,7 +1374,7 @@ EXPLAIN SELECT MIN(d) FROM t1 where b=2 and c=3 group by a {
13741374
"reconsidering_access_paths_for_index_ordering": {
13751375
"clause": "GROUP BY",
13761376
"fanout": 1,
1377-
"read_time": 3.3717,
1377+
"read_time": 3.3131,
13781378
"table": "t1",
13791379
"rows_estimation": 7,
13801380
"possible_keys": [
@@ -1957,11 +1957,11 @@ explain select * from t1 where a=1 and b=2 order by c limit 1 {
19571957
"selectivity_for_columns": [
19581958
{
19591959
"column_name": "a",
1960-
"selectivity_from_histograms": 0.0012
1960+
"selectivity_from_histograms": 0.1797
19611961
},
19621962
{
19631963
"column_name": "b",
1964-
"selectivity_from_histograms": 0.001
1964+
"selectivity_from_histograms": 0.0156
19651965
}
19661966
]
19671967
}

mysql-test/main/order_by.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3347,9 +3347,9 @@ filler2 char(255),
33473347
key(a)
33483348
);
33493349
insert into t4 select a,a,a, a,a from t3;
3350-
set @tmp_h=@@histogram_size, @tmp_u=@@use_stat_tables,
3350+
set @tmp_h=@@histogram_size, @tmp_ht=@@histogram_type, @tmp_u=@@use_stat_tables,
33513351
@tmp_o=@@optimizer_use_condition_selectivity;
3352-
set histogram_size=100;
3352+
set histogram_size=100, histogram_type='single_prec_hb';
33533353
set use_stat_tables=preferably;
33543354
set optimizer_use_condition_selectivity=4;
33553355
analyze table t4 persistent for columns(b) indexes ();
@@ -3363,6 +3363,6 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
33633363
1 SIMPLE t4 index NULL a 5 NULL 1188 100.00 Using where
33643364
Warnings:
33653365
Note 1003 select `test`.`t4`.`a` AS `a`,`test`.`t4`.`b` AS `b`,`test`.`t4`.`c` AS `c`,`test`.`t4`.`filler1` AS `filler1`,`test`.`t4`.`filler2` AS `filler2` from `test`.`t4` where `test`.`t4`.`b` < 5000 order by `test`.`t4`.`a` limit 600
3366-
set histogram_size=@tmp_h, use_stat_tables=@tmp_u,
3366+
set histogram_size=@tmp_h, histogram_type=@tmp_ht, use_stat_tables=@tmp_u,
33673367
optimizer_use_condition_selectivity=@tmp_o;
33683368
drop table t1,t2,t3,t4;

mysql-test/main/order_by.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,9 +2209,9 @@ create table t4 (
22092209
);
22102210
insert into t4 select a,a,a, a,a from t3;
22112211

2212-
set @tmp_h=@@histogram_size, @tmp_u=@@use_stat_tables,
2212+
set @tmp_h=@@histogram_size, @tmp_ht=@@histogram_type, @tmp_u=@@use_stat_tables,
22132213
@tmp_o=@@optimizer_use_condition_selectivity;
2214-
set histogram_size=100;
2214+
set histogram_size=100, histogram_type='single_prec_hb';
22152215
set use_stat_tables=preferably;
22162216
set optimizer_use_condition_selectivity=4;
22172217
analyze table t4 persistent for columns(b) indexes ();
@@ -2220,7 +2220,7 @@ analyze table t4 persistent for columns(b) indexes ();
22202220
explain extended
22212221
select * from t4 where b < 5000 order by a limit 600;
22222222

2223-
set histogram_size=@tmp_h, use_stat_tables=@tmp_u,
2223+
set histogram_size=@tmp_h, histogram_type=@tmp_ht, use_stat_tables=@tmp_u,
22242224
optimizer_use_condition_selectivity=@tmp_o;
22252225

22262226
drop table t1,t2,t3,t4;

mysql-test/main/partition.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,15 +2737,15 @@ id select_type table partitions type possible_keys key key_len ref rows Extra
27372737
1 SIMPLE t2 p1,p2 ALL NULL NULL NULL NULL 400 Using where
27382738
explain extended select * from t2 where b=5;
27392739
id select_type table type possible_keys key key_len ref rows filtered Extra
2740-
1 SIMPLE t2 ALL NULL NULL NULL NULL 1000 19.80 Using where
2740+
1 SIMPLE t2 ALL NULL NULL NULL NULL 1000 19.61 Using where
27412741
Warnings:
27422742
Note 1003 select `test`.`t2`.`part_key` AS `part_key`,`test`.`t2`.`a` AS `a`,`test`.`t2`.`b` AS `b` from `test`.`t2` where `test`.`t2`.`b` = 5
27432743
explain partitions select * from t2 where b=5;
27442744
id select_type table partitions type possible_keys key key_len ref rows Extra
27452745
1 SIMPLE t2 p0,p1,p2,p3,p4 ALL NULL NULL NULL NULL 1000 Using where
27462746
explain extended select * from t2 partition(p0) where b=1;
27472747
id select_type table type possible_keys key key_len ref rows filtered Extra
2748-
1 SIMPLE t2 ALL NULL NULL NULL NULL 200 19.80 Using where
2748+
1 SIMPLE t2 ALL NULL NULL NULL NULL 200 19.61 Using where
27492749
Warnings:
27502750
Note 1003 select `test`.`t2`.`part_key` AS `part_key`,`test`.`t2`.`a` AS `a`,`test`.`t2`.`b` AS `b` from `test`.`t2` PARTITION (`p0`) where `test`.`t2`.`b` = 1
27512751
set @@use_stat_tables= @save_use_stat_tables;

0 commit comments

Comments
 (0)