Library Version 12.1.6.0

Verify Database Structure
Prev | Chapter 5. Administrating Berkeley DB SQL Databases | Next

## Verify Database Structure

Verification is used to confirm that a database structure is correct, and has not been corrupted by a crash or other failure. A detailed description of the verify utility is described at db_verify . This section describes how to use the utility with a SQL database.

The first step in running verify is to add a DB_CONFIG file to the journal directory. In the file, add the following line:

`add_data_dir ..`

Then execute the following command in the database directory db_verify -h [journal directory] [database file]. The command will either print out a message reporting success, or will list any error found in the database.

Prev | Up | Next
Database Statistics | Home | Appendix A. Using the BFILE Extension