Environment Details
Alteryx Designer + Scheduler
Cause

The above error "Corrupt Database Table is Locked" is usually caused by missing permissions.
Resolution
- The account running Alteryx Serivce has to have access to modify the directory (Alteryx System Settings - Controller - Persistence).
- There should not be other process having the persistence layer open or locked.