temip_cisam_cluster(1) — Commands
NAME
temip_cisam_cluster − Used to regroup the data in MIR, TeMIP datastore
or other C-ISAM files into contiguous storage.
SYNOPSIS
temip_cisam_cluster Cisamfilename
DESCRIPTION
The temip_cisam_cluster command is used to regroup the data in a C-ISAM MIR file, a TeMIP datastore file, or any other C-ISAM file into contiguous storage to avoid degraded access time, which occurs if the data is spread over different I/O pages.
Such regrouping is necessary after large-scale deletions, for example the deletion of 30000 or more alarms.
RESTRICTIONS
The temip_cisam_cluster utility must be run under the Director Username (default temip) and you must stop TeMIP before you run it.
ARGUMENT
The following arguments are requested by temip_cisam_cluster :
Cisamfilename C-ISAM full file name without its extension.
RETURN VALUES
On successful completion, the temip_cisam_cluster utility exits with a null status. Otherwise, the C-ISAM error number is returned (positive value).
EXAMPLES
The following example shows the normal usage of temip_cisam_cluster on C-ISAM files.
In this example the files implement a TeMIP AH datastore, but the example is also valid for MIR files.
$ ls
aAHDATA.dat aAHDATA.idx aAHDATA.inf
$ temip_cisam_cluster aAHDATA
Cisam filename :aAHDATA
Cisam number of record :6
Cisam Max rec length (byte) :30720
Cisam number of indexes :1
Cisam filename :aAHDATA
Cisam number of record :6
Cisam Max rec length (byte) :30720
Cisam number of indexes :1
temip_cisam_cluster of [aAHDATA] Successfull
The following example shows error output.
In this example the C-ISAM file is in use and so the attempt to regroup the data fails.
$ temip_cisam_cluster aAHDATA
[Error Calling isopen] error # 113 Cisamtext=<File is in use>
temip_cisam_cluster of [aAHDATA] Has Failed
FILES
None.
SEE ALSO
TeMIP Framework Configuration and Management Guide
TeMIP Utilities