I'm selecting from a standard view (view1) which references a materialized view (mview1). The standard view is created with "FORCE" option and the materialized view is created "REFRESH COMPLETE ON DEMAND". As I don't know when the materialized view is refreshed (who or what demands the refresh) I cannot avoid the refresh of the materialized view at the same time it is used in the normal view query.
When this happens simultaneously the query against view1 errors out with:
Message: ORA-08103: object no longer exists
I thought that changing the "COMPLETE" option with the "FORCE" one in the materialized view would prevent this error from occurring.
If you can shed some light on this and/or offer a solution it would be greatly appreciated.
Cheers