From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres table contents versioning |
Date: | 2010-06-30 22:22:28 |
Message-ID: | 87zkycyxcr.fsf@cbbrowne.afilias-int.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
jsmgage(at)numericable(dot)fr (John Gage) writes:
> 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.
There's a whole set of literature on the notion of temporal data.
Richard Snodgrass' book is rather good.
<http://www.cs.arizona.edu/people/rts/>
The typical approach involves adding a timestamp or two to tables to
indicate when the data is considered valid. That's rather different
from Git :-).
--
output = ("cbbrowne" "@" "gmail.com")
http://linuxdatabases.info/info/languages.html
HEADLINE: Suicidal twin kills sister by mistake!
From | Date | Subject | |
---|---|---|---|
Next Message | Szymon Guz | 2010-06-30 22:23:52 | loading many queries from a file |
Previous Message | Adrian Klaver | 2010-06-30 22:18:59 | Re: Cannot open table in new database |