Dbz stores offsets into the base text file for rapid retrieval. Dbminit opens a database, an index into the base file base , consisting of files base .dir , base .index , and base .hash which must already exist.
Subsequent accesses go to that database until dbzclose is called to close the data- base.
Dbzstore will fail unless the database files are writable. Dbzexists will verify whether or not the given message-id exists or not. Dbz is optimized for this operation and it may be signifi- cantly faster than dbzfetch. Dbzfresh is a variant of dbzinit for creating a new database with more control over details. Dbzfresh 's size parameter specifies the size of the first hash table within the database, in key-value pairs.