>> But you're right. With the combined index I can set the granularity> back to 1000, and empty queries as well as non-empty queries perform> well. The row estimate is still way off, though.¨ Bigger value --> slow analyze. Real maximum is about 200-300. So be carefully. Regards Pavel ---------------------------(end of broadcast)---------------------------TIP 2: Don't 'kill -9' the postmaster