Complete Refresh of materialized view
We have a materialized view that can be completely refreshed from the application front-end (using a stored procedure called by the end-user). The user is complaining that's taking a long time(more than 4 minutes) After investigation, I found out that if i run select statement of the materialized view, it's completed in 5 seconds!!. I tried also "create table test as 'select statement'", it also took long time to be executed. Anybody faced similar issue? DB version is 11.2.0.3 RAC/MS Win2k8R2. Your feedback is highly appreciated.
Thanks
Joseph