Add default_table_store_format when creating table
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
set session _enable_rich_vector_format = true;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (all columns, each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (all columns, each column);
|
||||
select count(*) from t1;
|
||||
@ -329,10 +327,9 @@ select count(*),count(c1),min(c1),max(c1),sum(c1),count(c2),min(c2),max(c2) from
|
||||
count(*) count(c1) min(c1) max(c1) sum(c1) count(c2) min(c2) max(c2)
|
||||
250 250 0 498 39900 100 300300300300300 498498498498498
|
||||
drop table t1,t2;
|
||||
alter system enable_table_without_all_cg = true;
|
||||
alter system flush plan cache;
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (all columns, each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (all columns, each column);
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (each column);
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
150
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
drop table if exists ct1;
|
||||
set session ob_trx_timeout=100000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (all columns, each column);
|
||||
alter system minor freeze;
|
||||
alter system major freeze;
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
drop table if exists ct1;
|
||||
set session ob_trx_timeout=100000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (all columns, each column);
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (each column);
|
||||
alter system minor freeze;
|
||||
alter system major freeze;
|
||||
update ct1 set c3 = 0 where c1 = 0;
|
||||
@ -447,7 +446,6 @@ select count(*) from ct1;
|
||||
count(*)
|
||||
10002
|
||||
drop table ct1;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
alter system set _rowsets_enabled = true;
|
||||
alter system flush plan cache;
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (all columns, each column);
|
||||
|
||||
@ -9,8 +9,6 @@ drop table if exists t1,t2;
|
||||
--enable_warnings
|
||||
--enable_query_log
|
||||
|
||||
set session _enable_rich_vector_format = true;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (all columns, each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (all columns, each column);
|
||||
|
||||
@ -187,11 +185,10 @@ select count(*),count(c1),min(c1),max(c1),sum(c1),count(c2),min(c2),max(c2) from
|
||||
|
||||
drop table t1,t2;
|
||||
|
||||
alter system enable_table_without_all_cg = true;
|
||||
alter system flush plan cache;
|
||||
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (all columns, each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (all columns, each column);
|
||||
create table t1(a int, b varchar(3048), primary key (a), c int) with column group (each column);
|
||||
create table t2(pk int, c1 int, c2 int unsigned, c3 varchar(100)) block_size=2048 with column group (each column);
|
||||
|
||||
sleep 10;
|
||||
|
||||
@ -353,7 +350,6 @@ drop table t1,t2;
|
||||
|
||||
--disable_query_log
|
||||
set @@recyclebin = on;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
alter system set _pushdown_storage_level = 4;
|
||||
alter system set _rowsets_enabled = true;
|
||||
alter system flush plan cache;
|
||||
|
||||
@ -8,7 +8,6 @@ connect (syscon, $OBMYSQL_MS0,admin,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
|
||||
connection syscon;
|
||||
set @@session.explicit_defaults_for_timestamp=off;
|
||||
set session ob_trx_timeout=100000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
alter system set_tp tp_no = 353, error_code = 4000, frequency = 1;
|
||||
sleep 2;
|
||||
set @@recyclebin = off;
|
||||
|
||||
@ -15,7 +15,6 @@ set @@recyclebin = off;
|
||||
drop table if exists ct1;
|
||||
--enable_warnings
|
||||
set session ob_trx_timeout=100000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (all columns, each column);
|
||||
|
||||
--disable_query_log
|
||||
|
||||
@ -10,7 +10,6 @@ connect (conn1,$OBMYSQL_MS0,$OBMYSQL_USR,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
|
||||
|
||||
connection conn1;
|
||||
--disable_query_log
|
||||
alter system enable_table_without_all_cg = true;
|
||||
alter system set _rowsets_enabled = true;
|
||||
alter system flush plan cache;
|
||||
set @@recyclebin = off;
|
||||
@ -20,9 +19,7 @@ set @@recyclebin = off;
|
||||
drop table if exists ct1;
|
||||
--enable_warnings
|
||||
set session ob_trx_timeout=100000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
# create table without all column group
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (all columns, each column);
|
||||
create table ct1(c1 int primary key, c2 int, c3 number, c4 varchar(60000), c5 varchar(60000)) ROW_FORMAT = redundant COMPRESSION = 'none' with column group (each column);
|
||||
|
||||
--disable_query_log
|
||||
--let $count = 0
|
||||
@ -120,7 +117,6 @@ select c1,c2,c3 from ct1 where c2 <= 9 and ((c1 >= 0 and c1 <= 3000) or (c1 >= 4
|
||||
select count(*) from ct1;
|
||||
|
||||
drop table ct1;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
alter system set _rowsets_enabled = true;
|
||||
alter system flush plan cache;
|
||||
|
||||
@ -225,7 +221,6 @@ drop table ct1;
|
||||
|
||||
--disable_query_log
|
||||
set @@recyclebin = on;
|
||||
alter system enable_table_without_all_cg = false;
|
||||
alter system set _rowsets_enabled = true;
|
||||
alter system set _pushdown_storage_level = 4;
|
||||
alter system flush plan cache;
|
||||
|
||||
@ -8,7 +8,6 @@ set @@recyclebin = off;
|
||||
|
||||
--disable_warnings
|
||||
set session ob_query_timeout=10000000000;
|
||||
set session _enable_rich_vector_format = true;
|
||||
drop table if exists ct1,ct2,ct3;
|
||||
--enable_warnings
|
||||
|
||||
|
||||
@ -70,6 +70,7 @@ default_compress_func
|
||||
default_enable_extended_rowid
|
||||
default_progressive_merge_num
|
||||
default_row_format
|
||||
default_table_store_format
|
||||
devname
|
||||
diag_syslog_per_error_limit
|
||||
disk_io_thread_count
|
||||
@ -78,7 +79,6 @@ dump_data_dictionary_to_log_interval
|
||||
enable_async_syslog
|
||||
enable_cgroup
|
||||
enable_crazy_medium_compaction
|
||||
enable_cs_encoding_filter
|
||||
enable_ddl
|
||||
enable_early_lock_release
|
||||
enable_kv_ttl
|
||||
@ -100,13 +100,10 @@ enable_syslog_recycle
|
||||
enable_syslog_wf
|
||||
enable_sys_table_ddl
|
||||
enable_sys_unit_standalone
|
||||
enable_table_without_all_cg
|
||||
enable_table_with_cg
|
||||
enable_tcp_keepalive
|
||||
enable_transfer
|
||||
enable_upgrade_mode
|
||||
enable_user_defined_rewrite_rules
|
||||
encoding_test_seed
|
||||
external_kms_info
|
||||
freeze_trigger_percentage
|
||||
fuse_row_cache_priority
|
||||
@ -220,7 +217,6 @@ stack_size
|
||||
standby_db_fetch_log_rpc_timeout
|
||||
standby_db_preferred_upstream_log_region
|
||||
standby_fetch_log_bandwidth_limit
|
||||
storage_encoding_mode
|
||||
storage_meta_cache_priority
|
||||
syslog_io_bandwidth_limit
|
||||
syslog_level
|
||||
|
||||
Reference in New Issue
Block a user