stream这个东西真心没搞过。但是我帮你查了一下,希望能帮到你。
官网上是这么说的:
If you have queue-to-dblink propagations created in a prior release of Oracle Database, you can re-create these propagation during a maintenance window to use queue-to-queue propagation. To re-create a propagation, complete the following steps:
1、Stop the propagation.
2、Make sure the source queue is empty.
3、Make sure that the destination queue is empty and has no unapplied, spilled messages before you drop the propagation.
4、Re-create the propagation with the queue_to_queue parameter set to TRUE in the creation procedure.
------------------------------------------------------------------------------------------------
Begin
Dbms_Streams_Adm.Add_Schema_Propagation_Rules
(Schema_Name => 'scott',
Streams_Name => 'TEST_to_STANDBY',
Source_Queue_Name => 'strmadmin.streams_queue',
Destination_Queue_Name => 'strmadmin.streams_queue@STANDBY.com',
Include_Dml => True,
Include_Ddl => True,
Source_Database => 'hxl.com',
Inclusion_Rule => True,
Queue_To_Queue => True
);
End;
|