IT / Admin only.
Run
health check
first. The system will tell you exactly which button to use. Temporary test rows are removed automatically (safe for MyISAM).
Run health check
Fix ID counters (AUTO_INCREMENT)
Repair sale payment indexes
Sale-related tables (ID counter)
Table
Engine
MAX(id)
Auto increment
Status
Index integrity (cash / NULL payment rows)