NAME
qkeys - Build a Database.key file from the Database file in the RelationDirectory.
SYNOPSIS
qkeys RelationDirectory
DESCRIPTION
This program is part of the procedure necessary to stabilize a qddb database. Given a Database file in a directory RelationDirectory, qkeys builds a file called Database.keys that is used as an index into the Database file that describes the byte offset and length of each tuple in the database. The purpose of this file is to prevent the parsing of the entire database by programs that need to access every entry.
DIAGNOSTICS
qkeys exits with a 0 status on success, 1 otherwise.
BUGS
qkeys expects the Database file to contain tuples separated by a blank (newline terminated) line. Programmers wishing to build new interfaces, either front or back ends to qddb, must remember this restriction.
REFERENCES
A Guide to QDDB
Eric H. Herrin II and Raphael A. Finkel
Qddb User's Guide
An ASCII Database for Fast Queries of Relatively Stable Data Eric H. Herrin II and Raphael A. Finkel Computing Systems, Volume 4 Number 2
University of California Press, Berkeley CA
Schema and Tuple Trees: An Intuitive Structure for Representing Relational Data
Eric H. Herrin, II and Raphael A. Finkel Computing Systems, Volume 9, Number 2
MIT Press, Cambridge MA