=?ISO-8859-1?Q?I=F1igo?= Martinez Lasala <imartinez@xxxxxxxxxxxx> writes: > ANALYZE; > And everything working like a charm.... > What is the reason for this to happen? Is it common? It sounds like you might never have ANALYZEd the database at all, or anyway not have done so recently. Recommended practice is to ANALYZE at least as often as you vacuum. Or turn on autovacuum and let it take care of it. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin