TCRTEST(1)
π NAME π
Okay bestie, welcome to TCRTEST(1) from Tokyo Tyrant π«Ά β tcrtest is literally test cases of the remote database API. Thatβs the name-section tea, and it ate π
.
β¨ DESCRIPTION β¨
The command tcrtest is a utility for facility test and performance test. Itβs used in the following format, and we are keeping every command line exactly as written. host specifies the host name of the server. rnum specifies the number of iterations. No cap, every detail is staying π.
tcrtest write
tcrtest write [-port num] [-cnum num] [-tout num] [-nr] [-rnd]
host rnum
Store records with keys of 8 bytes. They change as `00000001', `00000002'...
tcrtest read
tcrtest read [-port num] [-cnum num] [-tout num] [-mul num]
[-rnd] host
Retrieve all records of the database above.
tcrtest remove
tcrtest remove [-port num] [-cnum num] [-tout num] [-rnd] host
Remove all records of the database above.
tcrtest rcat
tcrtest rcat [-port num] [-cnum num] [-tout num] [-shl num]
[-dai|-dad] [-ext name] [-xlr|-xlg] host rnum
Store records with partway duplicated keys using concatenate mode.
tcrtest misc
tcrtest misc [-port num] [-cnum num] [-tout num] host rnum
Perform miscellaneous test of various operations.
tcrtest wicked
tcrtest wicked [-port num] [-cnum num] [-tout num] host rnum
Perform updating operations of list and map selected at random.
tcrtest table
tcrtest table [-port num] [-cnum num] [-tout num] [-exp num] host
rnum
Perform miscellaneous test of the table extension.
Options are featuring the following, bestie π :
-port numβ specify the port number.-cnum numβ specify the number of connections.-tout numβ specify the timeout of each session in seconds.-nrβ use the functiontcrdbputnrinstead oftcrdbput.-rndβ select keys at random.-mul numβ specify the number of records for themgetcommand.-shl numβ usetcrdbputshland specify the width.-daiβ usetcrdbaddintinstead oftcrdbputcat.-dadβ usetcrdbadddoubleinstead oftcrdbputcat.-ext nameβ call a script language extension function.-xlrβ perform record locking.-xlgβ perform global locking.-exp numβ specify the lifetime of expiration test.
If the port number is not more than 0, UNIX domain socket is used and the path of the socket file is specified by the host parameter. This command returns 0 on success, another on failure π.
π¦ SEE ALSO π¦
Go give these their flowers too: ttserver(1), ttultest(1), ttulmgr(1), tcrmttest(1), tcrmgr(1), ttutil(3), tcrdb(3) π.
Catch you later, bestie β this page is from the Tokyo Tyrant Man Page set, dated 2010-08-05, and signed off with maximum sparkle πβ¨π«Ά
π¦ where this page comes from
- nixos 26.05: tokyotyrant 1.1.41
- nixpkgs unstable: tokyotyrant 1.1.41
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms