Append only tables - Mailing list pgsql-admin

From Kurt Roeckx
Subject Append only tables
Date
Msg-id 20200320215053.GH22330@roeckx.be
Whole thread Raw
Responses Re: Append only tables  (Rui DeSousa <rui@crazybean.net>)
Re: Append only tables  (Wim Bertels <wim.bertels@ucll.be>)
Re: Append only tables  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-admin
Hi,

I have a few tables that are append only. Thre are only gets insert
and select queries, never update or delete.

What I see is that every file is still being updated. It's
currently about 500 GB big, and every of that almost 500 files has
been touched the past 24 hours.

I assume that that the free space map is being used, and that it
still finds places where it can insert a row in one of the files.

(auto) vacuum is not happening on the table.

Is there a way I can turn off this behaviour, and that it really
only writes to the last few pages?


Kurt




pgsql-admin by date:

Previous
From: Andres Freund
Date:
Subject: Re: PG12 autovac issues
Next
From: Rui DeSousa
Date:
Subject: Re: Append only tables