TCTMTTEST(1)
πΈ NAME πΈ
tctmttest β test cases of the table database API π
β¨ DESCRIPTION β¨
hi bestie π«Ά okay so this page comes to you straight out of the Tokyo Cabinet manual, section 1, and it is entirely about tctmttest.
The command tctmttest is a utility for facility test under multi-thread situation. That's the whole vibe: it's a test harness that runs the table database API through its paces while a whole squad of threads is doing the absolute most. π
Before we get to the formats, here's the tea on every placeholder, no cap:
pathβ specifies the path of a database file.tnumβ specifies the number of running threads.rnumβ specifies the number of iterations.bnumβ specifies the number of buckets.apowβ specifies the power of the alignment.fpowβ specifies the power of the free block pool.
This command is used in the following format. π
π¦ write
tctmttest write [-tl] [-td|-tb|-tt|-tx] [-rc num] [-lc num] [-nc
num] [-xm num] [-df num] [-ip] [-is] [-in] [-it] [-if] [-ix]
[-nl|-nb] [-rnd] path tnum rnum [bnum [apow [fpow]]]
Store records with columns "str", "num", "type", and "flag".
π¦ read
tctmttest read [-rc num] [-lc num] [-nc num] [-xm num] [-df num]
[-nl|-nb] [-rnd] path tnum
Retrieve all records of the database above.
π¦ remove
tctmttest remove [-rc num] [-lc num] [-nc num] [-xm num] [-df
num] [-nl|-nb] [-rnd] path tnum
Remove all records of the database above.
π¦ wicked
tctmttest wicked [-tl] [-td|-tb|-tt|-tx] [-nl|-nb] path tnum rnum
Perform updating operations selected at random.
π¦ typical
tctmttest typical [-tl] [-td|-tb|-tt|-tx] [-rc num] [-lc num]
[-nc num] [-xm num] [-df num] [-nl|-nb] [-rr num] path tnum rnum
[bnum [apow [fpow]]
Perform typical operations selected at random.
π Options feature the following π
-tlβ enable the optionTDBTLARGE. π-tdβ enable the optionTDBTDEFLATE.-tbβ enable the optionTDBTBZIP.-ttβ enable the optionTDBTTCBS.-txβ enable the optionTDBTEXCODEC.-rc numβ specify the number of cached records.-lc numβ specify the number of cached leaf pages.-nc numβ specify the number of cached non-leaf pages.-xm numβ specify the size of the extra mapped memory.-df numβ specify the unit step number of auto defragmentation.-ipβ create the number index for the primary key.-isβ create the string index for the column"str".-inβ create the number index for the column"num".-itβ create the string index for the column"type".-ifβ create the token inverted index for the column"flag".-ixβ create the q-gram inverted index for the column"text".-nlβ enable the optionTDBNOLCK.-nbβ enable the optionTDBLCKNB.-rndβ select keys at random. π²-ncβ omit the comparison test.-rr numβ specify the ratio of reading operation by percentage.
not me noticing that-ncshows up twice on this page π β one with anumand one without. I'm not the one who wrote it, I'm just the messenger, and both lines are staying right here. π
This command returns 0 on success, another on failure. β¨
π SEE ALSO π
and that's a wrap, bestie π«Ά this little gem is Man Page, dated 2012-08-18, and it answers to the name TCTMTTEST(1). go forth and multithread responsibly, you absolute icon ππ
πΈ
π¦ where this page comes from
- centos-stream 10: tokyocabinet 1.4.48-30.el10 Β· LGPL-2.1-or-later
- centos-stream 9: tokyocabinet 1.4.48-19.el9 Β· LGPLv2+
- centos-stream 9: tokyocabinet 1.4.48-19.el9 Β· LGPLv2+
- debian bookworm: tokyocabinet-bin 1.4.48-15 Β· LGPL-2.1-or-later
- debian trixie: tokyocabinet-bin 1.4.48-15.1+b1 Β· LGPL-2.1-or-later
- fedora 43: tokyocabinet 1.4.48-28.fc43 Β· LGPL-2.1-or-later
- fedora 43: tokyocabinet 1.4.48-28.fc43 Β· LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 Β· LGPL-2.1-or-later
- fedora 44: tokyocabinet 1.4.48-30.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: tokyocabinet 1.4.48
- nixpkgs unstable: tokyocabinet 1.4.48
- ubuntu jammy: tokyocabinet-bin 1.4.48-14build1 Β· LGPL-2.1-or-later
- ubuntu noble: tokyocabinet-bin 1.4.48-15.1build1 Β· LGPL-2.1-or-later
- ubuntu questing: tokyocabinet-bin 1.4.48-15.1build2
- ubuntu resolute: tokyocabinet-bin 1.4.48-15.1build3 Β· LGPL-2.1-or-later
- ubuntu stonking: tokyocabinet-bin 1.4.48-15.1build3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms