URL: http://www.firstbasesoftware.com/man/man1/dbpack.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]


NAME

dbpack - remove deleted records from a FirstBase database

SYNOPSIS

dbpack [-b] [-y] database [database ...]

DESCRIPTION

Dbpack squeezes out all deleted records from a FirstBase database, leaving only the pure, 'packed' database. The packing is done in place.

The -b flag will run the FirstBase tool in batch mode, suitable for shell scripts. This mode produces no output on the terminal, thus can also be used when running the process in the background. The -y flag will run the tool at the terminal without pausing to ask the user if existing files can be destroyed and without displaying a 'picture' of the requested task.

Before dbpack(1) begins, the user is given a chance to abort.

Note: packing a FirstBase database makes all indexes for that database obsolete and unusable. Thus all indexes for that database must be regenerated after packing.

Dbclean(1) is automatically run at the completion of the packing process to create a map file for the newly packed database.

FILES

dbase
default name of database.

*.cdb
FirstBase database.

*.ddict
FirstBase database dictionary file.

SEE ALSO

dbclean(1), dbedit(1), dbigen(1), dbregen(1), firstbase(5)

FirstBase User's Guide and Reference Manual

DIAGNOSTICS

Dbpack(1) requires a database dictionary and a database. No indexes are used. All records are processed in database sequential order. Dbpack will noisily do nothing if there is no work to do (i.e. no deletions).

Also, dbpack(1) needs to be run in the same directory as the database (or at least on the same logical device) as temporary storage is used in the current working directory to build the new database.


URL: http://www.firstbasesoftware.com/man/man1/dbpack.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]