cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to apply SA11 transaction log to SA12 database?

3,226

Hello,
I've read about this approach of rebuilding databases and it seems quite positive way. But it would be nice to have less steps. Now I have such a question: is it possible to apply SA11 transaction log to SA12 database without translating the log? Does the format of log files differ in these versions?
Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Mismatched database formats and transaction logs are not supported.

There are log format differences between versions of the software. The server software assumes that when using a V12 database that the log file will contain V12 log entries, and if running a v11 database, the v12 server will assume a v11 log format. A mismatched database/log will lead to unpredictable results.

VolkerBarth
Contributor
0 Kudos

IMHO, this is only dealing with the SQL script translated from a v11 log, and not with the log file format itself.

Though I would agree that the translated script could contain syntax not applicable for v12, this would be a rather small risk in my very humble opinion...

Former Member

Of course - the DBTRAN output of a transaction log is simply a set of SQL statements, and for the most part those statements should be processed by a v12 server in the same way as a v11 server. But Arthoor's query was specifically about not using DBTRAN, and applying the log directly during recovery.

VolkerBarth
Contributor
0 Kudos

Sorry, you are so right.

That's the second time today I stumble over "not have read to the end" - see my Linked Server adventure. Another lesson learnt:)

reimer_pods
Participant
0 Kudos

I've read that as "log files structures may change from one version to another". SQL changes IMVHO are another chapter (but may be in the same book). So I'd think SQL from translated log files could be executed successfully on a db running on a higher version engine.

0 Kudos

Well, thanks for the answer.

Answers (0)