1TCRTEST(1)                       Tokyo Tyrant                       TCRTEST(1)
2
3
4

NAME

6       tcrtest - test cases of the remote database API
7
8

DESCRIPTION

10       The  command  `tcrtest'  is a utility for facility test and performance
11       test.  This command is used in the following format.  `host'  specifies
12       the  host  name  of  the server.  `rnum' specifies the number of itera‐
13       tions.
14
15              tcrtest write [-port num] [-cnum num] [-tout num]  [-nr]  [-rnd]
16              host rnum
17                     Store  records  with  keys  of  8  bytes.  They change as
18                     `00000001', `00000002'...
19              tcrtest read [-port num] [-cnum  num]  [-tout  num]  [-mul  num]
20              [-rnd] host
21                     Retrieve all records of the database above.
22              tcrtest remove [-port num] [-cnum num] [-tout num] [-rnd] host
23                     Remove all records of the database above.
24              tcrtest  rcat  [-port  num]  [-cnum  num] [-tout num] [-shl num]
25              [-dai|-dad] [-ext name] [-xlr|-xlg] host rnum
26                     Store records with partway duplicated keys using concate‐
27                     nate mode.
28              tcrtest misc [-port num] [-cnum num] [-tout num] host rnum
29                     Perform miscellaneous test of various operations.
30              tcrtest wicked [-port num] [-cnum num] [-tout num] host rnum
31                     Perform  updating  operations of list and map selected at
32                     random.
33              tcrtest table [-port num] [-cnum num]  [-tout  num]  [-exp  num]
34              host rnum
35                     Perform miscellaneous test of the table extension.
36
37       Options feature the following.
38
39              -port num : specify the port number.
40              -cnum num : specify the number of connections.
41              -tout num : specify the timeout of each session in seconds.
42              -nr : use the function `tcrdbputnr' instead of `tcrdbput'.
43              -rnd : select keys at random.
44              -mul num : specify the number of records for the mget command.
45              -shl num : use `tcrdbputshl' and specify the width.
46              -dai : use `tcrdbaddint' instead of `tcrdbputcat'.
47              -dad : use `tcrdbadddouble' instead of `tcrdbputcat'.
48              -ext name : call a script language extension function.
49              -xlr : perform record locking.
50              -xlg : perform global locking.
51              -exp num : specify the lifetime of expiration test.
52
53       If  the  port number is not more than 0, UNIX domain socket is used and
54       the path of the socket file is specified by the host  parameter.   This
55       command returns 0 on success, another on failure.
56
57

SEE ALSO

59       ttserver(1),    ttultest(1),   ttulmgr(1),   tcrmttest(1),   tcrmgr(1),
60       ttutil(3), tcrdb(3)
61
62
63
64Man Page                          2010-01-20                        TCRTEST(1)
Impressum