1
.TH "KCGRASSTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
4
kcgrasstest \- command line interface to test the cache tree database
8
The command `\fBkcgrasstest\fR' is a utility for facility test and performance test of the cache tree database. This command is used in the following format. `\fIrnum\fR' specifies the number of iterations.
12
\fBkcgrasstest order \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-tran\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
14
Performs in\-order tests.
17
\fBkcgrasstest queue \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-rnd\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
19
Performs queuing operations.
22
\fBkcgrasstest wicked \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
24
Performs mixed operations selected at random.
27
\fBkcgrasstest tran \fR[\fB\-th \fInum\fB\fR]\fB \fR[\fB\-it \fInum\fB\fR]\fB \fR[\fB\-tc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fR[\fB\-psiz \fInum\fB\fR]\fB \fR[\fB\-pccap \fInum\fB\fR]\fB \fR[\fB\-rcd\fR|\fB\-rcld\fR|\fB\-rcdd\fR]\fB \fR[\fB\-lv\fR]\fB \fIrnum\fB\fR
29
Performs test of transaction.
33
Options feature the following.
36
\fB\-th \fInum\fR\fR : specifies the number of worker threads.
38
\fB\-rnd\fR : performs random test.
40
\fB\-etc\fR : performs miscellaneous operations.
42
\fB\-tran\fR : performs transaction.
44
\fB\-tc\fR : tunes the database with the compression option.
46
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
48
\fB\-psiz \fInum\fR\fR : specifies the size of each page.
50
\fB\-pccap \fInum\fR\fR : specifies the capacity size of the page cache.
52
\fB\-rcd\fR : use the decimal comparator instead of the lexical one.
54
\fB\-rcld\fR : use the lexical descending comparator instead of the ascending one.
56
\fB\-rcdd\fR : use the decimal descending comparator instead of the lexical one.
58
\fB\-lv\fR : reports all errors.
60
\fB\-it \fInum\fR\fR : specifies the number of repetition.
64
This command returns 0 on success, another on failure.