KCPOLYTEST(1)
β¨ NAME β¨
kcpolytest β the command line interface to test the polymorphic database π
πΈ DESCRIPTION πΈ
okay bestie, gather round π«Ά kcpolytest is the little utility you use for facility testing and performance testing of the polymorphic database. it's giving "i stress-test databases for fun" and honestly? iconic behavior. π
you call it in the formats below, and here's the tea you need first: path specifies the path of a database file, and rnum specifies the number of iterations. every single mode wants those two, so keep them in your pocket π
π the formats π
order β performs in-order tests β¨
kcpolytest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc]
[-tran] [-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
queue β performs queuing operations π§
kcpolytest queue [-th num] [-it num] [-rnd]
[-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
wicked β performs mixed operations selected at random π (yes that's the real name, and yes it's the fun one)
kcpolytest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr]
[-lv] path rnum
tran β performs test of transaction πΈ
kcpolytest tran [-th num] [-it num] [-hard]
[-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
mapred β performs MapReduce operations π
kcpolytest mapred [-rnd] [-ru] [-oat|-onl|-onl|-otl|-onr] [-lv]
[-tmp str] [-dbnum num] [-clim num] [-cbnum num] [-xnl] [-xpm]
[-xpr] [-xpf] [-xnc] path rnum
index β performs indexing operations π
kcpolytest index [-th num] [-rnd] [-set|-get|-rem|-etc] [-tran]
[-oat|-onl|-onl|-otl|-onr] [-lv] path rnum
misc β performs miscellaneous tests π (no rnum here bestie, just the path, that's the whole vibe)
kcpolytest misc path
not me pointing out that the synopsis literally writes -onl twice in the option group β that is character-for-character what the page says, i'm not fixing it, i'm just the messenger π
π the options π
options feature the following, so let's go through every single one, no skips, no cap:
-th numβ specifies the number of worker threads π§΅-rndβ performs random test π²-setβ performs setting operation only-getβ performs getting operation only-getwβ performs getting with a buffer operation only-remβ performs removing operation only-etcβ performs miscellaneous operations-tranβ performs transaction-oatβ opens the database with the auto transaction option-oasβ opens the database with the auto synchronization option-onlβ opens the database with the no locking option-otlβ opens the database with the try locking option-onrβ opens the database with the no auto repair option-lvβ reports all errors π’-it numβ specifies the number of repetition-hardβ performs physical synchronization-ruβ reuses the existing database β»οΈ-tmp strβ specifies the path of a directory for temporary storage-dbnum numβ specifies the number of temporary databases-clim numβ specifies the limit size of cache memory-cbnum numβ specifies the bucket number of cache memory-xnlβ executes with the no locking option-xpmβ executes with the parallel mapper option-xprβ executes with the parallel reducer option-xpfβ executes with the parallel flusher option-xncβ executes with the no compression option
β exit status β
this command returns 0 on success, and another value on failure π so bestie, check that return code, it's literally the whole plot twist.
π SEE ALSO π
mwah π this page came straight out of the <strong>Kyoto Cabinet</strong> manual, dated <strong>2012-05-24</strong>, and it's the one and only <strong>KCPOLYTEST(1)</strong>. go forth and test your polymorphic database, you gorgeous nerd π¦β¨
π¦ where this page comes from
- alpine 3.24: kyotocabinet-doc 1.2.80-r1 Β· GPL-3.0-or-later
- arch rolling: kyotocabinet 1.2.80-2 Β· GPL-3.0-or-later
- debian bookworm: kyotocabinet-utils 1.2.79-2+b1
- debian trixie: kyotocabinet-utils 1.2.80-2+b1
- fedora 43: kyotocabinet 1.2.80-8.fc43 Β· GPL-3.0-only
- fedora 44: kyotocabinet 1.2.80-9.fc44 Β· GPL-3.0-only
- nixos 26.05: kyotocabinet 1.2.80
- nixpkgs unstable: kyotocabinet 1.2.80
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- opensuse-leap 16.0: kyotocabinet 1.2.80-160000.2.2 Β· SUSE-GPL-3.0-with-FLOSS-exception
- ubuntu jammy: kyotocabinet-utils 1.2.79-1
- ubuntu noble: kyotocabinet-utils 1.2.80-1build1
- ubuntu questing: kyotocabinet-utils 1.2.80-2
- ubuntu resolute: kyotocabinet-utils 1.2.80-2build1
- ubuntu stonking: kyotocabinet-utils 1.2.80-2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms