A reader, June 22, 2011 - 4:29 pm UTC
Thanks for your reply, it helped me a lot in figuring out as to which way to go for incremental refresh. We need point in time data, so I will go with using refresh groups.
But, as mentioned before, is there any way to find out from the dictionary tables as to which MV in the refresh group failed so that I can trigger complete refresh for that particular MV, error message does gives us the erroed MV name but I am looking for some better approach instead of retrieving the MV name from the error text.
June 23, 2011 - 7:54 am UTC
you can log it yourself, instead of just calling refresh, call a block of code that catches the exception and logs it. We do not log it.
Incremental refresh on MV with high number fo transactsion.
mdinh, June 22, 2011 - 8:11 pm UTC
I would like your ideas on best method to perform incremental refresh of MV where there are millions of changed records on the base table. I have actually found that it's faster using CTAS versus MV refresh. Is this the best approach? Thank you.
June 23, 2011 - 7:56 am UTC
do you want to do an incremental refresh? or not. CTAS is not incremental.
Why don't you refresh more often? Don't wait for millions of records - do it at thousands or hundreds of records.