> When the query plan takes a wrong path, is it possible that it is because > statistics have not been run or updated? Yes. If you are not using autovacuum, you need to ANALYZE regularly, or bad things will happen to you. ...Robert -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance