MySQL Forums :: InnoDB :: Fast Update

Advanced Search

Fast Update
Posted by: Ferdie Palero ()
Date: November 30, 2016 06:10PM


Anyone can help for fast update? The update statement below take 4hours for 65k records.

update exclusive a
set a.deleted_date=now()
where concat(a.lname,a.fname,a.mname,a.address,,a.state, not in
(select concat(b.lname,b.fname,b.mname,b.address,,b.state, from
exclusive_temp b)
and a.deleted_date is null;

Thanks in advanced.


Options: ReplyQuote

Subject Views Written By Posted
Fast Update 409 Ferdie Palero 11/30/2016 06:10PM
Re: Fast Update 210 Peter Brawley 11/30/2016 08:17PM
Re: Fast Update 285 Ferdie Palero 11/30/2016 08:27PM
Re: Fast Update 284 Ferdie Palero 12/01/2016 07:36PM
Re: Fast Update 187 Ferdie Palero 12/04/2016 07:11PM
Re: Fast Update 264 Peter Brawley 12/04/2016 09:15PM
Re: Fast Update 196 Ferdie Palero 12/05/2016 12:06AM

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.