ENCINA(8) — Maintenance
NAME
tkadmin set checkpointinterval - specifies the interval between server checkpoints
SYNOPSIS
tkadmin set checkpointinterval -server servername numseconds minlogreccount maxlogreccount
ARGUMENTS
-server servername Specifies the server affected by the command. The server name is the name that is registered with the DCE Directory Service. If the server name is not specified in the command line, it is retrieved from an environment variable, ENCINA_TK_SERVER.
numseconds Specifies the number of seconds between checkpoints if the number of records written since the last checkpoint exceeds minlogreccount but does not exceed maxlogreccount.
minlogreccount Specifies the minimum number of log records that must be written between checkpoints before the next checkpoint is taken.
maxlogreccount Specifies the maximum number of log records that can be written before the next checkpoint is taken.
DESCRIPTION
The tkadmin set checkpointinterval command specifies the interval between checkpoints. This interval is measured in seconds (numseconds) and the number of log records written since the last checkpoint (minlogreccount and maxlogreccount). If the number of log records written since the last checkpoint is between the values of minlogreccount and maxlogreccount, a checkpoint is taken numseconds after the last checkpoint.
If the number of log records written since the last checkpoint is not between the values of minlogreccount and maxlogreccount, the numseconds argument is ignored and the following occurs:
If the number of log records written since the last checkpoint is lower than the value of minlogreccount when the value of numseconds has elapsed, numseconds is ignored and a checkpoint is taken as soon as minlogreccount is reached.
If the number of log records exceeds the value of maxlogreccount before the value of numseconds has elapsed, numseconds is ignored and a checkpoint is as soon as maxlogreccount is reached.
The checkpoint interval can also be set with the -i option of the server start-up command or through Enconsole.
EXAMPLES
The following command sets the checkpoint interval to be 120 seconds with a minimum of 500 records and a maximum of 10000 records:
% tkadmin set checkpointinterval 120 500 10000
PRIVILEGE REQUIRED
Encina RQS administer (a) permission to the RQS server
Encina SFS administer (A) permission to the SFS server
RELATED INFORMATION
tkadmin query checkpointinterval
— March 1997