Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 22 additions & 29 deletions modules/cli/pages/cbstats/cbstats-warmup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
The basic syntax is:

----
cbstats [host]:[dataport] -b [bucket_name] -p [bucket_password] raw warmup
cbstats [host]:[dataport] -b [bucket_name] -p [bucket_password] warmup
----

== Description
Expand Down Expand Up @@ -47,36 +47,28 @@ Look for values: loading keys, loading access log, and done.
| Number of failures due to duplicate keys.
| Integer

| ep_warmup_estimate_time
| The time taken, measured in milliseconds, to discover the estimated number of keys that may be warmed up.
| Integer.

| ep_warmup_estimated_key_count
| The estimated number of keys in database.
| Integer.
Default: unknown

| ep_warmup_estimate_time
| Thne estimated time in microseconds to do warmup.
| Integer.

| ep_warmup_estimated_value_count
| The estimated number of key data to read based on the access log.
| Integer.
Default: unknown

| ep_warmup_keys_count
| ep_warmup_key_count
| Number of keys warmed up.
| Integer

| ep_warmup_keys_time
| Total time (in microseconds) spent by loading persisted keys.
| Integer

| ep_warmup_min_items_threshold
| Enable data traffic after loading this percentage of key data.
| Integer

| ep_warmup_min_memory_threshold
| Enable data traffic after filling this % of memory.
| Integer (%)

| ep_warmup_oom
| Number of out of memory failures during warmup.
| Integer
Expand Down Expand Up @@ -119,26 +111,27 @@ The following are the command options:
*Request*

----
cbstats 10.5.2.117:11210 warmup
cbstats localhost:11210 warmup \
-u Administrator \
-p password \
-b travel-sample
----

*Response*

Example response:

----
ep_warmup: enabled
ep_warmup_dups: 0
ep_warmup_estimate_time: 57546
ep_warmup_estimated_key_count: 0
ep_warmup_estimated_value_count: unknown
ep_warmup_key_count: 0
ep_warmup_keys_time: 529022
ep_warmup_min_items_threshold: 100
ep_warmup_min_memory_threshold: 100
ep_warmup_oom: 0
ep_warmup_state: done
ep_warmup_thread: complete
ep_warmup_time: 529192
ep_warmup_value_count: 0
ep_warmup: enabled
ep_warmup_dups: 0
ep_warmup_estimate_time: 8159
ep_warmup_estimated_key_count: 63325
ep_warmup_estimated_value_count: unknown
ep_warmup_key_count: 63325
ep_warmup_keys_time: 199582
ep_warmup_oom: 0
ep_warmup_state: done
ep_warmup_thread: complete
ep_warmup_time: 199586
ep_warmup_value_count: 63325
----
Loading