Re: issue with gininsert under very high load - Mailing list pgsql-hackers

From Andres Freund
Subject Re: issue with gininsert under very high load
Date
Msg-id 20140213235343.GF4910@awork2.anarazel.de
Whole thread Raw
In response to Re: issue with gininsert under very high load  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2014-02-13 18:49:21 -0500, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2014-02-13 16:15:42 -0500, Tom Lane wrote:
> >> Something like the attached?  Can somebody who's seen this problem confirm
> >> this improves matters?
> 
> > Hm. Won't that possiby lead to the fast tuple list growing unboundedly?
> > I think we would need to at least need to stop using the fast tuple
> > mechanism during gininsert() if it's already too big and do plain
> > inserts.
> 
> No, because we've already got a process working on cleaning it out.

Well, appending to the fast tuple list will normally be fully cached io,
cleaning it up not so much.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: issue with gininsert under very high load
Next
From: Tom Lane
Date:
Subject: Re: Recovery inconsistencies, standby much larger than primary