Forum : MySQL - Speed of DELETE Queries ?
Brief description  about Online courses   join in Online courses
View Manju  S Reddy 's Profile

MySQL - Speed of DELETE Queries ?

MySQL - Speed of DELETE Queries????
Asked by Manju S Reddy | Mar 19, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Manjunath,
If you want to delete all rows in the table, you should use TRUNCATE TABLE table_name.
The time to delete a record is exactly proportional to the number of indexes. To delete records more quickly, you can increase the size of the index cache.
Mar 19, 2010