GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TCQTEST(1) Tokyo Dystopia TCQTEST(1)

tcqtest - test cases of the q-gram database API

The command `tcqtest' is a utility for facility test and performance test of the q-gram database API. This command is used in the following format. `path' specifies the path of a database directory. `rnum' specifies the number of iterations.


tcqtest write [-tl] [-td|-tb|-tt] [-et num] [-ic num] [-nl|-nb] [-la num] [-en] [-rc] [-ra] [-rs] path rnum
Store records with random texts.

tcqtest read [-nl|-nb] [-la num] [-lm num] [-en] [-rc] [-ra] [-rs] [-sp|-ss|-sf] path rnum
Search for records with random texts.

tcqtest wicked [-tl] [-td|-tb|-tt] [-et num] [-ic num] [-nl|-nb] [-la num] [-en] [-rc] [-ra] [-rs] path rnum
Perform updating operations selected at random.

Options feature the following.

-tl : enable the option `QDBTLARGE'.
-td : enable the option `QDBTDEFLATE'.
-tb : enable the option `QDBTBZIP'.
-tt : enable the option `QDBTTCBS'.
-et num : specify the expected number of tokens.
-ic num : specify the capacity size of the token cache.
-nl : enable the option `QDBNOLCK'.
-nb : enable the option `QDBLCKNB'.
-la num : specify the average length of each records.
-lm num : specify the minimum length of each records.
-en : use English-like text.
-rc : do not normalize character cases.
-ra : do not normalize characters with accent marks.
-rs : do not normalize white-space characters.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.

This command returns 0 on success, another on failure.

tcqmgr(1), tcqdb(3)
2010-08-05 Man Page

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.