HomeOracleOracle Error QSM-01222: materialized view string is less optimal than string

Oracle Error QSM-01222: materialized view string is less optimal than string

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.

Share:

Leave a Reply

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...