---
name: "tcatest"
section: "1"
platform: "linux"
package: "tokyocabinet-bin"
version: "1.4.48-15.1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tcatest"
---

# tcatest(1)

test cases of the abstract database API

## NAME

tcatest - test cases of the abstract database API

## DESCRIPTION

The command \`**tcatest**' is a utility for facility test and performance test.  This command is used in the following format.  \`*name*' specifies the database name.  \`*rnum*' specifies the number of iterations.  \`*tnum*' specifies the number of transactions.

**tcatest write** *name* *rnum*

Store records with keys of 8 bytes.  They change as \`00000001', \`00000002'...

**tcatest read** *name*

Retrieve all records of the database above.

**tcatest remove** *name*

Remove all records of the database above.

**tcatest rcat** *name* *rnum*

Store records with partway duplicated keys using concatenate mode.

**tcatest misc** *name* *rnum*

Perform miscellaneous test of various operations.

**tcatest wicked** *name* *rnum*

Perform updating operations of list and map selected at random.

**tcatest compare** *name* *tnum* *rnum*

Perform comparison test of database schema.

This command returns 0 on success, another on failure.

## SEE ALSO

[**tcamttest**(1)](/tcamttest/1.md), [**tcamgr**(1)](/tcamgr/1.md), [**tcadb**(3)](/tcadb/3.md), [**tokyocabinet**(3)](/tokyocabinet/3.md)
