当我们用tidb删除数据的时候,报错:
[2019-08-29 08:32:26] [0.98ms] SET @@tidb_batch_delete = 1; [0 rows affected or returned ]
[2019-08-29 08:32:26] [0.89ms] SET @@tidb_batch_commit = 1; [0 rows affected or returned ]
[2019-08-29 08:32:26] [223.51ms] DELETE FROM block_vin
WHERE (spentBlockHeight >= 590000)
[8773 rows affected or returned ]
[2019-08-29 08:32:31] [4344.93ms] DELETE FROM block_tx
WHERE (blockHeight >= 590000)
[157313 rows affected or returned ]
[2019-08-29 08:32:43] [17077.34ms] DELETE FROM block_vout
WHERE (blockHeight >= 590000)
[417255 rows affected or returned ]
[2019-08-29 08:32:43] [17077.25ms] DELETE FROM block_info
WHERE (height >= 590000)
[65 rows affected or returned ]
[2019-08-29 08:32:48] Error 8004: transaction is too large ERRO[0021] 提交回滚区块事务异常:Error 8004: transaction is too large,区块高度:590000
[2019-08-29 08:32:48] [1.01ms] SET @@tidb_batch_commit = 0; [0 rows affected or returned ]
[2019-08-29 08:32:48] [0.90ms] SET @@tidb_batch_delete = 0; [0 rows affected or returned ] panic: Error 8004: transaction is too large
这个问题怎么解决,根据配置设置了还是没用