improve case stability
This commit is contained in:
@ -8,7 +8,7 @@ delete from aa;
|
||||
insert into aa(a2, a3) values (10, 15), (10, 14), (10, 12), (11, 13), (12, 12), (12, 10);
|
||||
delete from bb;
|
||||
insert into bb(b2, b3) values (10, 14), (11, 14), (11, 13), (12, 11), (12, 10);
|
||||
alter system minor freeze tenant = all;
|
||||
alter system minor freeze;
|
||||
select /*+ use_merge(aa, bb) */ a2, b3 from aa, bb where a2 = b2 and a3 = b3 order by a2, a3;
|
||||
a2 b3
|
||||
10 14
|
||||
|
||||
@ -21,9 +21,7 @@ delete from aa;
|
||||
insert into aa(a2, a3) values (10, 15), (10, 14), (10, 12), (11, 13), (12, 12), (12, 10);
|
||||
delete from bb;
|
||||
insert into bb(b2, b3) values (10, 14), (11, 14), (11, 13), (12, 11), (12, 10);
|
||||
--source mysql_test/include/minorfreeze.inc
|
||||
--real_sleep 10
|
||||
--source mysql_test/include/wait_minor_merge.inc
|
||||
--source mysql_test/include/minor_merge_tenant.inc
|
||||
--disable_query_log
|
||||
call dbms_stats.gather_table_stats('test','aa', method_opt=>'FOR ALL COLUMNS SIZE AUTO');
|
||||
call dbms_stats.gather_table_stats('test','bb', method_opt=>'FOR ALL COLUMNS SIZE AUTO');
|
||||
|
||||
@ -53,8 +53,7 @@ explain select /*+index(test_table index_1)*/ * from test_table where age = 22;
|
||||
select count(*) from test_table where name = 'name22';
|
||||
explain select /*+index(test_table index_2)*/ * from test_table where name = 'name22';
|
||||
|
||||
--source mysql_test/include/minorfreeze.inc
|
||||
--source mysql_test/include/wait_minor_merge.inc
|
||||
--source mysql_test/include/minor_merge_tenant.inc
|
||||
call dbms_stats.gather_table_stats('TEST', 'test_table');
|
||||
|
||||
# case 2: all data in sstable, not memtable data
|
||||
|
||||
Reference in New Issue
Block a user