vbucket-details
Provides details for vBuckets.
Description
This command provides details for the specified vBucket, or for each vBucket if none is specified.
The identifier for each vBucket statistic begins with the string vb_
followed by the vBucket ID and a colon.
For example, for vBucket 1023, the identifier for the uuid
statistic is vb_1023:uuid
.
Name | Description |
---|---|
|
Number of items in this vBucket. |
|
Number of temporary items in memory. |
|
Total number of items which are not resident in memory for this vBucket. |
'num_prepared_sync_writes' |
Number of durable writes currently in progress (and therefore not yet either committed or aborted) for this vBucket. |
|
% memory resident. |
|
Number of times item values got ejected. |
|
Number of times an item was expired. |
|
Memory overhead of the hashtable. |
|
Total item memory. |
|
Total size of cache — includes non-resident items. |
|
Number of times an item was ejected from memory. |
|
Number of create operations. |
|
Number of update operations. |
|
Number of delete operations. |
|
Number of rejected operations. |
|
Pending items in disk queue. |
|
Items in backfill queue. |
|
Memory used for disk queue. |
|
Sum of disk queue item age in milliseconds. |
|
Total enqueued items. |
|
Total drained items. |
|
Total bytes of pending writes. |
|
Total size of useful data in the database file on disk, measured in bytes. |
|
Total size of the database file on disk (including uncompacted stale data), measured in bytes. |
|
The last seqno assigned by this vBucket. |
|
The last seqno purged by the compactor. |
|
Status of the vBucket’s bloom filter. |
|
Size of the bloom filter bit array. |
|
Number of keys inserted into the bloom filter. Considers overlapped items as one, so this may not be accurate at times. |
|
The current vBucket uuid. |
|
Number of items rolled back. |
|
Number of asynchronous high priority requests. |
|
Maximum CAS of all items in the vBucket. This is a hybrid logical clock value in nanoseconds. |
|
The vBucket’s current maximum hybrid logical clock (HLC) 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). |
|
The accumulated absolute drift for this vBucket’s hybrid logical clock in microseconds. Drift is always accumulated as an absolute value. |
|
The number of updates applied to |
|
How many mutations have been observed with a drift above the |
|
Threshold at which positive drift will trigger an update to |
|
How many mutations have been observed with a drift below the |
|
The threshold at which positive drift will trigger an update to |
|
How many times the hybrid logical clock (HLC) has had to increment the logical clock. |
|
True if the vBucket might contain xattrs. True means that xattrs were stored to the vBucket. Note that the flag does not clear itself if all xattrs were removed. |
|
Number of synchronous-write requests in this vbucket’s sequence list. |
|
Number of synchronous-write commits in this vbucket’s sequence list. |
|
Number of synchronous-write aborts in this vbucket’s sequence list. |
Note also that the cbstats
all option provides summary statistics, which sum the totals across all active and replica buckets for sync_write_accepted_count
, sync_write_committed_count
, and sync_write_aborted_count
.
The names of these summary statistics are vb_active_sync_write_aborted_count
, vb_relica_sync_write_aborted_count
, and so forth.
Name | Description |
---|---|
|
Number of documents in this vBucket’s sequence list. |
|
Count of deleted documents in this vBucket’s sequence list. |
|
High sequence number in sequence list for this vBucket. |
|
Highest de-duplicated sequence number in sequence list for this vBucket. |
|
Starting sequence number for this vBucket’s sequence list read range. Marks the lower bound of possible stale documents in the sequence list. |
|
Ending sequence number for this vBucket’s sequence list read range. Marks the upper bound of possible stale documents in the sequence list. |
|
Count of elements for this vBucket’s sequence list read range, i.e. end - begin. |
|
Count of stale documents in this vBucket’s sequence list. |
|
Number of bytes of stale values in this vBucket’s sequence list. |
|
Number of bytes of stale metadata (key + fixed metadata) in this vBucket’s sequence list. |
Options
Option | Description |
---|---|
|
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. |
For common cbstats
options, see cbstats
.
Example
Request
/opt/couchbase/bin/cbstats localhost:11210 -u Administrator -p password \ -b travel-sample vbucket-details 1023
Response
vb_1023: active vb_1023:bloom_filter: DOESN'T EXIST vb_1023:bloom_filter_key_count: 0 vb_1023:bloom_filter_size: 0 vb_1023:db_data_size: 12978 vb_1023:db_file_size: 53339 vb_1023:drift_ahead_threshold: 5000000000 vb_1023:drift_ahead_threshold_exceeded: 0 vb_1023:drift_behind_threshold: 5000000000 vb_1023:drift_behind_threshold_exceeded: 0 vb_1023:high_completed_seqno: 0 vb_1023:high_prepared_seqno: 0 vb_1023:high_seqno: 20 vb_1023:hp_vb_req_size: 0 vb_1023:ht_cache_size: 12459 vb_1023:ht_item_memory: 12459 vb_1023:ht_item_memory_uncompressed: 23221 vb_1023:ht_memory: 2584 vb_1023:ht_size: 47 vb_1023:logical_clock_ticks: 0 vb_1023:max_cas: 1572448621032374272 vb_1023:max_cas_str: 2019-10-30T15:17:01.32374272 vb_1023:max_deleted_revid: 0 vb_1023:might_contain_xattrs: false vb_1023:num_ejects: 0 vb_1023:num_items: 20 vb_1023:num_non_resident: 0 vb_1023:num_prepared_sync_writes: 0 vb_1023:num_temp_items: 0 vb_1023:ops_create: 0 vb_1023:ops_delete: 0 vb_1023:ops_get: 0 vb_1023:ops_reject: 0 vb_1023:ops_update: 0 vb_1023:pending_writes: 0 vb_1023:purge_seqno: 0 vb_1023:queue_age: 0 vb_1023:queue_drain: 1 vb_1023:queue_fill: 1 vb_1023:queue_memory: 0 vb_1023:queue_size: 0 vb_1023:rollback_item_count: 0 vb_1023:sync_write_aborted_count: 0 vb_1023:sync_write_accepted_count: 0 vb_1023:sync_write_committed_count: 0 vb_1023:topology: [["ns_1@127.0.0.1",null]] vb_1023:total_abs_drift: 0 vb_1023:total_abs_drift_count: 0 vb_1023:uuid: 6840736809150