Richard Yen <dba@xxxxxxxxxxx> writes: > You guys are right. I tried "Miller" and gave me the same result. Is > there any way to tune this so that for the common last names, the > query run time doesn't jump from <1s to >300s? If the planner's estimation is that far off then there must be something very weird about the table statistics, but you haven't given us any clue what. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance