KCFORESTTEST(1)

πŸ’– NAME πŸ’–

okay so bestie, meet kcforesttest β€” the command line interface to test the directory tree database. she's manual page one, section one, and she is here to stress-test your database and report back. πŸ’…


🌸 DESCRIPTION 🌸

kcforesttest is a utility for facility test and performance test of the directory tree database. literally her whole job. πŸ”₯

you call her like this: path is the path of a database file, and rnum is the number of iterations. so like, how many times do we go around the block. got it? got it. ✨

here are the four modes she serves, and yes you're picking one:

kcforesttest order [-th num] [-rnd] [-set|-get|-getw|-rem|-etc] [-tran] [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
  • Performs in-order tests. β€” she goes through it all in order, no chaos, very demure.
kcforesttest queue [-th num] [-it num] [-rnd] [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
  • Performs queuing operations. β€” queue behavior, first in first out energy. πŸŽ€
kcforesttest wicked [-th num] [-it num] [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
  • Performs mixed operations selected at random. β€” pure chaos mode, she picks operations at random and honestly? iconic. πŸ¦‹
kcforesttest tran [-th num] [-it num] [-hard] [-oat|-onl|-onl|-otl|-onr] [-tc] [-bnum num] [-psiz num] [-pccap num] [-rcd|-rcld|-rcdd] [-lv] path rnum
  • Performs test of transaction. β€” transaction testing, the serious one. periodt. πŸ‘‘

✨ OPTIONS ✨

okay the options, bestie, she has so many. take a sip of water. πŸ“

  • -th num β€” specifies the number of worker threads. bring friends! πŸ‘―
  • -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. the grab bag. πŸ™ˆ
  • -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.
  • -tc β€” tunes the database with the compression option.
  • -bnum num β€” specifies the number of buckets of the hash table.
  • -psiz num β€” specifies the size of each page.
  • -pccap num β€” specifies the capacity size of the page cache.
  • -rcd β€” use the decimal comparator instead of the lexical one.
  • -rcld β€” use the lexical descending comparator instead of the ascending one.
  • -rcdd β€” use the decimal descending comparator instead of the lexical one.
  • -lv β€” reports all errors. she tells you EVERYTHING, no secrets. πŸ’€
  • -it num β€” specifies the number of repetition.
  • -hard β€” performs physical synchronization.
heads up: the synopsis lines spell out -oat|-onl|-onl|-otl|-onr exactly like that, so yeah, -onl shows up twice in there. copying the queen verbatim, not my business. πŸ’–

🫢 EXIT STATUS 🫢

This command returns 0 on success, another on failure. so 0 = slay, anything else = not slay. 🌈


πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, bestie!! this one's from Kyoto Cabinet, dated 2012-05-24, and it lives in the manual as KCFORESTTEST(1). go forth and test that directory tree database, you absolute main character. πŸ’œβœ¨