Oracle Error QSM-00510: statistics missing on materialized views

Oracle Error Message

QSM-00510: statistics missing on materialized views

Reason for the Error

The system metadata does not contain statistics on one or more materialized views. The Advisor needs cardinalities of all materialized views in the data warehouse.

Solution

Run ANALYZE on the tables and materialized views in the warehouse to collect statistics.