Webmaster Forum
Go Back   Webmaster forum » ..:: Web Design ::.. » Database

Reply
 
Thread Tools Display Modes
  #1  
Old 16-07-2009
vkpal vkpal is offline
Senior Member
 
Join Date: Jul 2009
Posts: 307
iTrader: (0)
vkpal is on a distinguished road
Default MySQL - Speed of DELETE Queries ?

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:53 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.