Re: Postgres table contents versioning

Поиск
Список
Период
Сортировка
От Tim Landscheidt
Тема Re: Postgres table contents versioning
Дата
Msg-id m3lj9wd388.fsf@passepartout.tim-landscheidt.de
обсуждение исходный текст
Ответ на Postgres table contents versioning  (John Gage <jsmgage@numericable.fr>)
Список pgsql-general
John Gage <jsmgage@numericable.fr> wrote:

> Is there an equivalent of svn/git etc. for the data in a
> database's tables?

> Can I set something up so that I can see what was in the
> table two days/months etc. ago?

> I realize that in the case of rapidly changing hundred
> million row tables this presents an impossible problem.

> The best kludge I can think of is copying the tables to a
> directory and git-ing the directory.

If you're looking at this from a disaster recovery point of
view, you should read up on PostgreSQL's PITR capabilities.
If you need the information in your application, you should
google for "temporal databases" on how to amend your table
structures.

Tim

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Postgres table contents versioning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter table schema, default sequences stay the same