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 [2017/05/17 18:45] – [Description] 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. The output provided is the same as that returned by [[v5:performance: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. There is no consistency between databases as to the information returned, as it is dependent on what information is publicly exposed by the database.
Line 16: 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>
  
v5/performance/healthcheck.1495039550.txt.gz · Last modified: 2017/05/17 18:45 by mnewnham