[FEAT MERGE] 4.x Dup Table
Co-authored-by: Minionyh <minions.yh@gmail.com> Co-authored-by: BinChenn <binchenn.bc@gmail.com> Co-authored-by: ChangerR <dingjinchengyx@163.com>
This commit is contained in:
@ -589,6 +589,9 @@ select 0xffffffffff & table_id, table_name, table_type, database_id, part_num fr
|
||||
12366 __all_virtual_archive_dest_status 2 201001 1
|
||||
12369 __all_virtual_io_scheduler 2 201001 1
|
||||
12371 __all_virtual_external_table_file 2 201001 1
|
||||
12376 __all_virtual_dup_ls_lease_mgr 2 201001 1
|
||||
12378 __all_virtual_dup_ls_tablet_set 2 201001 1
|
||||
12379 __all_virtual_dup_ls_tablets 2 201001 1
|
||||
12380 __all_virtual_tx_data 2 201001 1
|
||||
12381 __all_virtual_task_opt_stat_gather_history 2 201001 1
|
||||
12382 __all_virtual_table_opt_stat_gather_history 2 201001 1
|
||||
|
||||
@ -185,7 +185,7 @@ sid subject score tid name subject
|
||||
62 EN 90 1 Miss Zhang EN
|
||||
63 EN 99 1 Miss Zhang EN
|
||||
64 EN 87 1 Miss Zhang EN
|
||||
CREATE TABLE product (pid bigint primary key,pname varchar(50),gmt_modify timestamp(6),gmt_create timestamp(6),thread_id bigint, key k (gmt_modify));
|
||||
CREATE TABLE product (pid bigint primary key,pname varchar(50),gmt_modify timestamp(6),gmt_create timestamp(6),thread_id bigint, key k (gmt_modify))duplicate_scope="cluster";
|
||||
CREATE TABLE orders (oid bigint primary key,pid bigint,amount int, addr varchar(20),key k (pid) local) partition by hash (oid) partitions 100;
|
||||
insert into product values(314265, "abcd", now(), now(), 1234);
|
||||
insert into orders values(314265, 314265, 678, "192.168.1.8");
|
||||
|
||||
@ -14,7 +14,7 @@ explain select /*+ USE_PX parallel(2) */ * from score, teacher where teacher.sub
|
||||
--sorted_result
|
||||
select /*+ USE_PX parallel(2) */ * from score, teacher where teacher.subject = score.subject and teacher.tid = 1;
|
||||
|
||||
CREATE TABLE product (pid bigint primary key,pname varchar(50),gmt_modify timestamp(6),gmt_create timestamp(6),thread_id bigint, key k (gmt_modify));
|
||||
CREATE TABLE product (pid bigint primary key,pname varchar(50),gmt_modify timestamp(6),gmt_create timestamp(6),thread_id bigint, key k (gmt_modify))duplicate_scope="cluster";
|
||||
|
||||
CREATE TABLE orders (oid bigint primary key,pid bigint,amount int, addr varchar(20),key k (pid) local) partition by hash (oid) partitions 100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user