Rebuilding the materialized view