Index   Search   Add FAQ   Ask Question  

Oracle Replication FAQ

$Date: 27-Nov-1999 $
$Revision: 1.12 $
$Author: Frank Naudé $

Topics

  • Can sequences be replicated?
  • I get "NO DATA FOUND" errors. How does one handle this?
  • How does one delete all local def errors?
  • Any replication notes?
  • Where can I get more info about replication?

  • Back to Oracle FAQ Index

    Can sequences be replicated?

    No, the best way to handle sequences, assuming you are using them as primary key values, is to concatenate then with something unique to the site. For example, use a sequence number concatenated with the database name, site name or something similar. One could also start the sequences at one site as odd numbers (1, 3, 5, etc) and the other site as even numbers (2, 4, 6 etc).

  • Back to top of file

  • I get "NO DATA FOUND" errors. How does one handle this?

    If the application is updating primary key values, you will get lots of "NO DATA FOUND" errors. Primary keys should NEVER be updated. If you do update primary keys, conflict resolution becomes extremely difficult.

  • Back to top of file

  • How does one delete all local def errors?

    From sqlplus say:
            SQL> spool delete_errors.sql
            SQL> select 'exec dbms_defer_sys.delete_error(''' || deferred_tran_id ||''','''||
            SQL>        destination || ''')'
            SQL> from   deferror;
            SQL> spool off
            SQL> @delete_errors
    

  • Back to top of file

  • Any replication notes?

  • Back to top of file

  • Where can I get more info about replication?

  • Back to top of file

  • General: Home | Index | Preamble | Glossary | OraCorp | Papers | Fun | News | Events | Y2000 | Books | Links | Forums
    Products: SQL | Plus | Loader | PL/SQL | PreComp | OPO | OMO | OO4OLE | DBA | PQO | PSO | OCO | Net | ODBC | WebServer | Des2k | Dev2k
    Systems: MVS | Unix | Windows | WindowsNT | NetWare | VMS