Re: tablelog

From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: tablelog
Date: 2009-02-10 20:26:59
Message-ID: 20090210212659.73d7b597@iridium.wars-nicht.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 10 Feb 2009 11:36:38 -0500 Bruno Lavoie wrote:

> Oracle Flashback Query seems to use undo logs to return in a point in
> time if the undo retention param permit it. You can do it with a date,
> or with the SCN (system change number), a kind of transaction number. It
> saves you administration task and table management, and *space*.
>
> Is this doable with PG, using some pg transaction logs?

I think, the only way is to use PITR and roll the backup forward during
the exact point you want to see.

Probably another way - but really untested and dangerous - would be to
play around with the meta information for each row. But VACUUM makes
sure dead rows are removed very fast, so i think it's not even worth to
try out.

Bye

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-02-10 20:31:20 Re: tablelog
Previous Message Iñigo Barandiaran 2009-02-10 20:15:06 Fwd: createdb.exe and psql.exe without Promting Password