1KCPOLYTEST(1) Kyoto Cabinet KCPOLYTEST(1)
2
3
4
6 kcpolytest - command line interface to test the polymorphic database
7
8
10 The command `kcpolytest' is a utility for facility test and performance
11 test of the polymorphic database. This command is used in the follow‐
12 ing format. `path' specifies the path of a database file. `rnum'
13 specifies the number of iterations.
14
15 kcpolytest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
16 [-tran] [-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
17 Performs in-order tests.
18 kcpolytest queue [-th num] [-it num] [-rnd]
19 [-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
20 Performs queuing operations.
21 kcpolytest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
22 [-lv] path rnum
23 Performs mixed operations selected at random.
24 kcpolytest tran [-th num] [-it num] [-hard]
25 [-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
26 Performs test of transaction.
27 kcpolytest mapred [-rnd] [-oat|-onl|-onl|-otl|-onr] [-lv] [-tmp
28 str] [-dbnum num] [-clim num] [-cbnum num] [-xnl] [-xnc] path
29 rnum
30 Performs MapReduce operations.
31 kcpolytest misc path
32 Performs miscellaneous tests.
33
34 Options feature the following.
35
36 -th num : specifies the number of worker threads.
37 -rnd : performs random test.
38 -set : performs setting operation only.
39 -get : performs getting operation only.
40 -getw : performs getting with a buffer operation only.
41 -rem : performs removing operation only.
42 -etc : performs miscellaneous operations.
43 -tran : performs transaction.
44 -oat : opens the database with the auto transaction option.
45 -oas : opens the database with the auto synchronization option.
46 -onl : opens the database with the no locking option.
47 -otl : opens the database with the try locking option.
48 -onr : opens the database with the no auto repair option.
49 -lv : reports all errors.
50 -it num : specifies the number of repetition.
51 -hard : performs physical synchronization.
52 -tmp str : specifies the path of a directory for temporary stor‐
53 age.
54 -dbnum num : specifies the number of temporary databases.
55 -clim num : specifies the limit size of cache memory.
56 -cbnum num : specifies the bucket number of cache memory.
57 -xnl : executes with the no locking option.
58 -xnc : executes with the no compression option.
59
60 This command returns 0 on success, another on failure.
61
62
64 kcpolymgr(1), kclangctest(1)
65
66
67
68Man Page 2010-12-09 KCPOLYTEST(1)