哪个更快?
批量插入
insert into table values (1,2), (3,4), (5,6),... ;
交易记录
begin transaction;
insert into table values (1,2);
insert into table values (3,4);
...
end transaction;
两个
begin transaction;
insert into table values (1,2), (3,4), (5,6),... ;
end transaction;
是1还是2等效?