【 使用环境 】生产环境
【 OB or 其他组件 】
【 使用版本 】
ob 4.2.1
oms
版本号: 4.2.3_CE
【问题描述】
ob->mysql同步,
新建表以后,执行全量+增量同步,全量阶段耗时 17秒,直接进步增量模式,
上游OB中查询表有2619202704行数据
全量数据丢失
预检查
全量迁移
增量同步
正向切换
状态:已完成
启动时间:2024-06-13 13:18:19
结束时间:2024-06-13 13:18:36
总计耗时:17 秒
收起
进度:100%
RPS:0 | 0
实时流量:0 KB/s | 0 KB/s
表对象
全量迁移性能
表schema
CREATE TABLE fulfil_execute_order
(
_hd_shard
varchar(128) NOT NULL DEFAULT ‘’ COMMENT ‘shard info’,
id
bigint(20) unsigned NOT NULL,
code
varchar(128) DEFAULT NULL,
status
int(10) unsigned DEFAULT NULL,
merchant_name
varchar(100) DEFAULT NULL,
merchant_id
bigint(20) unsigned DEFAULT NULL,
sender_id
bigint(20) unsigned DEFAULT NULL,
sender_address
varchar(4096) DEFAULT NULL,
warehouse_id
bigint(20) DEFAULT NULL,
warehouse_name
varchar(50) DEFAULT NULL,
receiver_id
bigint(20) unsigned DEFAULT NULL,
receiver_address
varchar(4096) DEFAULT NULL,
waybill_code
varchar(128) DEFAULT NULL,
pack_no
varchar(100) DEFAULT NULL,
express_company_code
varchar(128) DEFAULT NULL,
package_weight
bigint(20) DEFAULT NULL,
express_company_name
varchar(100) DEFAULT NULL,
valid_status
int(10) DEFAULT NULL,
ext_field
varchar(4096) DEFAULT NULL,
version
bigint(10) unsigned DEFAULT NULL,
create_time
bigint(20) DEFAULT NULL,
update_time
bigint(20) DEFAULT NULL,
source_order_code
varchar(128) DEFAULT NULL,
source_order_type
int(10) unsigned DEFAULT NULL,
source_order_channel
int(10) unsigned DEFAULT NULL,
delivery_time
bigint(20) DEFAULT NULL,
collect_time
bigint(20) DEFAULT NULL,
sign_time
bigint(20) DEFAULT NULL,
execute_exception
int(10) DEFAULT NULL,
biz_type
int(10) DEFAULT NULL,
PRIMARY KEY (id
, _hd_shard
),
KEY uniq_source_code_type_channel
(source_order_code
, source_order_type
, source_order_channel
) BLOCK_SIZE 16384 LOCAL,
KEY idx_code
(code
) BLOCK_SIZE 16384 LOCAL,
KEY idx_waybill_code_express_company
(waybill_code
, express_company_code
) BLOCK_SIZE 16384 LOCAL
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = ‘zstd_1.3.8’ REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0
partition by hash(id)
(partition p0
,
partition p1
,
partition p2
,
partition p3
,
partition p4
,
partition p5
,
partition p6
,
partition p7
,
partition p8
,
partition p9
,
partition p10
,
partition p11
,
partition p12
,
partition p13
,
partition p14
,
partition p15
,
partition p16
,
partition p17
,
partition p18
,
partition p19
,
partition p20
,
partition p21
,
partition p22
,
partition p23
,
partition p24
,
partition p25
,
partition p26
,
partition p27
,
partition p28
,
partition p29
,
partition p30
,
partition p31
)
【复现路径】
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):