ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:performance:healthcheck

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:performance:healthcheck [2016/01/13 02:14] – ↷ Page moved from performance:healthcheck to v5:performance:healthcheck mnewnhamv5:performance:healthcheck [2017/05/17 18:48] (current) mnewnham
Line 6: Line 6:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The function ''healthCheckCli'' executes a single database health check pass and writes the information to an html format table. A valid performance monitoring The output provided is the same as that returns by [[reference:healthcheckcli|healthCheckcli()]].+The method ''healthCheck()'' executes a single database health check pass and writes the information to an html format table. The output provided is the same as that returned by [[v5:performance:healthcheckcli|healthCheckcli()]]
 + 
 +There is no consistency between databases as to the information returned, as it is dependent on what information is publicly exposed by the database.
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
Line 14: Line 16:
  
 $perf = newPerfMonitor($db); $perf = newPerfMonitor($db);
-echo $perf->healthCheckCli(); +echo $perf->healthCheck();
-/* +
-  -- Ratios --   +
-            data cache hit ratio => 0 +
-  -- Data Cache -- +
-              data cache buffers => 1000 +
-                 cache blocksize => 8192 +
-                 data cache size => 8000K +
-  -- Connections -- +
-             current connections => 7 +
-*/+
 </code> </code>
  
 The following HTML is returned: The following HTML is returned:
  
-{{:performance:performance-healthcheck.png|Performance Health Check Screen}}+{{v5:performance:performance-healthcheck.png|Performance Health Check Screen}}
  
    
v5/performance/healthcheck.1452647653.txt.gz · Last modified: 2017/04/21 11:30 (external edit)