1KCGRASSTEST(1) Kyoto Cabinet KCGRASSTEST(1)
2
3
4
6 kcgrasstest - command line interface to test the cache tree database
7
8
10 The command `kcgrasstest' is a utility for facility test and perfor‐
11 mance test of the cache tree database. This command is used in the
12 following format. `rnum' specifies the number of iterations.
13
14 kcgrasstest order [-th num] [-rnd] [-etc] [-tran] [-tc] [-bnum
15 num] [-psiz num] [-pccap num] [-rcd] [-lv] rnum
16 Performs in-order tests.
17 kcgrasstest queue [-th num] [-it num] [-rnd] [-tc] [-bnum num]
18 [-psiz num] [-pccap num] [-rcd] [-lv] rnum
19 Performs queuing operations.
20 kcgrasstest wicked [-th num] [-it num] [-tc] [-bnum num] [-psiz
21 num] [-pccap num] [-rcd] [-lv] rnum
22 Performs mixed operations selected at random.
23 kcgrasstest tran [-th num] [-it num] [-tc] [-bnum num] [-psiz
24 num] [-pccap num] [-rcd] [-lv] rnum
25 Performs test of transaction.
26
27 Options feature the following.
28
29 -th num : specifies the number of worker threads.
30 -rnd : performs random test.
31 -etc : performs miscellaneous operations.
32 -tran : performs transaction.
33 -tc : tunes the database with the compression option.
34 -bnum num : specifies the number of buckets of the hash table.
35 -psiz num : specifies the size of each page.
36 -pccap num : specifies the capacity size of the page cache.
37 -rcd : use the decimal comparator instead of the lexical one.
38 -lv : reports all errors.
39 -it num : specifies the number of repetition.
40
41 This command returns 0 on success, another on failure.
42
43
44
45Man Page 2010-12-09 KCGRASSTEST(1)