Database Administration (MOSC)

MOSC Banner

how to update a table with minimal interruptions

edited Oct 9, 2009 10:14AM in Database Administration (MOSC) 9 commentsAnswered
Hello.

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center