MAKEDBZ(8)
πΈ NAME πΈ
okay bestie, this is makedbz β literally the rebuild dbz files girlie π
. Youβre reading the MAKEDBZ(8) page from InterNetNews Documentation, and sheβs here to help.
β¨ SYNOPSIS β¨
makedbz [-io] [-f filename] [-s size]
π¦ DESCRIPTION π¦
okay so makedbz rebuilds the 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. periodt.
π OPTIONS π
-f filenameβ If the-fflag is used, then the database files are namedfilename.dir,filename.index, andfilename.hash. If the-fflag is not used, then a temporary link to the namehistory.nis made and the database files are written ashistory.n.index,history.n.hashandhistory.n.dir.-iβ To ignore the old database when determining the size of the new one to create, use the-iflag. Using the-oor-sflags implies the-iflag.
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).
-oβ If the-oflag is used, then the temporary link tohistory.n(or the name specified by the-fflag) is not made and any existing history files are overwritten. If the old database exists,makedbzwill use it to determine the size of the new database (see-i).-s sizeβmakedbzwill also ignore any old database if the-sflag 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. The news server will still accept more articles, but will be slower. 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.)
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.)
π HISTORY π
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews. Converted to POD by Julien Elie. shoutout to the icons who made this page happen π«Ά
π SEE ALSO π
history(5), libinn_dbz(3). go read these bestie, iykyk π
made with π from the INN 2.7.4 source, dated 2024-05-19, and this page is literally MAKEDBZ(8) β periodt β¨
π¦ where this page comes from
- arch rolling: inn 2.7.4-4 Β· ISC
- epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms