Upgrading a database adds and modifies system tables, system procedures, and database options to enable version 11 features. It does not change the file format used to store and access data on disk, and so does not give access to all new features and performance enhancements in the latest version of the software.
For information about upgrading the database file format, see Rebuilding version 10.0.0 and later databases.
The Upgrade Database Wizard does not upgrade a version 9.0.2 or earlier database to version 11. To upgrade an existing database to version 11, you must unload and reload the database using dbunload or the Unload Database Wizard. See Upgrading version 9 and earlier databases.
You should always back up your database files before upgrading. If you apply the upgrade to the existing files, then these files become unusable if the upgrade fails. For information about backing up your database, see Backup and data recovery.
To upgrade a database (Sybase Central)
Carry out the standard precautions for upgrading software. See Important upgrade precautions.
From the Start menu, choose Programs » SQL Anywhere 11 » Sybase Central.
From the SQL Anywhere plug-in, connect to the database you to upgrade. The database must be running on a version 11 database server.
From the Tools menu, choose SQL Anywhere 11 » Upgrade Database.
Follow the instructions in the Upgrade Database Wizard.
Stop the database and archive the transaction log by making a copy of it before using the upgraded database if you did not choose to do so in the wizard.
You can also access the Upgrade Database Wizard by:
To upgrade a database (Command line)
Carry out the standard precautions for upgrading software. See Important upgrade precautions.
Ensure that you have exclusive access to the database to be upgraded and ensure that the version 11 utilities are ahead of other utilities in your system path. See Using the utilities.
Run the Upgrade utility (dbupgrad) against the database:
dbupgrad -c "connection-string" |
The database user specified in the connection-string must connect to the database to be upgraded with DBA authority.
For more information, see Upgrade utility (dbupgrad).
Shut down the database and archive the transaction log before using the upgraded database.
To upgrade a database (SQL)
Connect to the database from Interactive SQL or another application that can execute SQL statements.
Execute an ALTER DATABASE statement.
For example, the following statement upgrades a database:
ALTER DATABASE UPGRADE; |
For more information, see ALTER DATABASE statement.
Shut down the database and archive the transaction log before using the upgraded database.
Upgrading SQL Anywhere software and databases in a database mirroring system
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |