Thanks
Andrew, February 22, 2006 - 4:15 pm UTC
As I expected. I was hoping that there was some switch or option that I had missed in my research. I now know that this is not the case. And the last thing I would even consider trying to do is circumvent the native processes of the database.
Thanks for the help.
Another possibility?
Rory, February 22, 2006 - 4:18 pm UTC
If the deleted records can reside in a separate table, another possibility might be to keep using your materialized views, but separate the delete records out to separate tables. Use before delete triggers to move the data over (the trigger creation can be scripted with not too much work). This has the added benefit of keeping your real tables synced, but also keeping all data available.
So for each table X that you want to track deletes on, create a duplicate table X_DEL, same structure. Before delete trigger copies data to the X_DEL table, materialized views on that can keep it synced to other databases as well.
Just a thought..
Possibility - my 2 cents.
Marcio Portes, February 22, 2006 - 10:44 pm UTC
First of all, this is "do it yourself" sort of. But here we go.
If you change the source tables to have another column say "state" and when you delete some record, actually you don't, you just mark state as 'D'. Now you rename the table to t_physical and create a view with original table name to see only where state <> 'D'. I think your MV will still be around.
export materilized view
vivek.yalla, March 22, 2006 - 8:10 am UTC
i am have 100 gb otlp database i have replicated into 3 database replicated server.i have exported my tables from replication server.after finsishing my work on server in have imported my the .DMP file and i executed my dbms_mview.refrash (fast).in the replication server it is giving only data new inserted in base tables.If i run refresh completed in will get full data because it rewrite query.if i run fast refredh it data in the imported table is disappered.waiting for ur answer.
March 22, 2006 - 3:57 pm UTC
did not follow your sequence of events here. insufficient level of detail (but have you worked with support on this as well)