Did you see this advice about vacuuming your database and rebuilding indexes after the recent postgresql update?