How to truncate a table in MySQL? (A lot faster than delete)

https://tableplus.com/blog/2018/08/mysql-how-to-truncate-all-tables.html

TRUNCATE TABLE table1;

This is a lot faster than doing DELETE FROM table1