Re: Batch update million records in prd DB
Michael Lewis <mlewis@entrata.com>
From: Michael Lewis <mlewis@entrata.com>
To: Yi Sun <yinan81@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Date: 2021-02-26T17:45:59Z
Lists: pgsql-general
It might be a concern, but generally that should be a row level lock and only block other update/delete options on those rows. It might be helpful to look at the explain analyze output early on vs later in the process. It might be that you are getting very few hot updates and indexes are being updated constantly. >