Manual Pages for Linux CentOS command on man db_log_verify
MyWebUniversity

Manual Pages for Linux CentOS command on man db_log_verify

DBLOGVERIFY(1) BerkeleyDB Utilities DBLOGVERIFY(1)

NAME

dblogverify - Verify log files of a database environment SYNOPSIS

dblogverify [-cNvV] [-h home-to-verify] [-H temporary-home] [-P pass‐

word] [-C cache-size] [-b start-lsn] [-e end-lsn] [-s start-time] [-z

end-time] [-d database-filename] [-D database-name] DESCRIPTION The dblogverify utility verifies the log files of a specific database environment. This utility verifies a specific range of log records, or changed log records of a specific database. OPTIONS

-C cache-size Specify the cache size (in megabytes) of the temporary database environment internally used during the log verification.

-b start-lsn Specify the starting log record (by lsn) to verify.

-c Specify whether to continue the verification after an error is detected. If not specified, the verification stops when the first error is detected.

-D database-name Specify a database name. Only log records related to this data‐ base are verified.

-d database-filename Specify a database file name. Only log records related this database file are verified.

-e end-lsn Specify the ending log record by lsn.

-h home-to-verify Specify a home directory of the database environment whose log is to be verified.

-H temporary-home Specify a home directory for this utility to create a temporar‐ ily database environment to store runtime data during the veri‐ fication.

It is an error to specify the same directory as the -h option. If this directory is not specified, all temporary databases cre‐

ated during the verification will be in-memory, which is not a problem if the log files to verify are not huge.

-N Do not acquire shared region mutexes while running. Other prob‐ lems, such as potentially fatal errors in Berkeley DB, are ignored as well. This option is intended only for debugging errors, and should not be used under any other circumstances.

-P password Specify an environment password. Although Berkeley DB utilities overwrite password strings as soon as possible, there may be a window of vulnerability on systems where unprivileged users can

see command-line arguments or where utilities are not able to

overwrite the memory containing the command-line arguments.

-s start-time Specify the starting log record by time. The time range speci‐ fied is not precise because the lsn of the most recent time point is used as the starting lsn.

-V Write the library version number to the standard output and exit.

-v Enable verbose mode to display verbose output during the verifi‐ cation process.

-z end-time Specify the ending log record by time. The time range specified is not precise because the lsn of the most recent time point is used as the ending lsn. To specify a range of log records, you must provide either an lsn range or a time range. You can neither specify both nor specify an lsn and a time as a range. If the log footprint is over several megabytes, specify a home direc‐ tory and a big cache size for log verification internal use. Else, the process' private memory may be exhausted before the verification com‐ pletes. The dblogverify utility does not perform the locking function, even in Berkeley DB environments that are configured with a locking subsys‐ tem. All errors are written to stderr, and all normal and verbose mes‐ sages are written to stdout. The dblogverify utility uses a Berkeley DB environment (as described

for the -h option, the environment variable DBHOME, or because the utility was run in a directory containing a Berkeley DB environment). In order to avoid environment corruption when using a Berkeley DB envi‐ ronment, dblogverify should always be given the chance to detach from the environment and exit gracefully. To cause dblogverify to release all environment resources and exit cleanly, send it an interrupt signal (SIGINT). EXIT STATUS The dblogverify utility exits 0 on success, and >0 if an error occurs. ENVIRONMENT DBHOME

If the -h option is not specified and the environment variable DBHOME is set, it is used as the path of the database home, as

described in DBENV->open. NOTES If the application(s) that use the environment make use of the

DBENV->setlgdir method, then in order for this utility to run cor‐ rectly, you need a DBCONFIG file which sets the proper paths using the setlgdir configuration parameter. SEE ALSO dbarchive(1) dbcheckpoint(1) dbdeadlock(1) dbdump(1) dbhot‐ backup(1) dbload(1) dbprintlog(1) dbrecover(1) dbreplicate(1) dbstat(1) dbtuner(1) dbupgrade(1) dbverify(1) BerkeleyDB 5.3.21 06 December 2016 DBLOGVERIFY(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™