4
ADOdb Performance Monitor
This module provides HTML and CLI interfaces for viewing key performance indicators of your database.
//MySQL
CREATE TABLE adodb_logsql (
created datetime NOT NULL,
sql0 varchar(250) NOT NULL,
sql1 text NOT NULL,
params text NOT NULL,
tracer text NOT NULL,
timer decimal(16,6) NOT NULL
);
//PHP
include ('classes/adodb/db.php');
include ('classes/adodb/adodb.inc.php');
$adoDriver = "mysqli";
$DB = ADONewConnection($adoDriver);
@$DB->Connect($server,$user,$password,$database);
$perf = NewPerfMonitor($DB);
$perf->UI($pollsecs=3);
Interserver | Standard & VPS Cloud Hosting | $2.50 /Month
Flexible VPS hosting platform to deploy your online projects.
Economical and balanced between processor cores, memory and storage
rated 4 times
(4)
(0)
comments: 0 / hits: 3093
/ 7 years ago, tue, sep 6, 16, 10:18:23
More From
» PHP
Comments
There are no comments for this Snippet yet