📄 tcfmttest.1
字号:
.TH "TCFMTTEST" 1 "2009-02-13" "Man Page" "Tokyo Cabinet".SH NAMEtcfmttest \- test cases of the fixed-length database API.SH DESCRIPTION.PPThe command `\fBtcfmttest\fR' is a utility for facility test under multi\-thread situation. This command is used in the following format. `\fIpath\fR' specifies the path of a database file. `\fItnum\fR' specifies the number of running threads. `\fIrnum\fR' specifies the number of iterations. `\fIwidth\fR' specifies the width of the value of each record. `\fIlimsiz\fR' specifies the limit size of the database file..PP.RS.br\fBtcfmttest write \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB \fItnum\fB \fIrnum\fB \fR[\fB\fIwidth\fB \fR[\fB\fIlimsiz\fB\fR]\fB\fR]\fB\fR.RSStore records with keys of 8 bytes. They change as `00000001', `00000002'....RE.br\fBtcfmttest read \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-wb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB \fItnum\fB\fR.RSRetrieve all records of the database above..RE.br\fBtcfmttest remove \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB \fItnum\fB\fR.RSRemove all records of the database above..RE.br\fBtcfmttest wicked \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-nc\fR]\fB \fIpath\fB \fItnum\fB \fIrnum\fB\fR.RSPerform updating operations selected at random..RE.br\fBtcfmttest typical \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-nc\fR]\fB \fR[\fB\-rr \fInum\fB\fR]\fB \fIpath\fB \fItnum\fB \fIrnum\fB \fR[\fB\fIwidth\fB \fR[\fB\fIlimsiz\fB\fR]\fB\fR]\fB\fR.RSPerform typical operations selected at random..RE.RE.PPOptions feature the following..PP.RS\fB\-nl\fR : enable the option `FDBNOLCK'..br\fB\-nb\fR : enable the option `FDBLCKNB'..br\fB\-rnd\fR : select keys at random..br\fB\-wb\fR : use the function `tcfdbget4' instead of `tcfdbget2'..br\fB\-nc\fR : omit the comparison test..br\fB\-rr\fR \fInum\fR : specifiy the ratio of reading operation by percentage..br.RE.PPThis command returns 0 on success, another on failure..SH SEE ALSO.PP.BR tcftest (1),.BR tcfmgr (1),.BR tcfdb (3),.BR tokyocabinet (3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -