Deadlock found when trying to get lock; try restarting transaction delete from ptlog_001 where id=1057 and ptlog_date < "2021-06-09"