MySQL Forums
Forum List  »  Performance

UPDATE - Increment Speed Question
Posted by: dbv
Date: April 04, 2005 09:44AM

According to various MySQL guides, UPDATE table SET count = count+1 WHERE id=const is very fast. My question is why?

Why is it faster than:

UPDATE table SET count = 321 WHERE id=const

Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
UPDATE - Increment Speed Question
11534
dbv
April 04, 2005 09:44AM
3422
April 05, 2005 01:36AM
2867
dbv
April 05, 2005 09:23AM
2810
April 10, 2005 12:00PM
2682
dbv
April 11, 2005 05:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.