:: DEVELOPER ZONE
The time to delete individual records is exactly proportional to the number of indexes. To delete records more quickly, you can increase the size of the key cache. See Section 7.5.2, “Tuning Server Parameters”.
If you want to delete all rows in the table, use TRUNCATE TABLE tbl_name rather than DELETE FROM .
See Section 13.1.9, “tbl_nameTRUNCATE Syntax”.
© 1995-2005 MySQL AB. All rights reserved.

User Comments
Add your own comment.