Re: [HACKERS] Logical replication ApplyContext bloat - Mailing list pgsql-hackers

From Stas Kelvich
Subject Re: [HACKERS] Logical replication ApplyContext bloat
Date
Msg-id BFD86E57-D4F9-4BA1-89DA-8E0B5F9AF10F@postgrespro.ru
Whole thread Raw
In response to Re: [HACKERS] Logical replication ApplyContext bloat  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [HACKERS] Logical replication ApplyContext bloat  (Dilip Kumar <dilipbalaut@gmail.com>)
List pgsql-hackers
> On 19 Apr 2017, at 16:07, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> Stas Kelvich wrote:
>
>> With patch MemoryContextStats() shows following hierarchy during slot operations in
>> apply worker:
>>
>> TopMemoryContext: 83824 total in 5 blocks; 9224 free (8 chunks); 74600 used
>>  ApplyContext: 8192 total in 1 blocks; 6520 free (4 chunks); 1672 used
>>    ApplyMessageContext: 8192 total in 1 blocks; 6632 free (11 chunks); 1560 used
>>      ExecutorState: 8192 total in 1 blocks; 7624 free (0 chunks); 568 used
>>        ExprContext: 0 total in 0 blocks; 0 free (0 chunks); 0 used
>
> Please update src/backend/utils/mmgr/README to list the new contexts.


Thanks for noting.

Added short description of ApplyContext and ApplyMessageContext to README.





Stas Kelvich
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] dtrace probes
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Use sync commit for logical replication apply in TAPtests