Administrative Tasks

 

 

 

 

Option

Description

 

 

 

 

-k

Performs key file structure checking.

 

 

 

 

-dk

Causes dbcheck to ensure the key file

 

 

contains the key for each key field in each data

 

 

file.

 

 

 

 

-kd

Causes dbcheck to ensure that a record

 

 

exists for each key in each key file.

 

 

 

 

-ts

Performs timestamp consistency checks.

 

 

 

 

-r#

Reports percentage complete to the file

 

 

stderr.

 

 

 

 

-p#

Sets to the # the number of pages in the cache

 

 

for use in dbcheck.

 

 

 

 

-f#

Sets to # the number of open files for

 

 

dbcheck.

 

 

 

 

-t

Prints a traceback of the B-tree when a key file

 

 

inconsistency is detected.

 

 

 

 

-c

Prints a count of objects scanned in the check.

 

 

 

 

dbname

To determine the name of the database,

 

 

look in the $FS_HOME/internal/fsdb

 

 

directory for files ending with the .dbd

 

 

extension.

 

 

 

If you experience unusual behavior when running a FileServ command, look under $FS_HOME/internal/fsdb for any data or key files that are unusually large. These files will have a a .d01 or .k0x extension, where “x” is a number between 1 and 5. Unusually large file size may indicate there is a problem with the database. If running dbcheck indicates a key file error, run keybuild to correct the problem.

Utilities

600716 Rev A

Utilities

3-5

Page 151
Image 151
ADIC FileServ Version 4.0 600716 Rev A To determine the name of the database, Directory for files ending with the .dbd