The Unload Database Wizard rebuilds a version 9 or earlier database by unloading into a reload file and data files, unloading and reloading into a new database, or unloading and reloading into an existing database. Rebuilt databases support all new features and performance enhancements in the latest software version.
Prérequis
You must have the SELECT ANY TABLE and SERVER OPERATOR system privileges.
It is recommended that you back up your database before rebuilding it.
The database file must be located on the same computer as the SQL Anywhere 16 installation.
You cannot unload a subset of tables from a database. Use the dbunload utility to do this.
If the Unload Database Wizard determines that the database file is already running, then the database is stopped before the unload proceeds.
Follow the standard precautions for upgrading software. See Upgrade and rebuild precautions.
If possible, defragment the drive where the new database will be stored because a fragmented drive can decrease database performance.
Ensure that you have exclusive access to the database to be unloaded and reloaded. No other users can be connected.
Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.
Click Tools » SQL Anywhere 16 » Unload Database.
Read the introductory page of the Unload Database Wizard, and click Next.
Click Unload a database running on an earlier version of the server, or a database that is not running. Specify the connection information for the database. Click Next.
Click Unload and reload into a new database. Click Next.
Specify a new file name for the database. Click Next.
You can specify the page size for the new database. In version 16, the default (and recommended) page size is 4096 bytes.
You can encrypt the database file. If you choose strong encryption, you need the encryption key each time you start the database. See Database encryption and decryption.
Choose to unload structure and data. Click Next.
Specify whether you want to connect to the new database when the rebuild is complete.
Click Finish. Examine the new database to confirm that the rebuild completed properly.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |