Deadlock found when trying to get lock; try restarting transaction delete from ptlog_001 where id=1037 and ptlog_date < "2021-10-02"