pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kurt Roeckx <kurt@roeckx.be>
To: pgsql-admin@lists.postgresql.org
Subject: Append only tables
Date: Fri, 20 Mar 2020 22:50:53 +0100
Message-ID: <20200320215053.GH22330@roeckx.be> (raw)

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






view thread (13+ messages)  latest in thread

Message-ID: <20200320215053.GH22330@roeckx.be>
Permalink:  ../20200320215053.GH22330@roeckx.be/
Also on:    postgresql.org/message-id/20200320215053.GH22330@roeckx.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: kurt@roeckx.be, pgsql-admin@lists.postgresql.org
  Subject: Re: Append only tables
  In-Reply-To: <20200320215053.GH22330@roeckx.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox