From: | Andrew Sullivan <ajs(at)crankycanuck(dot)ca> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: vacuum analyze slows sql query |
Date: | 2004-11-03 18:45:47 |
Message-ID: | 20041103184547.GA16528@phlogiston.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Wed, Nov 03, 2004 at 10:31:33AM -0800, patrick ~ wrote:
> Just to clarify, the sliggishness isn't only during the vacuum
> period. There are more more serious issues during the vacuum,
> but i am not touching on those. The sluggishness is persistant
> throughout daily operations.
Then I suspect you have two problems, not one. The locking in 7.1
will certainly cause the timeouts during vacuum, but won't explain
the other items. Someone else suggested REINDEX, also, which is
likely needed. But again, you'll get more useful remarks from the
-performance list.
> Yes, the plan is to upgrade them with new release of our product.
> I didn't know about the xid exhaustion problem. I'll need to
> search the mailing list archives.
You can learn a bit about this in the _current_ version of the docs
under regular maintenance.
> Again to clarify, the output I pasted was from my standalone
> PostgreSQL box. That is, it wasn't being used other than those
> quries being executed.
That's even worse. I certainly can't explain your results, then.
You really want to move to the -performance list for that.
> I don't know if you looked at my stored function, but there are
> no locks in it (no explicit ones anyway).
Foreign keys are one well-known area of locking surprises.
A
--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
This work was visionary and imaginative, and goes to show that visionary
and imaginative work need not end up well.
--Dennis Ritchie
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2004-11-03 19:20:32 | Re: vacuum analyze slows sql query |
Previous Message | patrick ~ | 2004-11-03 18:31:33 | Re: vacuum analyze slows sql query |