pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: RUM and WAL-generation
Date: Wed, 21 Oct 2020 10:04:13 +0200 (CEST)
Message-ID: <VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena> (raw)


Hi all. 

The RUM-index is very nice, but indexes get very large and produce insane 
amounts of WAL. 
Due to the way PG works (IIUC), updating an int-column in a row produces lots 
of WAL because the whole row is duplicated, and if that row holds RUM-indexed 
columns it gets really bad... 
We hav actually run out of WAL-space in production because of this. 

I see this TODO-entry in RUM: 


 * Improve GENERIC WAL to support shift (PostgreSQL core changes). 
What is the status on this? 


-- 
Andreas Joseph Krogh 
CTO / Partner - Visena AS 
Mobile: +47 909 56 963 
andreas@visena.com <mailto:andreas@visena.com> 
www.visena.com <https://www.visena.com; 
 <https://www.visena.com; 

Message-ID: <VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena>
Permalink:  ../VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andreas@visena.com
  Subject: Re: RUM and WAL-generation
  In-Reply-To: <VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena>
  References: <VisenaEmail.3c.31ebd9cf1d8c010d.1754a2b310a@tc7-visena>

* 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