MAKEDBZ(8)

NAME

makedbz - Rebuild dbz files

SYNOPSIS

makedbz [-io] [-f filename] [-s size]

DESCRIPTION

makedbz rebuilds dbz(3) database. The default name of the text file is pathdb/history; to specify a different name, use the -f flag.

OPTIONS

-f filename
If the -f flag is used, then the database files are named
"filename.dir", "filename.index", and "filename.hash". If the -f flag is not used, then a temporary link to the name "history.n" is made and the database files are written as "history.n.index" ,
"history.n.hash" and "history.n.dir".
-i To ignore the old database, use the -i flag. Using the -o or -s
flags implies the -i flag.
-o If the -o flag is used, then the link is not made and any existing
history files are overwritten. If the old database exists, makedbz will use it to determine the size of the new database.
-s size
makedbz will also ignore any old database if the -s flag is used to specify the approximate number of entries in the new database.
Accurately specifying the size is an optimization that will create a more efficient database. Size is measured in key-value pairs
(i.e. lines). (The size should be the estimated eventual size of
the file, typically the size of the old file.)
For more information, see the discussion of dbzfresh and dbzsize in dbz(3).

HISTORY

Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
Converted to POD by Julien Elie.

$Id: makedbz.pod 8584 2009-08-20 21:54:07Z iulius $

SEE ALSO

dbz(3), history(5).
Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout