From: Gerhard Wiesinger <lists@wiesinger.com>
To: pgsql-general@postgresql.org
Subject: PostgreSQL MVCC and alternative REDO implementation - my thoughts
Date: Sun, 18 Nov 2018 08:49:06 +0100
Message-ID: <eed1ae03-198c-163c-ffac-cd9b94fba4ca@wiesinger.com> (raw)
Hello,
I just read that blog article and I think switching to REDO logic is not
a good idea.
REDO has the following disadvantages, think of the following scenario:
Delete a lot of rows having 1 petabyte of data.
1.) PostgreSQL: has just do mark the rows as deleted, afterwards they
have to be cleaned up by (auto)vacuum. No data has to be written! Will
be quite fast.
2.) REDO logic: The deleted 1 petabyte of data (!) has to written for
crash consistency reasons at least into REDO files. And that might take
time, hours, days, weeks, month.
So please don't give up the implementation of PostgreSQL MVCC.
https://wiki.postgresql.org/wiki/MVCC
What's the plan?
Thank you.
Ciao,
Gerhard
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: lists@wiesinger.com
Subject: Re: PostgreSQL MVCC and alternative REDO implementation - my thoughts
In-Reply-To: <eed1ae03-198c-163c-ffac-cd9b94fba4ca@wiesinger.com>
References: <eed1ae03-198c-163c-ffac-cd9b94fba4ca@wiesinger.com>
* 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