Re: log chunking broken with large queries under load - Mailing list pgsql-hackers

From Tom Lane
Subject Re: log chunking broken with large queries under load
Date
Msg-id 7863.1333386214@sss.pgh.pa.us
Whole thread Raw
In response to Re: log chunking broken with large queries under load  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: log chunking broken with large queries under load
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 04/02/2012 12:44 PM, Tom Lane wrote:
>> You could do something like having a list of pending chunks for each
>> value of (pid mod 256).  The length of each such list ought to be plenty
>> short under ordinary circumstances.

> Yeah, ok, that should work. How big would we make each list to start 
> with? Still 20, or smaller?

When I said "list", I meant a "List *".  No fixed size.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: measuring lwlock-related latency spikes
Next
From: paulo matadr
Date:
Subject: ...