> I have a query that takes 2 sec if I run it from a freshly restored dump.> If I run a full vacuum on the database it then takes 30 seconds.
What do the two plans look like? Can you post the explains?
-Nathan