Deadlock found when trying to get lock; try restarting transaction delete from ptlog_001 where id=1027 and ptlog_date < "2021-04-12"