full vacuum really slows down query

From: Jason Long <jason(at)octgsoftware(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: full vacuum really slows down query
Date: 2008-06-04 21:56:55
Message-ID: 48470FA7.9010608@supernovasoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Would someone please comment as to why I would see a 15x slow down by
only vacuuming the DB?

I am using 8.3.1

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2008-06-04 22:00:09 Re: functions, transactions, key violations
Previous Message Stephan Szabo 2008-06-04 21:56:52 Re: Script errors on run