I have a query that is being made 18x slower by the presence of a single WHERE clause. The query plan is an index-only scan and the clause in question looks at one of the fields in the index. This is the query and the offending clause is update_id < 40581: EXPLAIN (VERBOSE, ANALYZE, COSTS,Read more