Re: Persist MVCC forever - retain history - Mailing list pgsql-hackers

From Thomas Kellerer
Subject Re: Persist MVCC forever - retain history
Date
Msg-id 80b49c4c-6330-cba0-d7f0-ae83e9f0a790@gmx.net
Whole thread Raw
In response to Re: Persist MVCC forever - retain history  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
List pgsql-hackers
Konstantin Knizhnik schrieb am 05.07.2020 um 19:31:
>> I am surprised that you are saying you didn't feel big interest. My
>> reading of the thread is the opposite, that there was quite some
>> interest, but that there are technical challenges to overcome. So you
>> gave up on that work?
> No, I have not gave up.
> But...
> There are well known problems of proposed approach:
> 1. Not supporting schema changes
> 2. Not compatible with DROP/TRUNCATE
> 3. Presence of large number of aborted transaction can slow down data access.
> 4. Semantic of join of tables with different timestamp is obscure.

Oracle partially solved this (at least 1,3 and 4 - don't know about 3) by storing the old versions in a separate table
thatis automatically managed if you enable the feature. If a query uses the AS OF to go "back in time", it's rewritten
toaccess the history table.
 

Thomas




pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Ideas about a better API for postgres_fdw remote estimates
Next
From: Paul A Jungwirth
Date:
Subject: Re: range_agg