odtest - Man Page

test cases for QDBM Odeum

Synopsis

odtest write [-tune ibnum idnum cbnum csiz] name dnum wnum pnum
odtest read name
odtest combo name
odtest wicked name dnum

Description

The command `odtest' is a utility for facility test and performance test.  Check a database generated by the command or measure the execution time of the command.  This command is used in the following format.  `name' specifies a database name.  `dnum' specifies the number of the documents.  `wnum' specifies the number of words per document.  `pnum' specifies the number of patterns of words.

odtest write [-tune ibnum idnum cbnum csiz] name dnum wnum pnum

Store documents with random attributes and random words.

odtest read name

Retrieve all documents of the database above.

odtest combo name

Perform combination test of various operations.

odtest wicked name dnum

Perform updating operations selected at random.

Options feature the following.

-tune ibnum idnum cbnum csiz : set tuning parameters.

This command returns 0 on success, another on failure.  The environment variable `QDBMDBGFD' specifies the file descriptor to output the history of updating the variable `dpecode'.

See Also

qdbm(3), odeum(3)

Author

QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.

Info

2005-06-01 Man Page Quick Database Manager