Lack of interest 3rd Method for emptyTable()

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Kirby

Well-known member
Right now there are two methods to empty a table: TRUNCATE and DELETE.

Both of them have advantanges and disadvantages, DELETE is slow on big tables and TRUNCATE can be slow too:
https://jira.mariadb.org/browse/MDEV-9459

So for the time being (eg. until the bug is fixed) it would therefore be nice if XenForo could natively support a 3rd Option: Recreate.
This would work by creating a new table based on the structure of the existing table, renaming the existing table and dropping the renamed table afterwards.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom