skip to Main Content

How to update 10M records in Postgresql

I have two tables - accounts, inf_accounts. There is a daily update on millions of rows from inf_accounts to accounts. I tried two updates: UPDATE accounts acc SET account_status=(SELECT account_status FROM inf_accounts inf WHERE acc.account_number = inf.account_number); This one performs…

VIEW QUESTION
Back To Top
Search