table bloat very fast and free space can not be reused - Mailing list pgsql-performance

From James Pang
Subject table bloat very fast and free space can not be reused
Date
Msg-id CAHgTRff=eH1GwVb=ENMzX6hBEajdTccCQbeVRkj4OtYLm69a9g@mail.gmail.com
Whole thread
Responses Re: table bloat very fast and free space can not be reused
Re: table bloat very fast and free space can not be reused
List pgsql-performance
experts:
     source database v14 ,  pglogical extension 2.4.5 replication to new 17, source table very frequent UPDATEs /DELETES /INSERTS and has two text and jsonb. in source database, application update/delete/insert through SQL, table size did not increased quickly. but in target pg v17 , by pglogical apply, we found table increased very quickly , table size got doubled in days.  
    Vacuum analyze did not help , only vacuum full can help. pgstattuple show most of space are free space , that much more than source.  it looks like these replicate DML always asking new pages instead of reuse existing freespace. 
    
Thanks,

James

pgsql-performance by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Significant performance issues with array_agg() + HashAggregate plans on Postgres 17
Next
From: Christophe Pettus
Date:
Subject: Re: table bloat very fast and free space can not be reused