Re: Random penalties on GIN index updates? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Random penalties on GIN index updates?
Date
Msg-id 1908.1256150115@sss.pgh.pa.us
Whole thread Raw
In response to Re: Random penalties on GIN index updates?  (Jesper Krogh <jesper@krogh.cc>)
Responses Re: Random penalties on GIN index updates?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-performance
Jesper Krogh <jesper@krogh.cc> writes:
> What I seems to miss a way to make sure som "background" application is
> the one getting the penalty, so a random user doing a single insert
> won't get stuck. Is that doable?

You could force a vacuum every so often, but I don't think that will
help the locking situation.  You really need to back off work_mem ---
512MB is probably not a sane global value for that anyway.

            regards, tom lane

pgsql-performance by date:

Previous
From: William Blunn
Date:
Subject: Are unreferenced TOASTed values retrieved?
Next
From: Tom Lane
Date:
Subject: Re: Are unreferenced TOASTed values retrieved?