Description

The vbucket command shows whether a vBucket is an active, replica, pending or dead vBucket.

Table 1. Notable vBucket-details stats

Stat

Description

db_data_size

Total size of useful data in the database file on disk, measured in bytes.

db_file_size

Total size of the database file on disk (including un-compacted stale data), measured in bytes.

drift_ahead_threshold

Threshold at which positive drift will trigger an update to drift_ahead_exceeded, measured in nanoseconds.

drift_ahead_threshold_exceeded

How many mutations have been observed with a drift above the drift_ahead_threshold.

drift_behind_threshold

The threshold at which positive drift will trigger an update to drift_behind_exceeded. The value is displayed in nanoseconds as a positive value, but is converted to a negative value for actual exception checks.

drift_behind_threshold_exceeded

How many mutations have been observed with a drift below the drift_behind_threshold.

logical_clock_ticks

How many times the hybrid logical clock has had to increment the logical clock.

max_cas_str

The vBucket’s current maximum hybrid logical clock timestamp. In general, this statistic shows the value issued to the last mutation or in certain cases the largest timestamp the vBucket has received (when the received timestamp is ahead of the local clock). Displayed as a human readable ISO-8601 timestamp (UTC).

num_items

Total number of items in the vbucket.

num_non_resident

Total number of items which are not resident in memory for this vbucket.

total_abs_drift

Accumulated drift observed by the vBucket. Drift is always accumulated as an absolute value.

total_abs_drift_count

How many updates have been applied to total_abs_drift, for the purpose of average or rate calculations.

Options

Table 2. vbucket options

Option

Description

vbid

vBucket ID (in a standard system this will be between 0 and 1023). If not provided as part of the command then details for all vBuckets are shown.