1MAKEDBZ(8) InterNetNews Documentation MAKEDBZ(8)
2
3
4
6 makedbz - Rebuild dbz files
7
9 makedbz [-io] [-f filename] [-s size]
10
12 makedbz rebuilds dbz(3) database. The default name of the text file is
13 pathdb/history; to specify a different name, use the -f flag.
14
16 -f filename
17 If the -f flag is used, then the database files are named
18 "filename.dir", "filename.index", and "filename.hash". If the -f
19 flag is not used, then a temporary link to the name "history.n" is
20 made and the database files are written as "history.n.index" ,
21 "history.n.hash" and "history.n.dir".
22
23 -i To ignore the old database, use the -i flag. Using the -o or -s
24 flags implies the -i flag.
25
26 -o If the -o flag is used, then the link is not made and any existing
27 history files are overwritten. If the old database exists, makedbz
28 will use it to determine the size of the new database.
29
30 -s size
31 makedbz will also ignore any old database if the -s flag is used to
32 specify the approximate number of entries in the new database.
33 Accurately specifying the size is an optimization that will create
34 a more efficient database. Size is measured in key-value pairs
35 (i.e. lines). (The size should be the estimated eventual size of
36 the file, typically the size of the old file.)
37
38 For more information, see the discussion of dbzfresh and dbzsize in
39 dbz(3).
40
42 Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews.
43 Converted to POD by Julien Elie.
44
45 $Id: makedbz.pod 8584 2009-08-20 21:54:07Z iulius $
46
48 dbz(3), history(5).
49
50
51
52INN 2.5.2 2010-08-11 MAKEDBZ(8)