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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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 UPDATE Queries ?

Update queries are optimized as a SELECT query with the additional overhead of a write. The speed of the write is dependent on the size of the data that is being updated and the number of indexes that are updated. Indexes that are not changed will not be updated.

Also, another way to get fast updates is to delay updates and then do many updates in a row later. Doing many updates in a row is much quicker than doing one at a time if you lock the table.

Note that, with dynamic record format, updating a record to a longer total length may split the record. So if you do this often, it is very important to OPTIMIZE TABLE sometimes.
Reply With Quote
 

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 07:21 PM.


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