TCAMTTEST(1)
β¨ TCAMTTEST β bestie's guide to the abstract database API test π
okay so this lil page lives in the Tokyo Cabinet manual, section 1 (that's the "commands you actually run in a shell" section, iykyk). sit down, grab a boba, we're testing an abstract database API π«Ά
πΈ NAME πΈ
tcamttest β the test cases for the abstract database API, no cap.
π DESCRIPTION π
so tcamttest is a utility for facility test under multi-thread situation β¨ like, it's the little stress-test goblin that throws a bunch of threads at your database and sees if everything holds up. iconic behaviour honestly.
you run it in the following formats. three little things to know before we go:
nameβ specifies the database name πtnumβ specifies the number of running threads π§΅rnumβ specifies the number of iterations π
and here's the actual menu of modes, one bullet per vibe:
tcamttest write name tnum rnumβ store records with keys of 8 bytes π and the way those keys behave is they change as00000001,00000002... so yeah, counting upward, cute lil sequence, obsessed.tcamttest read name tnumβ retrieve all the records of the database above πtcamttest remove name tnumβ remove all the records of the database above π gone, deleted, periodt.
heads up bestie: this command returns0on success, and another value on failure π so like, if you get a0you ate, and if you get literally anything else, something's wrong and you should go check.
tcamttest write name tnum rnum
tcamttest read name tnum
tcamttest remove name tnum
π¦ SEE ALSO π¦
go read these next, fr fr:
kisses, this page was served up fresh on 2012-08-18 by the Tokyo Cabinet crew πβ¨ slay, go run your tests π
π¦ 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