Deadlock found when trying to get lock; try restarting transaction delete from ptlog_001 where id=1013 and ptlog_date < "2021-03-31"