1KCDIRTEST(1) Kyoto Cabinet KCDIRTEST(1)
2
3
4
6 kcdirtest - command line interface to test the directory hash database
7
8
10 The command `kcdirtest' is a utility for facility test and performance
11 test of the directory hash database. This command is used in the fol‐
12 lowing format. `path' specifies the path of a database file. `rnum'
13 specifies the number of iterations.
14
15 kcdirtest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
16 [-tran] [-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
17 Performs in-order tests.
18 kcdirtest queue [-th num] [-it num] [-rnd]
19 [-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
20 Performs queuing operations.
21 kcdirtest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
22 [-tc] [-lv] path rnum
23 Performs mixed operations selected at random.
24 kcdirtest tran [-th num] [-it num] [-hard]
25 [-oat|-onl|-onl|-otl|-onr] [-tc] [-lv] path rnum
26 Performs test of transaction.
27
28 Options feature the following.
29
30 -th num : specifies the number of worker threads.
31 -rnd : performs random test.
32 -set : performs setting operation only.
33 -get : performs getting operation only.
34 -getw : performs getting with a buffer operation only.
35 -rem : performs removing operation only.
36 -etc : performs miscellaneous operations.
37 -tran : performs transaction.
38 -oat : opens the database with the auto transaction option.
39 -oas : opens the database with the auto synchronization option.
40 -onl : opens the database with the no locking option.
41 -otl : opens the database with the try locking option.
42 -onr : opens the database with the no auto repair option.
43 -tc : tunes the database with the compression option.
44 -lv : reports all errors.
45 -it num : specifies the number of repetition.
46 -hard : performs physical synchronization.
47
48 This command returns 0 on success, another on failure.
49
50
52 kcdirmgr(1)
53
54
55
56Man Page 2010-12-09 KCDIRTEST(1)