The time required to delete individual rows in a
MyISAM table is exactly proportional to the
number of indexes. To delete rows more quickly, you can
increase the size of the key cache by increasing the
variable. See Section 8.11.2, “Tuning Server Parameters”.
To delete all rows from a
is faster than
operations are not transaction-safe; an error occurs when
attempting one in the course of an active transaction or
active table lock. See Section 13.1.27, “
TRUNCATE TABLE Syntax”.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices