1VLTEST(1) Quick Database Manager VLTEST(1)
2
3
4
6 vltest - test cases for QDBM Villa
7
8
10 vltest write [-int] [-cz|-cy|-cx] [-tune lrecmax nidxmax lcnum ncnum]
11 [-fbp num] name rnum
12 vltest read [-int] name
13 vltest rdup [-int] [-cz|-cy|-cx] [-cc] [-tune lrecmax nidxmax lcnum
14 ncnum] [-fbp num] name rnum pnum
15 vltest combo [-cz|-cy|-cx] name
16 vltest wicked [-c] [-cz|-cy|-cx] name rnum
17
18
20 The command `vltest' is a utility for facility test and performance
21 test. Check a database generated by the command or measure the execu‐
22 tion time of the command. This command is used in the following for‐
23 mat. `name' specifies a database name. `rnum' specifies the number of
24 the records.
25
26 vltest write [-int] [-cz|-cy|-cx] [-tune lrecmax nidxmax lcnum ncnum]
27 [-fbp num] name rnum
28 Store records with keys of 8 bytes. They change as `00000001',
29 `00000002'...
30
31 vltest read [-int] [-vc] name
32 Retrieve all records of the database above.
33
34 vltest rdup [-int] [-cz|-cy|-cx] [-cc] [-tune lrecmax nidxmax lcnum
35 ncnum] [-fbp num] name rnum pnum
36 Store records with partway duplicated keys using duplicate mode.
37
38 vltest combo [-cz|-cy|-cx] name
39 Perform combination test of various operations.
40
41 vltest wicked [-c] [-cz|-cy|-cx] name rnum
42 Perform updating operations selected at random.
43
44 Options feature the following.
45
46 -int : treat keys and values as objects of `int', and use com‐
47 paring function `VL_CMPINT'.
48 -cz : compress leaves in the database with ZLIB.
49 -cy : compress leaves in the database with LZO.
50 -cx : compress leaves in the database with BZIP2.
51 -vc : refer to volatile cache.
52 -cc : select `VL_DCAT' or `VL_DDUP' at random.
53 -tune lrecmax nidxmax lcnum ncnum : set tuning parameters.
54 -fbp num : set the size of the free block pool.
55 -c : perform comparison test with map of Cabin.
56
57 This command returns 0 on success, another on failure. The environment
58 variable `QDBMDBGFD' specifies the file descriptor to output the his‐
59 tory of updating the variable `dpecode'.
60
61
63 qdbm(3), villa(3)
64
65
67 QDBM was written by Mikio Hirabayashi <mikio@users.sourceforge.net>.
68
69
70
71Man Page 2005-06-01 VLTEST(1)