|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| perf_mysql (&$conn) | |
| Explain ($sql, $partial=false) | |
| Tables () | |
| GetReads () | |
| GetWrites () | |
| FindDBHitRatio () | |
| GetQHitRatio () | |
| GetInnoDBHitRatio () | |
| GetKeyHitRatio () | |
| optimizeTable ($table, $mode=ADODB_OPT_LOW) | |
Data Fields | |
| $tablesSQL = 'show table status' | |
| $createTableSQL | |
| $settings | |
| $optimizeTableLow = 'CHECK TABLE %s FAST QUICK' | |
| $optimizeTableHigh = 'OPTIMIZE TABLE %s' | |
Definition at line 18 of file perf-mysql.inc.php.
| Explain | ( | $ | sql, |
| $ | partial = false |
||
| ) |
Reimplemented from adodb_perf.
Definition at line 89 of file perf-mysql.inc.php.

| FindDBHitRatio | ( | ) |
Definition at line 246 of file perf-mysql.inc.php.
| GetKeyHitRatio | ( | ) |
| GetQHitRatio | ( | ) |
| GetReads | ( | ) |
Definition at line 130 of file perf-mysql.inc.php.
| GetWrites | ( | ) |
Definition at line 159 of file perf-mysql.inc.php.
| optimizeTable | ( | $ | table, |
| $ | mode = ADODB_OPT_LOW |
||
| ) |
Definition at line 291 of file perf-mysql.inc.php.
| perf_mysql | ( | &$ | conn | ) |
Definition at line 84 of file perf-mysql.inc.php.
| Tables | ( | ) |
| $createTableSQL |
"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 )"
Reimplemented from adodb_perf.
Definition at line 22 of file perf-mysql.inc.php.
| $optimizeTableHigh = 'OPTIMIZE TABLE %s' |
Definition at line 286 of file perf-mysql.inc.php.
| $optimizeTableLow = 'CHECK TABLE %s FAST QUICK' |
Definition at line 285 of file perf-mysql.inc.php.
| $settings |
Definition at line 31 of file perf-mysql.inc.php.
| $tablesSQL = 'show table status' |
Reimplemented from adodb_perf.
Definition at line 20 of file perf-mysql.inc.php.