Create a partial index only for active products (WHERE is_active = true). This saves space and speeds up queries on a subset of data.
Sign in to solve