MySQL Forums
Forum List  »  Performance

Re: Speed up Simple "update" query
Posted by: Peter Brawley
Date: April 13, 2022 09:24AM

I think MySQL 8.0 handles such subqueries better. It also has better tools for sussing out a bottleneck, eg Explain Analyze.

This is no faster?

update shipment a
join packages b on a.id=b.shipment_id and b.tracking_no ='AC125279615BG'
set a.updated=current_timestamp ;

Options: ReplyQuote


Subject
Views
Written By
Posted
124
April 13, 2022 01:45AM
Re: Speed up Simple "update" query
58
April 13, 2022 09:24AM


Sorry, only registered users may post in this forum.

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.