Re: New feature request: FlashBack Query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New feature request: FlashBack Query
Дата
Msg-id 19708.1171730935@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New feature request: FlashBack Query  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: New feature request: FlashBack Query  (elein <elein@varlena.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> RPK wrote:
>> Future versions of PostgreSQL must have similar features which enable users
>> to bring Table(s) and/or Database(s) to a desired Time Stamp.

> We can do it with databases, we can't do it with tables. Nor should we
> do it with tables as it would require that all tables in relation are
> also flashed backed.

AFAICT this is a request to re-instate Time Travel, which is a feature
we removed more than ten years ago because the overhead was utterly
unacceptable.  And the project's idea of acceptable performance then
was orders of magnitude weaker than it is now.  So it's not going to
happen, at least not in the general release.  You might take a look at
contrib/spi/README.timetravel, though, for a prototype of how something
similar can be achieved without any changes to the core system.  That
module is a bit unmaintained and could doubtless do with some updates
--- for starters, it should be using timestamptz instead of the old
deprecated abstime.  If you're interested, feel free to work on it.
No one else has taken an interest in a long time.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RFC: Temporal Extensions for PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Plan invalidation design