On Apr 25, 2009, at 10:31 AM, Oscar Carlés wrote:
Quote:
What I need to know is if it is possible to use journals files from
9.1.1 version, copy them to Ingres 2.6 installation and perform a
rollforwarddb on 2.6 in order to have again Ingres 2.6 data up to
date? |
I know for sure that some log records have had format changes, but
I don't know whether there was any change to the log record
header (which would prevent any of them working with 2.6).
The best answer is no, you can't apply 9.1.1 journals on a
2.6 installation. You *might* get lucky, and have it work,
but I don't think you could count on it. All it takes is
one unrecognized journal record to stop the rollforward, even
if it manages to recognize most of the journal data.
You might have better luck running auditdb on the 9.1.1
side to create audit trail files; auditdb can write them
in a format that you can copy into a table, and then a
reasonably simple program can apply the changes. This
doesn't cover all possible changes, but it will allow you
to replay inserts, updates, and deletes which are probably
the important bits in your situation. (ija will do this
for you, but I don't know if it understands auditdb output
or not; it's been ages since I played with ija.)
Karl