⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcttest.1

📁 Tokyo Cabinet的Tokyo Cabinet 是一个DBM的实现。这里的数据库由一系列key-value对的记录构成。key和value都可以是任意长度的字节序列,既可以是二进制也可以是字符
💻 1
字号:
.TH "TCTTEST" 1 "2009-02-13" "Man Page" "Tokyo Cabinet".SH NAMEtcttest \- test cases of the table database API.SH DESCRIPTION.PPThe command `\fBtcttest\fR' is a utility for facility test and performance test.  This command is used in the following format.  `\fIpath\fR' specifies the path of a database file.  `\fIrnum\fR' specifies the number of iterations.  `\fIbnum\fR' specifies the number of buckets.  `\fIapow\fR' specifies the power of the alignment.  `\fIfpow\fR' specifies the power of the free block pool..PP.RS.br\fBtcttest write \fR[\fB\-mt\fR]\fB \fR[\fB\-tl\fR]\fB \fR[\fB\-td\fR|\fB\-tb\fR|\fB\-tt\fR|\fB\-tx\fR]\fB \fR[\fB\-rc \fInum\fB\fR]\fB \fR[\fB\-lc \fInum\fB\fR]\fB \fR[\fB\-nc \fInum\fB\fR]\fB \fR[\fB\-xm \fInum\fB\fR]\fB \fR[\fB\-ip\fR]\fB \fR[\fB\-is\fR]\fB \fR[\fB\-in\fR]\fB \fR[\fB\-it\fR]\fB \fR[\fB\-if\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB \fIrnum\fB \fR[\fB\fIbnum\fB \fR[\fB\fIapow\fB \fR[\fB\fIfpow\fB\fR]\fB\fR]\fB\fR]\fB\fR.RSStore records with columns "str", "num", "type", and "flag"..RE.br\fBtcttest read \fR[\fB\-mt\fR]\fB \fR[\fB\-rc \fInum\fB\fR]\fB \fR[\fB\-lc \fInum\fB\fR]\fB \fR[\fB\-nc \fInum\fB\fR]\fB \fR[\fB\-xm \fInum\fB\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB\fR.RSRetrieve all records of the database above..RE.br\fBtcttest remove \fR[\fB\-mt\fR]\fB \fR[\fB\-rc \fInum\fB\fR]\fB \fR[\fB\-lc \fInum\fB\fR]\fB \fR[\fB\-nc \fInum\fB\fR]\fB \fR[\fB\-xm \fInum\fB\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB\fR.RSRemove all records of the database above..RE.br\fBtcttest rcat \fR[\fB\-mt\fR]\fB \fR[\fB\-tl\fR]\fB \fR[\fB\-td\fR|\fB\-tb\fR|\fB\-tt\fR|\fB\-tx\fR]\fB \fR[\fB\-rc \fInum\fB\fR]\fB \fR[\fB\-lc \fInum\fB\fR]\fB \fR[\fB\-nc \fInum\fB\fR]\fB \fR[\fB\-xm \fInum\fB\fR]\fB \fR[\fB\-ip\fR]\fB \fR[\fB\-is\fR]\fB \fR[\fB\-in\fR]\fB \fR[\fB\-it\fR]\fB \fR[\fB\-if\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-pn \fInum\fB\fR]\fB \fR[\fB\-dai\fR|\fB\-dad\fR|\fB\-rl\fR|\fB\-ru\fR]\fB \fIpath\fB \fIrnum\fB \fR[\fB\fIbnum\fB \fR[\fB\fIapow\fB \fR[\fB\fIfpow\fB\fR]\fB\fR]\fB\fR]\fB\fR.RSStore records with partway duplicated keys using concatenate mode..RE.br\fBtcttest misc \fR[\fB\-mt\fR]\fB \fR[\fB\-tl\fR]\fB \fR[\fB\-td\fR|\fB\-tb\fR|\fB\-tt\fR|\fB\-tx\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fIpath\fB \fIrnum\fB\fR.RSPerform miscellaneous test of various operations..RE.br\fBtcttest wicked \fR[\fB\-mt\fR]\fB \fR[\fB\-tl\fR]\fB \fR[\fB\-td\fR|\fB\-tb\fR|\fB\-tt\fR|\fB\-tx\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fIpath\fB \fIrnum\fB\fR.RSPerform updating operations selected at random..RE.RE.PPOptions feature the following..PP.RS\fB\-mt\fR : call the function `tctdbsetmutex'..br\fB\-tl\fR : enable the option `TDBTLARGE'..br\fB\-td\fR : enable the option `TDBTDEFLATE'..br\fB\-tb\fR : enable the option `TDBTBZIP'..br\fB\-tt\fR : enable the option `TDBTTCBS'..br\fB\-tx\fR : enable the option `TDBTEXCODEC'..br\fB\-rc \fInum\fR\fR : specify the number of cached records..br\fB\-lc \fInum\fR\fR : specify the number of cached leaf pages..br\fB\-nc \fInum\fR\fR : specify the number of cached non\-leaf pages..br\fB\-xm \fInum\fR\fR : specify the size of the extra mapped memory..br\fB\-ip\fR : create the number index for the primary key..br\fB\-is\fR : create the string index for the column "str"..br\fB\-in\fR : create the number index for the column "num"..br\fB\-it\fR : create the string index for the column "type"..br\fB\-if\fR : create the string index for the column "flag"..br\fB\-nl\fR : enable the option `TDBNOLCK'..br\fB\-nb\fR : enable the option `TDBLCKNB'..br\fB\-rnd\fR : select keys at random..br\fB\-pn \fInum\fR\fR : specify the number of patterns..br\fB\-dai\fR : use the function `tctdbaddint' instead of `tctdbputcat'..br\fB\-dad\fR : use the function `tctdbadddouble' instead of `tctdbputcat'..br\fB\-rl\fR : set the length of values at random..br\fB\-ru\fR : select update operations at random..br.RE.PPThis command returns 0 on success, another on failure..SH SEE ALSO.PP.BR tctmttest (1),.BR tctmgr (1),.BR tctdb (3),.BR tokyocabinet (3)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -