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

📄 tchmttest.1

📁 高性能嵌入式数据库在高并发的环境下使用最好是64位系统比较好
💻 1
字号:
.TH "TCHMTTEST" 1 "2008-06-18" "Man Page" "Tokyo Cabinet".SH NAMEtchmttest \- test cases of the hash database API.SH DESCRIPTION.PPThe command `\fBtchmttest\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.  `\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\fBtchmttest write \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\-xm \fInum\fB\fR]\fB \fR[\fB\-nl\fR|\fB\-nb\fR]\fB \fR[\fB\-as\fR]\fB \fR[\fB\-rnd\fR]\fB \fIpath\fB \fItnum\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 keys of 8 bytes.  They change as `00000001', `00000002'....RE.br\fBtchmttest read \fR[\fB\-rc \fInum\fB\fR]\fB \fR[\fB\-xm \fInum\fB\fR]\fB \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\fBtchmttest remove \fR[\fB\-rc \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 \fItnum\fB\fR.RSRemove all records of the database above..RE.br\fBtchmttest wicked \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 \fR[\fB\-nc\fR]\fB \fIpath\fB \fItnum\fB \fIrnum\fB\fR.RSPerform updating operations selected at random..RE.br\fBtchmttest typical \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\-xm \fInum\fB\fR]\fB \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\fIbnum\fB \fR[\fB\fIapow\fB \fR[\fB\fIfpow\fB\fR]\fB\fR]\fB\fR.RSPerform typical operations selected at random..RE.RE.PPOptions feature the following..PP.RS\fB\-tl\fR : enable the option `HDBTLARGE'..br\fB\-td\fR : enable the option `HDBTDEFLATE'..br\fB\-tb\fR : enable the option `HDBTBZIP'..br\fB\-tt\fR : enable the option `HDBTTCBS'..br\fB\-tx\fR : enable the option `HDBTEXCODEC'..br\fB\-rc \fInum\fR\fR : specify the number of cached records..br\fB\-xm \fInum\fR\fR : specify the size of the extra mapped memory..br\fB\-nl\fR : enable the option `HDBNOLCK'..br\fB\-nb\fR : enable the option `HDBLCKNB'..br\fB\-as\fR : use the function `tchdbputasync' instead of `tchdbput'..br\fB\-rnd\fR : select keys at random..br\fB\-wb\fR : use the function `tchdbget3' instead of `tchdbget'..br\fB\-nc\fR : omit the comparison test..br\fB\-rr \fInum\fR\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 tchtest (1),.BR tchmgr (1),.BR tchdb (3),.BR tokyocabinet (3)

⌨️ 快捷键说明

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