I have a table with a lot of records (could be more than 500 000 or 1 000 000). I added a new column in this table and I need to fill a value for every row in the column, us
The usual way is to use UPDATE:
UPDATE mytable SET new_column =
You should be able to do this is a single transaction.