Commit 5b3be9e1 authored by Marko Mäkelä's avatar Marko Mäkelä

Try to stabilize main.innodb_ext_key,off

Thanks to Varun Gupta for suggesting this. This seems to
make main.innodb_ext_key,off more stable.
parent cb253b86
--- innodb_ext_key.result
+++ innodb_ext_key,off.result
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
explain explain
select count(*) from lineitem where l_orderkey=130 and l_shipdate='1992-07-01'; select count(*) from lineitem where l_orderkey=130 and l_shipdate='1992-07-01';
......
...@@ -26,12 +26,12 @@ Handler_read_rnd 0 ...@@ -26,12 +26,12 @@ Handler_read_rnd 0
Handler_read_rnd_deleted 0 Handler_read_rnd_deleted 0
Handler_read_rnd_next 0 Handler_read_rnd_next 0
explain explain
select count(*) from lineitem select count(*) from lineitem use index(primary)
where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01'; where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01';
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 lineitem const PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 8 const,const 1 1 SIMPLE lineitem const PRIMARY PRIMARY 8 const,const 1
flush status; flush status;
select count(*) from lineitem select count(*) from lineitem use index(primary)
where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01'; where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01';
count(*) count(*)
1 1
......
...@@ -17,6 +17,7 @@ use dbt3_s001; ...@@ -17,6 +17,7 @@ use dbt3_s001;
--disable_result_log --disable_result_log
--disable_warnings --disable_warnings
--source include/dbt3_s001.inc --source include/dbt3_s001.inc
ANALYZE TABLE lineitem PERSISTENT FOR COLUMNS() INDEXES();
--enable_warnings --enable_warnings
--enable_result_log --enable_result_log
--enable_query_log --enable_query_log
...@@ -28,10 +29,10 @@ select count(*) from lineitem where l_orderkey=130 and l_shipdate='1992-07-01'; ...@@ -28,10 +29,10 @@ select count(*) from lineitem where l_orderkey=130 and l_shipdate='1992-07-01';
show status like 'handler_read%'; show status like 'handler_read%';
explain explain
select count(*) from lineitem select count(*) from lineitem use index(primary)
where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01'; where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01';
flush status; flush status;
select count(*) from lineitem select count(*) from lineitem use index(primary)
where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01'; where l_orderkey=130 and l_linenumber=2 and l_shipdate='1992-07-01';
show status like 'handler_read%'; show status like 'handler_read%';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment