table of contents
other versions
- jessie 0.9.56-1
KTTIMEDMGR(1) | Kyoto Tycoon | KTTIMEDMGR(1) |
NAME¶
kttimedmgr - command line interface to manage the timed databaseDESCRIPTION¶
The command ` kttimedmgr' is a utility for test and debugging of the timed database and its applications. ` path' specifies the path of a database file. ` key' specifies the key of a record. `value' specifies the value of a record. ` file' specifies the input/output file. ` dir' specifies the input/output directory. `src' specifies other database files.Creates a database file.
Prints status information.
Stores a record.
Removes a record.
Prints the value of a record.
Prints keys of all records, separated by line
feeds.
Removes all records of a database.
Imports records from a TSV file.
Copies the whole database.
Dumps records into a snapshot file.
Loads records from a snapshot file.
Eliminates regions of expired records.
Recover the database with update log data.
Merge records from other databases.
Checks consistency.
Prints status information of background snapshot
files.
-otr : opens the database with the truncation
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.
-ulog str : specifies the update log directory.
-ulim num : specifies the limit size of each update log file.
-sid num : specifies the server ID number.
-dbid num : specifies the database ID number.
-st : prints miscellaneous information.
-add : performs adding operation.
-app : performs appending operation.
-rep : performs replacing operation.
-inci : performs integer increment operation.
-incd : performs real number increment operation.
-sx : the input data is evaluated as a hexadecimal data string.
-xt num : specifies the expiration time.
-rm : removes the record.
-px : the output data is converted into a hexadecimal data string.
-pt : prints the expiration time also.
-pz : does not append line feed at the end of the output.
-des : visits records in descending order.
-max num : specifies the maximum number of shown records.
-pv : prints values of records also.
-ts num : specifies the maximum time stamp of already read logs.
"now" means the current time stamp.
This command returns 0 on success, another on failure.
SEE ALSO¶
kttimedtest(1)2012-05-25 | Man Page |