MySQL Forums
Forum List  »  Performance

Performance of insert on duplicate key update
Posted by: Ravi Malghan
Date: October 23, 2014 02:03PM

Hi:I am on mysql 5.5. I have a large InnoDB table (~30M rows). I have about 4-5K insert on duplicate key update queries every 5 minutes. As table grows these inserts are becoming slower and slower. I added partitioning to the table by a timestamp field. This version doesn't support explain plan for inserts and updates. Is there a way to limit the number of partitions the query scans for updates? In other words is there a way to include the timestamp field in my insert on duplicate key update query?

Thanks
Ravi

Options: ReplyQuote


Subject
Views
Written By
Posted
Performance of insert on duplicate key update
9621
October 23, 2014 02:03PM


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.