Quantcast
Channel: SCN : All Content - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 757

Data migration from ASE 11.9.2 to 16.0

$
0
0

Hi all,

I'm at a customer site running Sybase ASE 11.9.2 on Windows 2000. I wish to migrate their set of databases to ASE 15.7 or 16.0 hosted on Server 2012 (for obvious reasons). I've downloaded and installed ASE 16.0 developer edition on a new Windows 2012 virtual server and and am moving to the database migration stage....

From what I have read, a single step migration from 11.9.2 to 15.7 is possible, thus I assume a migration to 16.0 might also be possible.

What I have done:

i) Dumped the existing database and transaction logs from ASE 11.9.2 to some files on disk.

ii) Created a datastore for data and logs and created a database with 'load on' the ASE 16.0 environment

iii) loaded a 11.9.2 database and transaction logs into the blank database on ASE 16.0 environment (successful)

iv) run an 'online database DBNAME' (failing)

From what I have read, schema conversion etc. occurs during the online database action, not the initial load. This is the error i'm getting:

 

1> online database Cust201213
2> go
Started estimating recovery log boundaries for database 'Cust201213'.
Database 'Cust201213', checkpoint=(677861, 3), first=(677861, 3), last=(677861, 3).
Completed estimating recovery log boundaries for database 'Cust201213'.
Started ANALYSIS pass for database 'Cust201213'.
Completed ANALYSIS pass for database 'Cust201213'.
Recovery of database 'Cust201213' will undo incomplete nested top actions.
Database 'Cust201213' appears to be at an older version '12.5' than the present installation at version '16.0'; ASE will assess it, and upgrade it as required.
Database 'Cust201213': beginning upgrade step [ID 2]: validate basic system type data
Database 'Cust201213': beginning upgrade step [ID 3]: alter table (table sysindexes)
(182 rows affected)
Msg 644, Level 21, State 5:
Server 'SYBASE', Line 1:
Index row entry for data row id (232233, 0) is missing from index page 232225 of index id 2 of table 'sysindexes' in database 'Cust201213'. Xactid is (677873,8). Drop and re-create the i
Msg 3469, Level 20, State 1:
Server 'SYBASE', Line 1:
Database 'Cust201213': upgrade failed to create index 2 on table 'csysindexes'. Please refer to previous error messages to determine the problem. Fix the problem, then try again.
Msg 3461, Level 20, State 1:
Server 'SYBASE', Line 1:
Database 'Cust201213': upgrade could not install required upgrade item '3'. Please refer to previous error messages to determine the problem. Fix the problem, then try again.
Msg 3452, Level 20, State 1:
Server 'SYBASE', Line 1:
Database 'Cust201213': upgrade item 1134 depends on item 3, which could not be installed. Please refer to previous messages for the cause of the failure, correct the problem and try agai
Msg 3451, Level 20, State 1:
Server 'SYBASE', Line 1:
Database 'Cust201213': upgrade has failed for this database. Please refer to previous messages for the cause of the failure, correct the problem and try again.
Msg 3454, Level 20, State 1:
Server 'SYBASE', Line 1:
Database 'Cust201213': ASE could not completely upgrade this database; upgrade item 1134 could not be installed.
ASE could not bring database 'Cust201213' online.

 

As the database is not online of ASE 16.0 i've been unable to conduct must troubleshooting on that version, so I have cloned a copy of the database on the 11.9.2 instance instead to work on the 644 error.

From the error I assume that the sysindexes system table is corrupt. I've read various forum entries that talk about running a dbcc reindex etc. however the Sybase knowledge base states that such a command cannot be run on the sysindexes table.

Can anyone give me some advice on rebuilding a corrupt sysindexes table please. Go easy on me; I've only been exposed to Sybase ASE for 2 days so i'm learning .

Regards,

Mike Squirrell


Viewing all articles
Browse latest Browse all 757

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>