Oracle, has a table with 100 billion records. Now I want to update a field with all zeros.

problem description

batch cursor updates can be submitted, but it feels very slow. Is there any other way

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jun.28,2021

if this is the 11g version, consider:
1. Remove the field from the table definition.
2. Create a new field with the same name. The default value is set to 0. The default value of 11g is stored in the dictionary table. There is no need to update every record of the table.

if this method is feasible, it is recommended to stop the application of the database to avoid errors in the application system when modifying the table definition.

Menu