“The total number of locks exceeds the lock table size” Deleting 267 Records

后端 未结 3 527
隐瞒了意图╮
隐瞒了意图╮ 2020-12-17 18:27

I\'m trying to delete 267 records out of about 40 million. The query looks like:

delete from pricedata
where
pricedate > \'20120413\'

p

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-17 18:52

    What worked: changing innodb_buffer_pool_size to 256M (see comments under Quassnoi's original comment).

提交回复
热议问题