Running an SQL query with the IN predicate performs very poorly when there are a large number of values in the comparison list.