Le 05/04/2013 16:18, Nikolas Everett a écrit :
PG 8.4.8
select now() is quick (15ms from pgadmin)
But I can reproduce the problem on other tables : explain on a query with 4 join takes 4.5 seconds on an other set of tables...
System bloat... maybe. Not sure how to check. But as Tom asked, default_statistics_target is 5000. Maybe the problem is here ? What should I look after in pg_statistic to tell is there is a prolem here ?
Regards,
Franck