Skip to content

support general big tx #779

Closed
Closed
@ghost

Description

目标:

  • 支持大事务(例如16G) + dtle主机小内存(如2G)的情况
  • 单行数据(含处理过程中的额外消耗)不超过内存极限

参考用例:

drop table if exists big;
create table if not exists big (id int primary key auto_increment, val longtext);
set @a = repeat('a', 64*1024*1024);

begin;
insert into big values (0, @a);
insert into big values (0, @a);
insert into big values (0, @a);
insert into big values (0, @a);
-- ...
commit;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions