Re: [GENERAL] Full vacuum really slowing query down

2008-06-06 Thread Tomasz Ostrowski
On 2008-06-04 23:18, Jason Long wrote: > I have a query that takes 2.5 sec if I run it from a freshly restored > dump. If I run a full vacuum on the database it then takes 30 seconds. 1. Don't run "vacuum full", run plain "vacuum". If you run "vacuum full" then "reindex" afterwards. 2. Run "an

[GENERAL] Full vacuum really slowing query down

2008-06-05 Thread Jason Long
I have a query that takes 2.5 sec if I run it from a freshly restored dump. If I run a full vacuum on the database it then takes 30 seconds. Would someone please comment as to why I would see over a 10x slow down by only vacuuming the DB? I am using 8.3.1 -- Sent via pgsql-general mailing l