Great thanks a lot. We will be ready to build and test a patch or 9.4 version as soon as you have a test patch you want to try. regards Tim -- View this message in context: http://postgresql.1045698.n5.nabble.com/autovacuum-vacuum-creates-bad-statistics-for-planner-when-it-log-index-scans-0-tp5804416p5806747.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.