You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: [snapshot performance] restore is too slow. #16099
dropdatabase if exists t;
createdatabaset;
use t;
droptable if exists jensen;
createtablejensen(a intprimary key, b int);
insert into jensen select result, result from generate_series(1, 200000000) g;
drop snapshot if exists s0;
create snapshot s0 for account sys;
dropdatabase t;
restore account sys database t table jensen from snapshot s0;
Activity
YANGGMM commentedon May 15, 2024
单机环境下恢复一个大约300w行的table 花费十几分钟
YANGGMM commentedon May 15, 2024
显示执行
YANGGMM commentedon May 15, 2024
恢复一个带主键的表insert 30w条只用1.93sec,但是insert300w行的分区表时间太慢了
YANGGMM commentedon May 20, 2024
still working
Ariznawlll commentedon May 23, 2024
集群环境

commit:0a99a7a5fc08c9927172bc34fd5089fe8538e4ea
系统租户向普通租户恢复数据 9w需要3min+
详细测试步骤,请联系我
YANGGMM commentedon May 28, 2024
still working
YANGGMM commentedon May 29, 2024
run tpcc test
41 remaining items
jensenojs commentedon Jul 29, 2024
跟算子内部的并行化没有开起来有关系, 处理好之后就行了
jensenojs commentedon Aug 1, 2024
这个测试sql可以先拿来简单地验证一下, mac上造两亿的数据插进去在大概要花二十来秒, restore的耗时不应该超过这个时间太多
jensenojs commentedon Aug 19, 2024
@Ariznawlll 辛苦QA有空的时候验证一下
Ariznawlll commentedon Aug 22, 2024
正在测试76G数据的恢复
Ariznawlll commentedon Aug 22, 2024
main commit: 80509e6
job url:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/10505304794/job/29105911058
74G恢复:

系统租户恢复系统租户的数据,耗时9min39s;
系统租户恢复普通租户的数据到新租户,耗时16min19s;

普通租户恢复普通租户的数据,耗时17min6s

以上三点恢复成功
系统租户恢复普通租户到普通租户恢复有bug issue:18237 跟踪
Ariznawlll commentedon Aug 23, 2024
1.2-dev commit: ff8d9ac
job url:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/10518970679/job/29145596868
74G恢复:

系统租户恢复系统租户的数据,耗时7min11s;
系统租户恢复普通租户的数据到新租户,13min10s;

普通租户恢复普通租户的数据,13min57s.

以上三点恢复成功
系统租户恢复普通租户到普通租户恢复有bug issue: 18237 跟踪
Ariznawlll commentedon Aug 28, 2024
还要再加点数据量测试一下
Ariznawlll commentedon Aug 30, 2024
main commit: c880770
job url:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/10626274378/job/29457558653
约110G恢复:

系统租户恢复系统租户的数据,耗时15min37s:
系统租户恢复普通租户的数据到新租户,耗时21min16s:

普通租户恢复普通租户的数据,耗时23min31s

系统租户恢复普通租户的数据到普通租户,耗时16min5s

以上四点均恢复成功
Ariznawlll commentedon Aug 30, 2024
1.2-dev commit: 3b003ad
job url:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/10627910181/job/29462569576
约110G恢复:

系统租户恢复系统租户的数据,耗时13min5s:
系统租户恢复普通租户的数据到新租户,耗时19min11s:

普通租户恢复普通租户的数据,耗时17min48s

系统租户恢复普通租户的数据到普通租户,耗时13min51s

以上四点均恢复成功
Ariznawlll commentedon Sep 2, 2024
以上测试,集群配置均为:
https://github.com/matrixorigin/mo-nightly-regression/blob/big_data/big-data-tke.yaml
Ariznawlll commentedon Sep 2, 2024
测试110G数据量通过,产品认可恢复速度,先关掉