Update test results after the previous push
This commit is contained in:
parent
fb6183a80b
commit
6324c36bd7
@ -1413,9 +1413,12 @@ pk1 pk2
|
|||||||
explain select * from t1 where badkey=1 and key1=10;
|
explain select * from t1 where badkey=1 and key1=10;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 SIMPLE t1 ref key1 key1 4 const 91 Using where
|
1 SIMPLE t1 ref key1 key1 4 const 91 Using where
|
||||||
|
set @tmp_index_merge_ror_cpk=@@optimizer_switch;
|
||||||
|
set optimizer_switch='extended_keys=off';
|
||||||
explain select * from t1 where pk1 < 7500 and key1 = 10;
|
explain select * from t1 where pk1 < 7500 and key1 = 10;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 SIMPLE t1 ref PRIMARY,key1 key1 4 const ROWS Using where
|
1 SIMPLE t1 ref PRIMARY,key1 key1 4 const ROWS Using where
|
||||||
|
set optimizer_switch=@tmp_index_merge_ror_cpk;
|
||||||
explain select * from t1 where pktail1ok=1 and key1=10;
|
explain select * from t1 where pktail1ok=1 and key1=10;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 SIMPLE t1 ref key1,pktail1ok pktail1ok 4 const 76 Using where
|
1 SIMPLE t1 ref key1,pktail1ok pktail1ok 4 const 76 Using where
|
||||||
|
@ -148,7 +148,7 @@ use dbt3_s001;
|
|||||||
set use_stat_tables='preferably';
|
set use_stat_tables='preferably';
|
||||||
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
|
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
|
||||||
set debug_sync='RESET';
|
set debug_sync='RESET';
|
||||||
select * from mysql.index_stats where table_name='lineitem' order by index_name;
|
select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
|
||||||
db_name table_name index_name prefix_arity avg_frequency
|
db_name table_name index_name prefix_arity avg_frequency
|
||||||
dbt3_s001 lineitem PRIMARY 1 4.0033
|
dbt3_s001 lineitem PRIMARY 1 4.0033
|
||||||
dbt3_s001 lineitem PRIMARY 2 1.0000
|
dbt3_s001 lineitem PRIMARY 2 1.0000
|
||||||
|
@ -151,20 +151,20 @@ use dbt3_s001;
|
|||||||
set use_stat_tables='preferably';
|
set use_stat_tables='preferably';
|
||||||
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
|
analyze table lineitem persistent for columns() indexes (i_l_receiptdate);
|
||||||
set debug_sync='RESET';
|
set debug_sync='RESET';
|
||||||
select * from mysql.index_stats where table_name='lineitem' order by index_name;
|
select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
|
||||||
db_name table_name index_name prefix_arity avg_frequency
|
db_name table_name index_name prefix_arity avg_frequency
|
||||||
dbt3_s001 lineitem PRIMARY 1 4.0033
|
dbt3_s001 lineitem PRIMARY 1 4.0033
|
||||||
dbt3_s001 lineitem PRIMARY 2 1.0000
|
dbt3_s001 lineitem PRIMARY 2 1.0000
|
||||||
dbt3_s001 lineitem i_l_commitdate 1 2.7160
|
dbt3_s001 lineitem i_l_commitdate 1 2.7160
|
||||||
dbt3_s001 lineitem i_l_orderkey 1 4.0033
|
dbt3_s001 lineitem i_l_orderkey 1 4.0033
|
||||||
dbt3_s001 lineitem i_l_orderkey_quantity 2 1.0404
|
|
||||||
dbt3_s001 lineitem i_l_orderkey_quantity 1 4.0033
|
dbt3_s001 lineitem i_l_orderkey_quantity 1 4.0033
|
||||||
|
dbt3_s001 lineitem i_l_orderkey_quantity 2 1.0404
|
||||||
dbt3_s001 lineitem i_l_partkey 1 30.0250
|
dbt3_s001 lineitem i_l_partkey 1 30.0250
|
||||||
dbt3_s001 lineitem i_l_receiptdate 1 2.6477
|
dbt3_s001 lineitem i_l_receiptdate 1 2.6477
|
||||||
dbt3_s001 lineitem i_l_receiptdate 3 1.0000
|
|
||||||
dbt3_s001 lineitem i_l_receiptdate 2 1.0152
|
dbt3_s001 lineitem i_l_receiptdate 2 1.0152
|
||||||
dbt3_s001 lineitem i_l_shipdate 2 1.0149
|
dbt3_s001 lineitem i_l_receiptdate 3 1.0000
|
||||||
dbt3_s001 lineitem i_l_shipdate 1 2.6500
|
dbt3_s001 lineitem i_l_shipdate 1 2.6500
|
||||||
|
dbt3_s001 lineitem i_l_shipdate 2 1.0149
|
||||||
dbt3_s001 lineitem i_l_shipdate 3 1.0000
|
dbt3_s001 lineitem i_l_shipdate 3 1.0000
|
||||||
dbt3_s001 lineitem i_l_suppkey 1 600.5000
|
dbt3_s001 lineitem i_l_suppkey 1 600.5000
|
||||||
dbt3_s001 lineitem i_l_suppkey_partkey 1 30.0250
|
dbt3_s001 lineitem i_l_suppkey_partkey 1 30.0250
|
||||||
@ -243,7 +243,7 @@ analyze table lineitem persistent for all;
|
|||||||
set debug_sync='open_and_process_table WAIT_FOR parker';
|
set debug_sync='open_and_process_table WAIT_FOR parker';
|
||||||
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
|
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
|
||||||
use dbt3_s001;
|
use dbt3_s001;
|
||||||
select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68;
|
select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68 order by prefix_arity;;
|
||||||
db_name table_name index_name prefix_arity avg_frequency l_orderkey l_partkey l_suppkey l_linenumber l_quantity l_extendedprice l_discount l_tax l_returnflag l_linestatus l_shipDATE l_commitDATE l_receiptDATE l_shipinstruct l_shipmode l_comment
|
db_name table_name index_name prefix_arity avg_frequency l_orderkey l_partkey l_suppkey l_linenumber l_quantity l_extendedprice l_discount l_tax l_returnflag l_linestatus l_shipDATE l_commitDATE l_receiptDATE l_shipinstruct l_shipmode l_comment
|
||||||
dbt3_s001 lineitem i_l_shipdate 1 2.6496 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
|
dbt3_s001 lineitem i_l_shipdate 1 2.6496 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
|
||||||
dbt3_s001 lineitem i_l_shipdate 2 1.0149 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
|
dbt3_s001 lineitem i_l_shipdate 2 1.0149 1 68 9 2 36 34850.16 0.09 0.06 N O 1996-04-12 1996-02-28 1996-04-20 TAKE BACK RETURN MAIL slyly bold pinto beans detect s
|
||||||
|
@ -144,7 +144,7 @@ disconnect con1;
|
|||||||
disconnect con2;
|
disconnect con2;
|
||||||
set debug_sync='RESET';
|
set debug_sync='RESET';
|
||||||
|
|
||||||
select * from mysql.index_stats where table_name='lineitem' order by index_name;
|
select * from mysql.index_stats where table_name='lineitem' order by index_name, prefix_arity;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test for parallel statistics collection and update (innodb)
|
# Test for parallel statistics collection and update (innodb)
|
||||||
@ -217,7 +217,7 @@ connection con2;
|
|||||||
set debug_sync='open_and_process_table WAIT_FOR parker';
|
set debug_sync='open_and_process_table WAIT_FOR parker';
|
||||||
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
|
set debug_sync='statistics_read_start SIGNAL go1 WAIT_FOR go2';
|
||||||
use dbt3_s001;
|
use dbt3_s001;
|
||||||
--send select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68
|
--send select * from mysql.index_stats, lineitem where index_name= 'i_l_shipdate' and l_orderkey=1 and l_partkey=68 order by prefix_arity;
|
||||||
|
|
||||||
connection con1;
|
connection con1;
|
||||||
--disable_result_log
|
--disable_result_log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user