![Sybase Adaptive Server 15.0.2 Installation Manual Download Page 130](http://html1.mh-extra.com/html/sybase/adaptive-server-15-0-2/adaptive-server-15-0-2_installation-manual_1416502130.webp)
Upgrading compiled objects with dbcc upgrade_object
116
Adaptive Server Enterprise
Error reporting
To send all the output from
dbcc upgrade_object
to the window, a System
Administrator can execute
dbcc traceon(3604)
. Sybase recommends that you
use this command if you think the output of error messages might overflow the
error log.
Using database dumps in upgrades
Upgrading using dump and load
You can load pre-12.5 database dumps and transaction logs and upgrade the
databases.
Some issues of which you should be aware:
•
Upgrading requires space for copying data and logging changes to the
system tables during the upgrade process. If the source database in the
dump was nearly full, the upgrade process might fail due to insufficient
space. While this is expected to be uncommon, you can use
alter database
to extend the free space in the event of insufficient-space errors.
•
After reloading an older dump, run
sp_checkreswords
from the new
installation on the loaded database to check for reserved words.
Upgrading compiled objects in database dumps
When you load a database dump that was created in an earlier version than the
current Adaptive Server, you are not required to perform the pre-upgrade tasks
before loading the dump. Therefore, you will not receive any notification if the
compiled objects in your database dump are missing their source text. After
loading a database dump, run
sp_checksource
to verify the existence of the
source text for all compiled objects in the database. Then, you can allow the
compiled objects to be upgraded as they are executed, or you can run
dbcc
upgrade_object
to find potential problems and upgrade objects manually.
For information on using
sp_checksource
, see the Reference Manual:
Procedures.
Summary of Contents for Adaptive Server 15.0.2
Page 1: ...Installation Guide Adaptive Server Enterprise 15 0 2 HP UX...
Page 104: ...Recovering from a failed upgrade 90 Adaptive Server Enterprise...
Page 114: ...Enabling and changing e mail notifications 100 Adaptive Server Enterprise...
Page 132: ...Upgrading compiled objects with dbcc upgrade_object 118 Adaptive Server Enterprise...
Page 136: ...Removing an old server 122 Adaptive Server Enterprise...
Page 144: ...Configuration using resource files 130 Adaptive Server Enterprise...
Page 156: ...Increasing device and database capacity for system procedures 142 Adaptive Server Enterprise...