saner amount for cached ids (postgres only)