full vacuum really slows down query

Started by Jason Longalmost 18 years ago2 messagesgeneral
Jump to latest
#1Jason Long
jason@octgsoftware.com

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

#2Nathan Boley
npboley@gmail.com
In reply to: Jason Long (#1)
Re: full vacuum really slows down query

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