MAKEDBZ(8) | InterNetNews Documentation | MAKEDBZ(8) |
makedbz - Rebuild dbz files
makedbz [-io] [-f filename] [-s size]
makedbz rebuilds dbz database (also known as the history file). The default name of the text file is pathdb/history; to specify a different name, use the -f flag.
When the old database is ignored, and a size is not specified with -s, makedbz will count the number of lines of the current text history file, add 10% to that count (for the next articles to arrive), and another 50% (or 100% if the slower tagged hash format is used) to determine the size of the new database to create. The aim is to optimize the performances of the database, keeping it filled below 2/3 of its size (or 1/2 with the tagged hash format).
If no text history file exists, the new one will have the default creation size (see -s).
The effective size used will be larger, to optimize the performances of the database. For more information, see -i and the discussion of dbzfresh and dbzsize in libinn_dbz(3).
The default is 6,666,666 when creating a new history database. (If the slower tagged hash format is used, the default is 500,000.)
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews. Converted to POD by Julien Elie.
history(5), libinn_dbz(3).
2024-03-31 | INN 2.7.2 |