Dennis,

That's one of the nuances of MV replication. If you alter the master table,
you have to drop and recreate the MV on the snapshot site. This is as per
Oracle's internal documentation.

However, there is a trick. If you have created the MV using a prebuilt
table, then you can have a workaround. When you build an MV on a table,
Oracle simply assumes the type of the segment as MV rather than the table,
i.e. the segment that used to be known as the table is now known as the MV.
when the MV is dropped, Oracle does not drop the segment; rather it reverts
the type to the table as it used to be.

So when you alter the master table, follow the sequence of steps.

stop replication
drop the MV
alter the master table
alter the prebuilt table in the same way.
Build the MV on the prebuilt table again.

Of course, there are several small but crucial steps to be followed. I have
described the procedure completely in http://www.dbazine.com/nanda2.html .

Hope this helps.

Arup Nanda

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 3:53 AM
replication environment


> Hello
>
> How can i replicate DDL on table  (modify column for example)  in
> materialized view replication environment ?
> DBMS_REPCAT.ALTER_MASTER_REPOBJECT alter the object, put changes are not
> propagated to MV site ...
>
> I try DBMS_REFRESH.REFRESH and DBMS_REPCAT.REFRESH_MVIEW_REPGROUP at MV
> site, but I steel don't see the changes.
> Is it possible to propagate DDL to MV site ?
> Thnx.
>
> /sds
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Dennis Sorokin
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to