{% if can_see_db %} {% endif %}
0.7 %} class="invalid"{% endif %}>Database: 0.85 %} class="tooltip invalid" title="Evictions begin when storage exceeds 85%"{% endif %}>Cache Storage: mem_stats.uptime / 7 * 24 * 3600 -%} class="tooltip invalid" title="Flushing the cache on a regular basis defeats the benefits of it, look into using cache transactions, or deletes instead of global flushing where possible." {%- endif %}>Total flushes:
Service
Threads (Active)
Cache: {{ mem_stats.threads|number_format }} ({{ (mem_stats.threads / mem_stats.max_connections)|number_format(1) }}%)
{{ db_stats.Threads_created.Value|number_format }} ({{ (db_stats.Threads_connected.Value / db_stats.Threads_created.Value * 100)|number_format(1) }}%)
DB peak connections: {{ db_stats.Max_used_connections.Value|number_format }} ({{ (db_stats.Max_used_connections.Value / db_vars.max_connections.Value)|number_format(1) }}%)
Connections
Cache current: {{ mem_stats.curr_connections|number_format }}
Cache total: {{ mem_stats.total_connections|number_format }}
Database total: {{ db_stats.Connections.Value|number_format }}
Booted
Cache: {{ (now - mem_stats.uptime)|time_diff }}
Database: {{ (now - db_stats.Uptime.Value)|time_diff }}
Special
Cache Current Index: {{ mem_stats.curr_items|number_format }}
Cache Total Index: {{ mem_stats.total_items|number_format }}
{{ mem_stats.bytes|octet_size }} {{ (mem_stats.bytes / mem_stats.limit_maxbytes)|number_format(5) }}%
Cache cold moves: {{ mem_stats.moves_to_cold|number_format }}{{ (mem_stats.moves_to_cold / mem_stats.uptime)|number_format(5) }}/s
Cache warm moves: {{ mem_stats.moves_to_warm|number_format }}{{ (mem_stats.moves_to_warm / mem_stats.uptime)|number_format(5) }}/s
Cache moves within LRU: {{ mem_stats.moves_within_lru|number_format }}{{ (mem_stats.moves_within_lru / mem_stats.uptime)|number_format(5) }}/s
Utilities
Cache:
{{ mem_stats.cmd_flush|number_format }}
Flush ratio: {{ (mem_stats.cmd_flush / mem_stats.uptime)|number_format(5) }}/s
Cache: Cache increment: Cache decrement: 0 and mem_stats.cas_hits / (mem_stats.cas_hits + mem_stats.cas_misses) < 0.7 -%} class="tooltip invalid" title="More than 30% of the issued CAS commands were unnecessarily wasting time and resources." {%- elseif mem_stats.cas_hits == 0 %} class="tooltip notice" title="Disable CAS with the -C parameter and save resources since it is not used." {%- endif %}>Cache: db_stats.Questions.Value / 7500 %} class="tooltip invalid" title="1/7500 queries is allowed to be slow to minimize performance impact."{% endif %}>Database slow:
Activity
Total reads
Cache: {{ mem_stats.cmd_get|number_format }}
Database: {{ db_stats.Com_select.Value|number_format }}
Total writes
Cache: {{ mem_stats.cmd_set|number_format }}
Database: {{ (db_stats.Com_insert.Value + db_stats.Com_update.Value)|number_format }}
Get/Select (Success)
{{ mem_stats.get_hits|number_format }} ({{ (mem_stats.get_hits / mem_stats.cmd_get * 100)|number_format(3) }}%)
Database: {{ db_stats.Com_select.Value|number_format }} (100.000%)
Set/Insert (Success)
Cache: {{ mem_stats.cmd_set|number_format }} (100.000%)
Database: {{ db_stats.Com_insert.Value|number_format }} (100.000%)
{{ mem_stats.incr_hits|number_format }} ({{ (mem_stats.incr_hits / (mem_stats.incr_hits + mem_stats.incr_misses) * 100)|number_format(3) }}%)
{{ mem_stats.decr_hits|number_format }} ({{ (mem_stats.decr_hits / (mem_stats.decr_hits + mem_stats.decr_misses) * 100)|number_format(3) }}%)
CAS/Update (Success)
{{ mem_stats.cas_hits|number_format }} ({% if mem_stats.cas_hits > 0 %}{{ mem_stats.cas_hits / ((mem_stats.cas_hits + mem_stats.cas_misses) * 100)|number_format(3) }}{% else %}0.000{% endif %}%)
Database: {{ db_stats.Com_update.Value|number_format }} (100.000%)
Deletes (Success)
Cache: {{ mem_stats.delete_hits|number_format }} ({{ (mem_stats.delete_hits / (mem_stats.delete_hits + mem_stats.delete_misses) * 100)|number_format(3) }}%)
Database: {{ db_stats.Com_delete.Value|number_format }} (100.000%)
Special
Expired unfetched: {{ mem_stats.expired_unfetched|number_format }}
Evicted unfetched: {{ mem_stats.evicted_unfetched|number_format }}
Evicted: {{ mem_stats.evictions|number_format }}
Slabs moved: {{ mem_stats.slabs_moved|number_format }}
{{ db_stats.Slow_queries.Value|number_format }}
Data read
Cache: {{ mem_stats.bytes_read|number_format }}
Database: {{ db_stats.Bytes_received.Value|octet_size }}
Data write
Cache: {{ mem_stats.bytes_written|octet_size }}
Database: {{ db_stats.Bytes_sent.Value|octet_size }}
Cache: Cache:
Concurrency
Total reads
{{ (mem_stats.cmd_get / mem_stats.uptime)|number_format(5) }}/s
Database: {{ (db_stats.Com_select.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Total writes
{{ (mem_stats.cmd_set / mem_stats.uptime)|number_format(5) }}/s
Database: {{ ((db_stats.Com_insert.Value + db_stats.Com_update.Value) / db_stats.Uptime.Value)|number_format(5) }}/s
Get/Select
Cache: {{ (mem_stats.get_hits / mem_stats.uptime)|number_format(5) }}/s
Database: {{ (db_stats.Com_select.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Set/Insert
Cache: {{ (mem_stats.cmd_set / mem_stats.uptime)|number_format(5) }}/s
Database: {{ (db_stats.Com_insert.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Cache increment: {{ (mem_stats.incr_hits / mem_stats.uptime)|number_format(5) }}/s
Cache decrement: {{ (mem_stats.decr_hits / mem_stats.uptime)|number_format(5) }}/s
CAS/Updates
Cache: {{ (mem_stats.cas_hits / mem_stats.uptime)|number_format(5) }}/s
Database: {{ (db_stats.Com_update.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Deletes
Cache: {{ (mem_stats.delete_hits / mem_stats.uptime)|number_format(5) }}/s
Database: {{ (db_stats.Com_delete.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Special
Expired unfetched: {{ (mem_stats.expired_unfetched / mem_stats.uptime)|number_format(5) }}/s
Evicted unfetched: {{ (mem_stats.evicted_unfetched / mem_stats.uptime)|number_format(5) }}/s
Evicted: {{ (mem_stats.evictions / mem_stats.uptime)|number_format(5) }}/s
Slabs moved: {{ (mem_stats.slabs_moved / mem_stats.uptime)|number_format(5) }}/s
Database slow: {{ (db_stats.Slow_queries.Value / db_stats.Uptime.Value)|number_format(5) }}/s
Data read
Cache: {{ (mem_stats.bytes_read / mem_stats.uptime)|octet_size }}/s
Database: {{ (db_stats.Bytes_received.Value / db_stats.Uptime.Value)|octet_size }}/s
Data write
Cache: {{ (mem_stats.bytes_written / mem_stats.uptime)|octet_size }}/s
Database: {{ (db_stats.Bytes_sent.Value / db_stats.Uptime.Value)|octet_size }}/s