"Tim Jones" <TJones@xxxxxxxxx> writes: > QUERY PLAN > 'Hash Join (cost=899.83..4384.17 rows=482 width=1350)' > ' Hash Cond: ("outer".documentidentifier = > "inner".dssdocumentidentifier)' This is not EXPLAIN ANALYZE output. Also, the rowcount estimates seem far enough off in the other query to make me wonder how long it's been since you ANALYZEd the tables... More generally, though, I don't see anything particularly wrong with this query plan. You're selecting enough of the table that an indexscan isn't necessarily a good plan. regards, tom lane