On Mon, Aug 08, 2011 at 10:01:58PM +0200, pasman pasmański wrote: > Try to change index: objects_endings_tsz_active(state,endings_tsz) > where state='active'. adding new indexes on this machine is quite complicated, as it's heavily used production system. And the current index should be chosen by planner anyway - it is after analyze, but then it breaks again. Best regards, depesz -- The best thing about modern society is how easy it is to avoid contact with it. http://depesz.com/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general