Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
replication with Indexes

replication with Indexes

2004-05-26       - By Seema Singh
Reply:     1     2     3     4     5     6     7     8     9     10     >>  


Thanks for your reply.
The db2(snapshot site) wILL be for failover site.therfore I want to setup
updatable replication on snapshot site.IN CASE of failoure of master site we
can pint application to ssnapshot site.I want to replicate whole schema.How
to replicate whole schema?I want to replicate all procedures/functions etc.
Snapshot site would be also available currently for select by setting
application configuration.
Please suggest.
Thx
-Seema


>From: Stephen.Lee@(protected)
>Reply-To: oracle-l@(protected)
>To: oracle-l@(protected)
>Subject: RE: replication with Indexes
>Date: Wed, 26 May 2004 11:54:30 -0500
>
> > -- --Original Message-- --
> > I wanted to replicate db1 to db2 with all indexes how to do this?
>
>I 'm a little rusty on what features are in this version of Oracle versus
>that version Oracle. But, ASSUMING you can do this in 8.1.6.3, you can
>export the master tables without rows; import them into the second
>database.
>After I do this, I keep only the primary key constraints and drop the
>others. Then:
>
>In the master database:
>create snapshot logs on the master tables.
>If needed, grant select on the master tables AND on the mlog$ tables to
>whatever user the database link uses.
>
>In the secondary database:
>
>create the database link to masterdb. For this I create a READONLY user
>which has readonly (duh) privilege on the master and mlog$ tables is the
>master database. And I make the database link a public database link.
>
>create snapshot xyz on prebuilt table refresh force as select * from
>owner.xyz@(protected);
>exec dbms_snapshot.refresh( 'XYZ ', 'C ')
>
>connect to replication schema owner guy.
>create the refresh group and refresh job.
>exec dbms_refresh.add( 'REFGROUP ', 'OWNER.XYZ ')
>
>test it:
>exec dbms_job.run(##)
>
>I think 8.1.6 supports the "on prebuilt table " thing.
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe send email to: oracle-l-request@(protected)
>put 'unsubscribe ' in the subject line.
>--
>Archives are at http://www.freelists.org/archives/oracle-l/
>FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage!
http://join.msn.click-url.com/go/onm00200362ave/direct/01/

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --