1KCTREETEST(1)                    Kyoto Cabinet                   KCTREETEST(1)
2
3
4

NAME

6       kctreetest - command line interface to test the file tree database
7
8

DESCRIPTION

10       The command `kctreetest' is a utility for facility test and performance
11       test of the file tree database.  This command is used in the  following
12       format.   `path'  specifies the path of a database file.  `rnum' speci‐
13       fies the number of iterations.
14
15              kctreetest order [-th  num]  [-rnd]  [-set|-get|-getw|-rem|-etc]
16              [-tran] [-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num] [-ts]
17              [-tl] [-tc] [-bnum num] [-psiz num] [-msiz  num]  [-dfunit  num]
18              [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
19                     Performs in-order tests.
20              kctreetest     queue     [-th     num]    [-it    num]    [-rnd]
21              [-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num]  [-ts]  [-tl]
22              [-tc]  [-bnum num] [-psiz num] [-msiz num] [-dfunit num] [-pccap
23              num] [-rcd|-rcld|-rcdd] [-lv] path rnum
24                     Performs queuing operations.
25              kctreetest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
26              [-apow  num]  [-fpow  num]  [-ts] [-tl] [-tc] [-bnum num] [-psiz
27              num] [-msiz num] [-dfunit num] [-pccap  num]  [-rcd|-rcld|-rcdd]
28              [-lv] path rnum
29                     Performs mixed operations selected at random.
30              kctreetest     tran     [-th     num]    [-it    num]    [-hard]
31              [-oat|-onl|-onl|-otl|-onr] [-apow num] [-fpow num]  [-ts]  [-tl]
32              [-tc]  [-bnum num] [-psiz num] [-msiz num] [-dfunit num] [-pccap
33              num] [-rcd|-rcld|-rcdd] [-lv] path rnum
34                     Performs test of transaction.
35
36       Options feature the following.
37
38              -th num : specifies the number of worker threads.
39              -rnd : performs random test.
40              -set : performs setting operation only.
41              -get : performs getting operation only.
42              -getw : performs getting with a buffer operation only.
43              -rem : performs removing operation only.
44              -etc : performs miscellaneous operations.
45              -tran : performs transaction.
46              -oat : opens the database with the auto transaction option.
47              -oas : opens the database with the auto synchronization option.
48              -onl : opens the database with the no locking option.
49              -otl : opens the database with the try locking option.
50              -onr : opens the database with the no auto repair option.
51              -apow num : specifies the power of the alignment of record size.
52              -fpow num : specifies the power of  the  capacity  of  the  free
53              block pool.
54              -ts : tunes the database with the small option.
55              -tl : tunes the database with the linear option.
56              -tc : tunes the database with the compression option.
57              -bnum num : specifies the number of buckets of the hash table.
58              -psiz num : specifies the size of each page.
59              -msiz num : specifies the size of the memory-mapped region.
60              -dfunit  num : specifies the unit step number of auto defragmen‐
61              tation.
62              -pccap num : specifies the capacity size of the page cache.
63              -rcd : use the decimal comparator instead of the lexical one.
64              -rcld : use the lexical descending  comparator  instead  of  the
65              ascending one.
66              -rcdd  :  use  the  decimal descending comparator instead of the
67              lexical one.
68              -lv : reports all errors.
69              -it num : specifies the number of repetition.
70              -hard : performs physical synchronization.
71
72       This command returns 0 on success, another on failure.
73
74

SEE ALSO

76       kctreemgr(1)
77
78
79
80Man Page                          2012-05-24                     KCTREETEST(1)
Impressum