Hi Guru's
We have DB2 9.7 as the database.
Need to add a new column to a huge table (almost 1 billion history records in this fact table). The value on the column should be 1 for 90% of the records.
My approach is adding the column with set default 1. Later alter the column default and set to NULL (in order to handle ongoing process / logic).
Got few questions like
a. Will it affect performance of the DB when set default to 1 and later to NULL
b. Do we need to do RE-ORG on the table, if yes, when?
c. Any other better approach ?
Appreciate your thoughts on this!
TYVM,
B