Re: log chunking broken with large queries under load

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log chunking broken with large queries under load
Date: 2012-04-02 17:03:34
Message-ID: 7863.1333386214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message paulo matadr 2012-04-02 17:43:33
Previous Message Kevin Grittner 2012-04-02 16:58:23 Re: measuring lwlock-related latency spikes