Oracle Streams and Materialized View

I have two tables as follows

<<Complaints>> 10 Million Records


<<Department>> 200 Records



****  Requirement is to replicate Complaints' Complete Record to an other Database daily

     For examle i want to replicate following information, using Oracle Streams
     ID, Description, type, DeptName, Mgr, Loc

1)  Should I use Materialized View and then replicate it using Oracle Streams

2) Please Provide me Web links where i can get more detailed information about Oracle Streams
LVL 13
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SujithData ArchitectCommented:
>>1)  Should I use Materialized View and then replicate it using Oracle Streams
Not required. MV is an alternative replication mechanism to streams.
To use streams
- should have archived log-ing enabled
- You can define table level rules that replicates only a single table.

All you need is available at this link:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi Dear,
   The requirement that you want to achieve is also possible through Materialized View.That is much easier and simple instead of maintaining Streams..
 For MV
    1. you will create Database link for both database.  e.g.
         Create DATABASE LINK ABC  CONNECT TO userName IDENTIFIED BY Password USING 'tnsEntry'
(where tnsentry is the DB Alias in Tnsnames.ora)
    2.  then create a MV  in Destination DB that gets data from Source DB.
    3.Then create a trigger on the Materialized View that will insert MV data in a Table (Backup)


sonicefuAuthor Commented:
You have a nice name MUHABBAT (Love),

*)   Using Oracle Streams is must (it is compulsory)
**)  I want to send (stream) following columns (from two tables) to a remote database
      ID, Description, type, DeptName, Mgr, Loc
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

   Is there any particular reason that streams is compulsary?
Streams is not compulsory.  In fact, while I do like Streams for many, many things, and have implemented in in some very large environments, in your case I would use MViews instead.  Even in 10.2 Oracle has many problems with Streams.  For more (definitive) information on anything Oracle, go to
SujithData ArchitectCommented:
MVs doesnt provide a real-time replication. You have to use streams for such cases.
The data will always be stale upto the last refresh. Once the db is running in archived log mode, its not a problem replicating a few tables.
SujithData ArchitectCommented:
>> The data will always be stale upto the last refresh.
In case of MVs.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.