unknown
2005-07-25 18:32:59 UTC
Hi Folks,
We've done a test of a cross-platform load for a client from
a 64-bit Sun to a 32-bit RH Linux and it worked fine. But
now, when the time comes to do the live switch, it fails
just as it gets to the transaction log:
... /* so far so good */
Cross-platform conversion for database client_db: 15805282
pages completed.
Completed cross-platform conversion for user objects.
Started cross-platform conversion for log records.
Adaptive Server cannot load this database because the
database that was dumped was not quiescent when the dump was
performed. Run sp_flushstats before DUMP DATABASE and ensure
that the database is not updated during the dump.
Well, I did do sp_flushstats and checkpoint and the DB was
absolutely not updated during the dump. (We've turned the
crank on this multiple times trying to ensure that all the
steps happened. Same result.) I've about concluded that
something is wrong with the source DB and the client did
have a problem with the log filling up (despite a scheduled
task that dumps it regularly and thresholds and the whole
bit).
Perhaps something is subtly corrupted in the transaction log
(although the DB's been in use for many weeks since that
happened)?
The instructions say you should wait for a period of time
after running sp_flushstats--is using WAITFOR DELAY going to
cause a problem? Do I need to wait a long time (given that
this is a very large DB)?
Would setting the log to truncate on checkpoint possibly
help?
Apparently there's been a problem and the regular DBCC's
that are supposed to have been happening haven't been. The
syslogs table has no problems show up with DBCC CHECKTABLE
or TABLEALLOC. How important is it to run the DBCC checks
before attempting to do a cross-platform dump (since we
assumed the regular checks had been running, we'd skipped
that step)?
Any ideas you can suggest would be most gratefully accepted.
Here's the info on the two systems:
Source:
Sun Solaris
Adaptive Server Enterprise/12.0.0.4/P/SWR 9973 ESD
1/Sun_svr4/OS 5.7/1784/64bit/FBO/Sat Dec 8 10:03:51 2001
Target:
Linux RH EL 3.0 w/ latest kernel: 2.4.21-32.0.1.ELsmp
Adaptive Server Enterprise/12.5.3/EBF 12151/P/Linux
Intel/Enterprise Linux/ase125x/1883/32-bit/OPT/Thu Nov 11
17:33:16 2004
(That's 12.5.3 ESD # 1, I believe; I haven't tried ESD #2
yet--I'm about to do that.)
Thanks for anything you can suggest.
John
Alpha-G Consulting, LLC
www.alphagconsulting.com
We've done a test of a cross-platform load for a client from
a 64-bit Sun to a 32-bit RH Linux and it worked fine. But
now, when the time comes to do the live switch, it fails
just as it gets to the transaction log:
... /* so far so good */
Cross-platform conversion for database client_db: 15805282
pages completed.
Completed cross-platform conversion for user objects.
Started cross-platform conversion for log records.
Adaptive Server cannot load this database because the
database that was dumped was not quiescent when the dump was
performed. Run sp_flushstats before DUMP DATABASE and ensure
that the database is not updated during the dump.
Well, I did do sp_flushstats and checkpoint and the DB was
absolutely not updated during the dump. (We've turned the
crank on this multiple times trying to ensure that all the
steps happened. Same result.) I've about concluded that
something is wrong with the source DB and the client did
have a problem with the log filling up (despite a scheduled
task that dumps it regularly and thresholds and the whole
bit).
Perhaps something is subtly corrupted in the transaction log
(although the DB's been in use for many weeks since that
happened)?
The instructions say you should wait for a period of time
after running sp_flushstats--is using WAITFOR DELAY going to
cause a problem? Do I need to wait a long time (given that
this is a very large DB)?
Would setting the log to truncate on checkpoint possibly
help?
Apparently there's been a problem and the regular DBCC's
that are supposed to have been happening haven't been. The
syslogs table has no problems show up with DBCC CHECKTABLE
or TABLEALLOC. How important is it to run the DBCC checks
before attempting to do a cross-platform dump (since we
assumed the regular checks had been running, we'd skipped
that step)?
Any ideas you can suggest would be most gratefully accepted.
Here's the info on the two systems:
Source:
Sun Solaris
Adaptive Server Enterprise/12.0.0.4/P/SWR 9973 ESD
1/Sun_svr4/OS 5.7/1784/64bit/FBO/Sat Dec 8 10:03:51 2001
Target:
Linux RH EL 3.0 w/ latest kernel: 2.4.21-32.0.1.ELsmp
Adaptive Server Enterprise/12.5.3/EBF 12151/P/Linux
Intel/Enterprise Linux/ase125x/1883/32-bit/OPT/Thu Nov 11
17:33:16 2004
(That's 12.5.3 ESD # 1, I believe; I haven't tried ESD #2
yet--I'm about to do that.)
Thanks for anything you can suggest.
John
Alpha-G Consulting, LLC
www.alphagconsulting.com