how to dynamically switch accessing a table from one db to another



Hi,
we have two databases in our production system.
these two databases gets loaded from the data from mainframes data
everyday.
Sometimes, data loading fails on one database and we switch traffic
to other database even if one table loading fails.

I would like to know if there is any way to address this:

In DB1 if one tables loading is failed, I want to configure in such a
way that any sql statement hitting DB1 should be automatically routed
to DB2. Other statements querying other tables should come to DB1
itself.

we want to modify our programs if required to achieve this
requirement.
Please advice.
Thanks
Giridhar

.



Relevant Pages

  • Re: how to dynamically switch accessing a table from one db to another
    ... we have two databases in our production system. ... data loading fails on one database and we switch traffic ... way that any sql statement hitting DB1 should be automatically routed ...
    (comp.databases.oracle.server)
  • Re: how to dynamically switch accessing a table from one db to another
    ... we have two databases in our production system. ... data loading fails on one database and we switch traffic ... way that any sql statement hitting DB1 should be automatically routed ...
    (comp.databases.oracle.server)
  • Re: Append Record to External Database
    ... > I have two databases (db1 and db2) with the same structure. ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.db)
  • Security between databases
    ... SQL Server databases. ... I have two databases DB1 and DB2. ... DB1 has a table called DB1_Table1. ... The above model is repeated for DB2. ...
    (microsoft.public.sqlserver.security)
  • Re: Duplicating a database AND maintaining it
    ... My task is to create a new setup, which has machines DB1 and DB2, where DB1 ... Archive log all right, I could use it. ... the data from databases on DB to those on DB1 and not clutter the DB1 ...
    (comp.databases.oracle.server)