Full vacuum really slowing query down

From: Jason Long <jason(at)octgsoftware(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Full vacuum really slowing query down
Date: 2008-06-04 21:18:57
Message-ID: 484706C1.7080705@supernovasoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2008-06-04 21:27:02 functions, transactions, key violations
Previous Message Ralph Smith 2008-06-04 20:57:27 Script errors on run