how to update a table with minimal interruptions
My application team has a table that needs to be accesses 24/7. They also need to reload this table with new set of data on a regular basis (daily or weekly). They can't do truncate and load because after the truncate has ended and the load has finished, there will be no data in the table.
What would be a good solution for that?
I see two options. One is to create two tables TABLEA and TABLEB and one synonym - TABLE - which will alternatively point to TABLEA or TABLEB. The table that is NOT pointed to by the synonym gets loaded and after that the synonym is modified to point to it.