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. |
The identifier for each vBucket statistic begins with the string vb_
followed by the vBucket ID and a colon.
Stat | Description |
---|---|
|
Checkpoint ID at which the cursor |
|
The seqno at which the cursor |
|
Number of times a batch of items have been drained from a checkpoint of |
|
Number of items remaining for the cursor |
|
ID of the current open checkpoint. |
|
Number of referencing DCP 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. |
|
The state of the vBucket for which this checkpoint contains data. |
|
The last closed checkpoint number. |
|
The last persisted checkpoint number. |
|
Total memory taken up by items in all checkpoints under given manager. |
Options
There are no options for this command.
For common cbstats
options, see cbstats
.
Example
Request
cbstats localhost:11210 -u Administrator -p password -b beer-sample checkpoint
Response:
vb_0:last_closed_checkpoint_id: 4 vb_0:mem_usage: 121 vb_0:num_checkpoint_items: 2 vb_0:num_checkpoints: 1 vb_0:num_conn_cursors: 1 vb_0:num_items_for_persistence: 0 vb_0:num_open_checkpoint_items: 0 vb_0:open_checkpoint_id: 5 vb_0:persisted_checkpoint_id: 4 vb_0:persistence:cursor_checkpoint_id: 5 vb_0:persistence:cursor_seqno: 10 vb_0:persistence:num_visits: 6 vb_0:state: active ... vb_9:last_closed_checkpoint_id: 3 vb_9:mem_usage: 121 vb_9:num_checkpoint_items: 2 vb_9:num_checkpoints: 1 vb_9:num_conn_cursors: 1 vb_9:num_items_for_persistence: 0 vb_9:num_open_checkpoint_items: 0 vb_9:open_checkpoint_id: 4 vb_9:persisted_checkpoint_id: 3 vb_9:persistence:cursor_checkpoint_id: 4 vb_9:persistence:cursor_seqno: 6 vb_9:persistence:num_visits: 6 vb_9:state: active