I have a customer attempting to create a new projection for a very large (I think >100 TB) fact table to replace the existing one. They realize this will take a long time and are wondering whether the following approach will work:
Create new table and create new projection on the table.
Copy data over while still loading and querying old table.
During a maintenance window, rename old table, then rename new table to old table and resume load.
Catch up by copying remaining epochs / batches from old to new.
Their question was how to estimate run time (presumably they could copy one partition at a time and estimate timing) and would like to know also whether table rename is atomic - that is, will it take effect instantaneously so they can stop and start loading for just a minute or so during rename?
Question
Create new projection for very large table
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.