Is bulk update faster than single update in db2?
问题 I have a Table with 10 columns and in that table I have thousands/millions of rows. In some scenario, I want to update more than 10K records at a time. currently my scenario code works sequentially like, for i in (primary key ids for all records to be updated) executeupdate(i) what I thought is instead of running same query 10K times, I will add all ids in a string and run a single update query like, executeupdate(all ids) actual DB queries can be like this, suppose I have primary key ids