Change Active by Montly from materialized table to view with improved query performance