man vltest (Commandes) - test cases for QDBM Villa
NAME
vltest - test cases for QDBM Villa
SYNOPSIS
vltest write
[-int] [-zc] [-tune lrecmax nidxmax lcnum ncnum] name rnum
vltest read
[-int] name
vltest rdup
[-int] [-zc] [-tune lrecmax nidxmax lcnum ncnum] name rnum pnum
vltest combo
[-zc] name
vltest wicked
[-zc] name rnum
DESCRIPTION
The command `vltest' 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. `rnum' specifies the number of the records.
- vltest write [-int] [-zc] [-tune lrecmax nidxmax lcnum ncnum] name rnum
- Store records with keys of 8 bytes. They change as `00000001', `00000002'...
- vltest read [-int] name
- Retrieve all records of the database above.
- vltest rdup [-int] [-zc] [-tune lrecmax nidxmax lcnum ncnum] name rnum pnum
- Store records with partway duplicated keys using duplicate mode.
- vltest combo [-zc] name
- Perform combination test of various operations.
- vltest wicked [-zc] name rnum
- Perform updating operations selected at random.
Options feature the following.
-int
: treat keys and values as objects of `int', and use comparing function `VL_CMPINT'.
-zc
: compress leaves in the database.
-tune lrecmax nidxmax lcnum ncnum
: 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
AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@users.sourceforge.net>.