You should test group by 1 of 2 matview keys (V_A1 but not V_B1). Test this with and without also grouping by a sum or count column.