flush(); } $DB->query('SHOW GLOBAL STATUS'); $DBStats = $DB->to_array('Variable_name'); $MemStats = $Cache->getStats(); View::show_header("Service Stats"); ?>
0.7) { echo ' class="invalid" '; } ?>>Database: 0.85) { echo ' class="invalid" title="Evictions begin when storage exceeds 85%" '; } ?>>Cache Storage:
Service
Threads (Active)
Cache: (100.000%)
(%)
Connections
Cache:
Database:
Special
Cache Current Index:
Cache Total Index:
(%)
Utilities
Cache:
>Cache: >Cache Increment: >Cache Decrement: 0 && $MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses']) < 0.7) { echo ' class="invalid" title="More than 30% of the issued CAS commands were unnecessarily wasting time and resources." '; } elseif ($MemStats['cas_hits'] == 0) { echo ' class="notice" title="Disable CAS with the -C parameter and save resources since it is not used." '; } ?>>Cache: >Cache: $MemStats['uptime'] / 7 * 24 * 3600) { echo ' class="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." '; } ?>>Cache Flushes: 0) { echo ' class="invalid" '; } ?>>Cache Evicted: $DBStats['Questions']['Value'] / 7500) { echo ' class="invalid" title="1/7500 queries is allowed to be slow to minimize performance impact." '; } ?>>Database Slow:
Activity
Total Reads
Cache:
Database:
Total Writes
Cache:
Database:
Get/Select (Success)
(%)
Database: (100.000%)
Set/Insert (Success)
Cache: (100.000%)
Database: (100.000%)
Increment/Decrement (Success)
(%)
(%)
CAS/Update (Success)
( 0) { echo number_format(($MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses'])) * 100, 3); } else { echo '0.000'; }?>%)
Database: (100.000%)
Deletes (Success)
(%)
Database: (100.000%)
Special
Data Read
Cache:
Database:
Data Write
Cache:
Database:
>Cache: >Cache:
Concurrency
Total Reads
/s
Database: /s
Total Writes
/s
Database: /s
Get/Select
Cache: /s
Database: /s
Set/Insert
Cache: /s
Database: /s
Increment/Decrement
Cache Increment: /s
Cache Decrement: /s
CAS/Updates
Cache: /s
Database: /s
Deletes
Cache: /s
Database: /s
Special
Cache Flushes: /s
Cache Evicted: /s
Database Slow: /s
Data Read
Cache: /s
Database: /s
Data Write
Cache: /s
Database: /s