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

From Alvaro Herrera
Subject Re: [HACKERS] Logical replication ApplyContext bloat
Date
Msg-id 20170419130738.chzp57u4vxmaw5ee@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Logical replication ApplyContext bloat  (Stas Kelvich <s.kelvich@postgrespro.ru>)
Responses Re: [HACKERS] Logical replication ApplyContext bloat  (Stas Kelvich <s.kelvich@postgrespro.ru>)
List pgsql-hackers
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.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Interval for launching the table sync worker
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Interval for launching the table sync worker