HiveBrain v1.2.0
Get Started
← Back to all entries
principleMinor

Advanced Replication vs Oracle Streams

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
oracleadvancedstreamsreplication

Problem

I'd like to know what is advantages of Streams over Advanced Replication. I wanted to use updatable materialized views on my project, but on one forum I read comment that if we don't use very old version of Oracle, it's better to use Streams.

Can you tell me what benefits I'll get if I use Streams, like simpler configuration, better conflicts resolving configuration, more stable work of replication or something else? Client database should be able to work offline.

Solution

The two major benefits tend to be efficiency and flexibility.

Streams is a much more efficient architecture. Rather than synchronously capturing changes in materialized view logs which adds overhead to the transaction, Streams mines the redo logs that are generated by the change in order to generate the change vector to send to the target system. That also allows the change to be replicated to the other system(s) much more quickly.

Streams is a much more flexible architecture. You can write your own custom apply processes which makes it relatively easy to inject additional processing or logging, to ignore certain changes, etc. You can send a Streams logical change record (LCR) to a JMS queue or to a non-Oracle system (though, of course, you'd need to write code to apply the LCR on the non-Oracle system).

Context

StackExchange Database Administrators Q#21327, answer score: 3

Revisions (0)

No revisions yet.