Before you can use dbcc checkstorage, you must configure Adaptive Server and set up the dbccdb database. Table 10-3 summarizes the steps and commands in the order you should use them.
Each action is described in detail in the following sections. The examples in this section assume a server that uses 2K logical pages.
WARNING! Do not attempt to perform the actions or use the commands in Table 10-3 before you read the information in the referenced section. You must understand the consequences of each action before you make any changes.
dbcc checkstorage runs its checks against the database on disk. If the corruption is only in memory, dbcc may not detect it. To ensure consistency between two sequential dbcc checkstorage commands, first run a checkpoint. However, this can have the side-effect of turning a transient memory corruption into corruption on disk.
Copyright © 2005. Sybase Inc. All rights reserved. |