For a migration I'm importing using proteus the account balances which is a move with about 20K lines. In proteus I create the lines per group of 1000 lines to optimize the cache usage. But this is still very slow. I think the main issue is the Move.validate_move which browses all the move lines to compute the balance.
I think it will be better to perform this operation with SQL only.
The same applies to the check in Move.post which check also that lines are balanced.
|2021-12-08 17:00:51||ced||set||messageid: <1638979251.9674363.DXTNL62F2QVYRTG2.firstname.lastname@example.org>|
|2021-12-08 17:00:51||ced||link||issue11027 messages|