From: | Alban Hertroys <alban(at)magproductions(dot)nl> |
---|---|
To: | Kevin Kempter <kevin(at)kevinkempterllc(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: SQL Diff ? |
Date: | 2007-08-27 12:48:04 |
Message-ID: | 46D2C804.8000201@magproductions.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Kevin Kempter wrote:
> Hi List;
>
> I have a very large table (52million rows) - I'm creating a copy of it to rid
> it of 35G worth of dead space, then I'll do a sync, drop the original table
> and rename table2.
>
> Once I have the table2 as a copy of table1 what's the best way to select all
> rows that have been changed, modified in table1 since the initial laod from
> table1 into table2?
I think you could get smart having a few rules for insert/update/delete
on 'table' that "keep track" of what happens during your work on table2.
--
Alban Hertroys
alban(at)magproductions(dot)nl
magproductions b.v.
T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede
// Integrate Your World //
From | Date | Subject | |
---|---|---|---|
Next Message | Franck Roubieu - AXCENTEO | 2007-08-27 12:50:00 | How to restore my database ? |
Previous Message | Marcelo de Moraes Serpa | 2007-08-27 12:40:45 | [ERROR] syntax error at end of input |