How to get list of all Materialized Views.?
I never use all_snapshots before.
Here is another way to do:
select * from all_objects where OBJECT_TYPE='MATERIALIZED VIEW';
select * from all_mviews;
or
select * from dba_mviews;
Try this:
SELECT *
FROM all_snapshots;
Instead of all_snapshots
you can also use the all_mviews
view.
Actually ALL_MVIEWS and ALL_SNAPHOTS displays only the views the user has granted access on. To see all views in a database you must query DBA_MVIEWS or DBA_SNAPHOTS. You need special privileges or roles to query this view like the system privilege SELECT ANY DICTIONARY or the role SELECT_CATALOG_ROLE. A similar statement holds for other ALL_ and DBA_ views.