1KCFORESTTEST(1) Kyoto Cabinet KCFORESTTEST(1)
2
3
4
6 kcforesttest - command line interface to test the directory tree data‐
7 base
8
9
11 The command `kcforesttest' is a utility for facility test and perfor‐
12 mance test of the directory tree database. This command is used in the
13 following format. `path' specifies the path of a database file.
14 `rnum' specifies the number of iterations.
15
16 kcforesttest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
17 [-tran] [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num]
18 [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
19 Performs in-order tests.
20 kcforesttest queue [-th num] [-it num] [-rnd]
21 [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap
22 num] [-rcd|-rcld|-rcdd] [-lv] path rnum
23 Performs queuing operations.
24 kcforesttest wicked [-th num] [-it num]
25 [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap
26 num] [-rcd|-rcld|-rcdd] [-lv] path rnum
27 Performs mixed operations selected at random.
28 kcforesttest tran [-th num] [-it num] [-hard]
29 [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap
30 num] [-rcd|-rcld|-rcdd] [-lv] path rnum
31 Performs test of transaction.
32
33 Options feature the following.
34
35 -th num : specifies the number of worker threads.
36 -rnd : performs random test.
37 -set : performs setting operation only.
38 -get : performs getting operation only.
39 -getw : performs getting with a buffer operation only.
40 -rem : performs removing operation only.
41 -etc : performs miscellaneous operations.
42 -tran : performs transaction.
43 -oat : opens the database with the auto transaction option.
44 -oas : opens the database with the auto synchronization option.
45 -onl : opens the database with the no locking option.
46 -otl : opens the database with the try locking option.
47 -onr : opens the database with the no auto repair option.
48 -tc : tunes the database with the compression option.
49 -bnum num : specifies the number of buckets of the hash table.
50 -psiz num : specifies the size of each page.
51 -pccap num : specifies the capacity size of the page cache.
52 -rcd : use the decimal comparator instead of the lexical one.
53 -rcld : use the lexical descending comparator instead of the
54 ascending one.
55 -rcdd : use the decimal descending comparator instead of the
56 lexical one.
57 -lv : reports all errors.
58 -it num : specifies the number of repetition.
59 -hard : performs physical synchronization.
60
61 This command returns 0 on success, another on failure.
62
63
65 kcforestmgr(1)
66
67
68
69Man Page 2012-05-24 KCFORESTTEST(1)