Data reduction on big data