Oracle Error Message
QSM-01222: materialized view string is less optimal than string
Reason for the Error
Query Rewrite always chooses the most optimal materialized view based on certain parameters, such as cardinality of the materialized view, number of joins etc. The materialized view specified was found to be less optimal.
Solution
To force using a materialized view, consider using a rewrite hint.