A newer version of this documentation is available.

View Latest

set checkpoint_param

  • reference
The command set checkpoint_param sets the checkpoint.

Syntax

The basic syntax is:

cbepctl [host]:11210 -b [bucket-name] set checkpoint_param [parameter] [value]

Description

This command changes checkpoint configuration parameters.

Options

The following are the command options:

Table 1. set checkpoint_param options
Options Description

max_checkpoints

The expected maximum number of checkpoints in each vBucket on a balanced system.

NOTE: This value does not act as a hard limit for a single vBucket. The system uses it along with checkpoint_memory_ratio to compute checkpoint_max_size, which triggers checkpoint creation.

checkpoint_memory_ratio

Maximum portion of the bucket quota that the system can allocate to checkpoints.

checkpoint_memory_recovery_upper_mark

Fraction of the checkpoint quota computed by checkpoint_memory_ratio that triggers an attempt to release memory from checkpoints.

checkpoint_memory_recovery_lower_mark

Fraction of the checkpoint quota computed by checkpoint_memory_ratio that represents the target for checkpoint memory recovery. Memory recovery stops when this target is reached.

checkpoint_max_size

Maximum size in bytes of a single checkpoint. Use 0 to allow ep-engine to configure this value automatically.

checkpoint_destruction_tasks

Number of background tasks that destroy closed and unreferenced checkpoints to free memory.