checkpoint
Provides detailed information on per-vbucket checkpoint data structure.
Description
This command provides detailed information on per-vbucket checkpoint data structure.
Requesting checkpoint stats impacts the performance and should not be used frequently. |
Stat | Description |
---|---|
|
Checkpoint ID at which the cursor ‘cursor_name’ is pointing now. |
|
ID of the current open checkpoint. |
|
Number of referencing TAP cursors. |
|
Number of total items in a checkpoint data structure. |
|
Number of items in the open checkpoint. |
|
Number of checkpoints in a checkpoint data structure. |
|
Number of items remaining for persistence. |
|
True if the open checkpoint is in the extension mode. |
|
The state of the vbucket for which this checkpoint contfaiuns data. |
|
The last closed checkpoint number. |
|
The last persisted checkpoint number. |
Options
The following are the command options:
Options | Description |
---|---|
|
Shows the help message and exits. |
|
The vBucket to get the status from. Default: default |
|
The password for the vBucket if one exists. |
Example
Request example:
cbstats 10.5.2.117:11210 checkpoint
Response:
vb_0:last_closed_checkpoint_id: 1 vb_0:num_checkpoint_items: 1 vb_0:num_checkpoints: 1 vb_0:num_items_for_persistence: 0 vb_0:num_open_checkpoint_items: 0 vb_0:num_tap_cursors: 0 vb_0:open_checkpoint_id: 2 vb_0:persisted_checkpoint_id: 1 vb_0:state: active ... vb_9:last_closed_checkpoint_id: 1 vb_9:num_checkpoint_items: 1 vb_9:num_checkpoints: 1 vb_9:num_items_for_persistence: 0 vb_9:num_open_checkpoint_items: 0 vb_9:num_tap_cursors: 0 vb_9:open_checkpoint_id: 2 vb_9:persisted_checkpoint_id: 1 vb_9:state: active