5 Database Utilities

The dblogreset utility

Introduction

The dblogreset utility can be used to reset the log volumes to minimal size. The log volume of a database environment is required to hold all committed transactions between checkpoints in addition to information about transactions in progress. A checkpoint operation will remove the information about committed transactions, because it is guaranteed that the changes are made permanent to the data volume at that time. Although space is freed in the log volume, the size of the logvolume will not shrink. This can be achieved by the dblogreset utility. It will check the log volumes for any commited transactions which may be present (eg. due to an unclean server shutdown) and then truncate the log volume.

dblogreset [options] volume_file_name

Arguments:

-v
Specifying the -v option will cause dblogreset to output additional information during processing.
-d flags
Set debug flags. This is used to debug dblogreset and is normally not used.
-c cfg
Specifies the server configuration file name.
When using dblogreset, the database server may not be active.


Eloquence Database Manual - 19 DEC 2002