TYPO3 CMS
TYPO3_6-2
|
Public Member Functions | |
_CPULoad () | |
MemInfo () | |
CPULoad () | |
Tracer ($sql) | |
Explain ($sql, $partial=false) | |
InvalidSQL ($numsql=10) | |
_SuspiciousSQL ($numsql=10) | |
CheckMemory () | |
SuspiciousSQL ($numsql=10) | |
ExpensiveSQL ($numsql=10) | |
_ExpensiveSQL ($numsql=10) | |
DBParameter ($param) | |
PollParameters () | |
_DBParameter ($sql) | |
WarnCacheRatio ($val) | |
clearsql () | |
UI ($pollsecs=5) | |
Poll ($secs=5) | |
HealthCheckCLI () | |
HealthCheck ($cli=false) | |
Tables ($orderby='1') | |
CreateLogTable () | |
DoSQLForm () | |
SplitSQL ($sql) | |
undomq ($m) | |
OptimizeTables () | |
OptimizeTable ( $table, $mode=ADODB_OPT_LOW) | |
optimizeDatabase () | |
Static Public Member Functions | |
static | table ($newtable=false) |
Public Attributes | |
$conn | |
$color = '#F0F0F0' | |
$table = '<table border=1 bgcolor=white>' | |
$titles = '<tr><td><b>Parameter</b></td><td><b>Value</b></td><td><b>Description</b></td></tr>' | |
$warnRatio = 90 | |
$tablesSQL = false | |
$cliFormat = "%32s => %s \r\n" | |
$sql1 = 'sql1' | |
$explain = true | |
$helpurl = "<a href=http://phplens.com/adodb/reference.functions.fnexecute.and.fncacheexecute.properties.html#logsql>LogSQL help</a>" | |
$createTableSQL = false | |
$maxLength = 2000 | |
$_lastLoad | |
Definition at line 217 of file adodb-perf.inc.php.
adodb_perf::_CPULoad | ( | ) |
Definition at line 242 of file adodb-perf.inc.php.
Referenced by CPULoad().
adodb_perf::_DBParameter | ( | $sql | ) |
Definition at line 605 of file adodb-perf.inc.php.
Referenced by DBParameter(), perf_mysql\GetKeyHitRatio(), perf_mysql\GetQHitRatio(), and HealthCheck().
adodb_perf::_ExpensiveSQL | ( | $numsql = 10 | ) |
Definition at line 524 of file adodb-perf.inc.php.
References $maxLength, $rs, $sql, $sql1, and table().
Referenced by ExpensiveSQL().
adodb_perf::_SuspiciousSQL | ( | $numsql = 10 | ) |
Definition at line 445 of file adodb-perf.inc.php.
References $maxLength, $rs, $sql, $sql1, and table().
Referenced by SuspiciousSQL().
adodb_perf::CheckMemory | ( | ) |
Definition at line 502 of file adodb-perf.inc.php.
Referenced by UI().
adodb_perf::clearsql | ( | ) |
adodb_perf::CPULoad | ( | ) |
Definition at line 352 of file adodb-perf.inc.php.
References $_lastLoad, and _CPULoad().
Referenced by Poll().
adodb_perf::CreateLogTable | ( | ) |
Definition at line 903 of file adodb-perf.inc.php.
adodb_perf::DBParameter | ( | $param | ) |
Definition at line 583 of file adodb-perf.inc.php.
References $sql, and _DBParameter().
Referenced by perf_mysql\FindDBHitRatio(), and PollParameters().
adodb_perf::DoSQLForm | ( | ) |
Definition at line 915 of file adodb-perf.inc.php.
References $rs, $sql, rs2html(), SplitSQL(), table(), and undomq().
Referenced by UI().
adodb_perf::ExpensiveSQL | ( | $numsql = 10 | ) |
adodb_perf::Explain | ( | $sql, | |
$partial = false |
|||
) |
Definition at line 418 of file adodb-perf.inc.php.
adodb_perf::HealthCheck | ( | $cli = false | ) |
Definition at line 822 of file adodb-perf.inc.php.
References $titles, _DBParameter(), and table().
Referenced by perf_mssql\HealthCheck(), perf_mssqlnative\HealthCheck(), HealthCheckCLI(), and UI().
adodb_perf::HealthCheckCLI | ( | ) |
Definition at line 813 of file adodb-perf.inc.php.
References HealthCheck().
adodb_perf::InvalidSQL | ( | $numsql = 10 | ) |
adodb_perf::MemInfo | ( | ) |
Definition at line 320 of file adodb-perf.inc.php.
adodb_perf::optimizeDatabase | ( | ) |
Reorganise current database. Default implementation loops over all MetaTables()
and optimize each using optmizeTable()
true
on success and false
on error Definition at line 1080 of file adodb-perf.inc.php.
References $conn.
adodb_perf::OptimizeTable | ( | $table, | |
$mode = ADODB_OPT_LOW |
|||
) |
Reorganise the table-indices/statistics/.. depending on the given mode. Default Implementation throws an error.
string | table name of the table to optimize |
int | mode optimization-mode ADODB_OPT_HIGH for full optimization ADODB_OPT_LOW for CPU-less optimization Default is LOW ADODB_OPT_LOW |
true
on success and false
on error Definition at line 1066 of file adodb-perf.inc.php.
adodb_perf::OptimizeTables | ( | ) |
Definition at line 1035 of file adodb-perf.inc.php.
References ADODB_OPT_LOW.
adodb_perf::Poll | ( | $secs = 5 | ) |
Definition at line 771 of file adodb-perf.inc.php.
References CPULoad(), and PollParameters().
Referenced by UI().
adodb_perf::PollParameters | ( | ) |
adodb_perf::SplitSQL | ( | $sql | ) |
adodb_perf::SuspiciousSQL | ( | $numsql = 10 | ) |
|
static |
Definition at line 232 of file adodb-perf.inc.php.
Referenced by _ExpensiveSQL(), _SuspiciousSQL(), adodb_log_sql(), clearsql(), perf_oci8\clearsql(), CreateLogTable(), DoSQLForm(), HealthCheck(), InvalidSQL(), Tracer(), and UI().
adodb_perf::Tables | ( | $orderby = '1' | ) |
Definition at line 891 of file adodb-perf.inc.php.
References $rs, and rs2html().
Referenced by UI().
adodb_perf::Tracer | ( | $sql | ) |
Definition at line 382 of file adodb-perf.inc.php.
Referenced by perf_db2\Explain(), perf_mssql\Explain(), perf_mssqlnative\Explain(), perf_mysql\Explain(), and perf_postgres\Explain().
adodb_perf::UI | ( | $pollsecs = 5 | ) |
Definition at line 673 of file adodb-perf.inc.php.
References $ADODB_PERF_MIN, $conn, CheckMemory(), clearsql(), DoSQLForm(), ExpensiveSQL(), HealthCheck(), InvalidSQL(), Poll(), SuspiciousSQL(), table(), and Tables().
adodb_perf::undomq | ( | $m | ) |
Definition at line 998 of file adodb-perf.inc.php.
Referenced by DoSQLForm().
adodb_perf::WarnCacheRatio | ( | $val | ) |
Definition at line 656 of file adodb-perf.inc.php.
adodb_perf::$_lastLoad |
Definition at line 351 of file adodb-perf.inc.php.
Referenced by CPULoad().
adodb_perf::$cliFormat = "%32s => %s \r\n" |
Definition at line 224 of file adodb-perf.inc.php.
adodb_perf::$color = '#F0F0F0' |
Definition at line 219 of file adodb-perf.inc.php.
adodb_perf::$conn |
Definition at line 218 of file adodb-perf.inc.php.
Referenced by optimizeDatabase(), perf_postgres\optimizeTable(), perf_mysql\optimizeTable(), perf_db2\perf_db2(), perf_informix\perf_informix(), perf_mssql\perf_mssql(), perf_mssqlnative\perf_mssqlnative(), perf_mysql\perf_mysql(), perf_postgres\perf_postgres(), and UI().
adodb_perf::$createTableSQL = false |
Definition at line 228 of file adodb-perf.inc.php.
adodb_perf::$explain = true |
Definition at line 226 of file adodb-perf.inc.php.
adodb_perf::$helpurl = "<a href=http://phplens.com/adodb/reference.functions.fnexecute.and.fncacheexecute.properties.html#logsql>LogSQL help</a>" |
Definition at line 227 of file adodb-perf.inc.php.
adodb_perf::$maxLength = 2000 |
Definition at line 229 of file adodb-perf.inc.php.
Referenced by _ExpensiveSQL(), and _SuspiciousSQL().
adodb_perf::$sql1 = 'sql1' |
Definition at line 225 of file adodb-perf.inc.php.
Referenced by _ExpensiveSQL(), and _SuspiciousSQL().
adodb_perf::$table = '<table border=1 bgcolor=white>' |
Definition at line 220 of file adodb-perf.inc.php.
Referenced by perf_postgres\optimizeTable(), and perf_mysql\optimizeTable().
adodb_perf::$tablesSQL = false |
Definition at line 223 of file adodb-perf.inc.php.
adodb_perf::$titles = '<tr><td><b>Parameter</b></td><td><b>Value</b></td><td><b>Description</b></td></tr>' |
Definition at line 221 of file adodb-perf.inc.php.
Referenced by HealthCheck().
adodb_perf::$warnRatio = 90 |
Definition at line 222 of file adodb-perf.inc.php.