Moodle  2.2.1
http://www.collinsharper.com
adodb_perf Class Reference
Inheritance diagram for adodb_perf:

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)

Data Fields

 $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

Detailed Description

Definition at line 217 of file adodb-perf.inc.php.


Member Function Documentation

_CPULoad ( )

Definition at line 242 of file adodb-perf.inc.php.

Here is the caller graph for this function:

_DBParameter ( sql)

Definition at line 605 of file adodb-perf.inc.php.

Here is the caller graph for this function:

_ExpensiveSQL ( numsql = 10)

Definition at line 524 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_SuspiciousSQL ( numsql = 10)

Definition at line 445 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 502 of file adodb-perf.inc.php.

Here is the caller graph for this function:

clearsql ( )

Definition at line 663 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

CPULoad ( )

Definition at line 352 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 903 of file adodb-perf.inc.php.

Here is the call graph for this function:

DBParameter ( param)

Definition at line 583 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

DoSQLForm ( )

Definition at line 915 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

ExpensiveSQL ( numsql = 10)

Definition at line 513 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Explain ( sql,
partial = false 
)

Reimplemented in perf_postgres, perf_mysql, perf_mssql, perf_mssqlnative, and perf_db2.

Definition at line 418 of file adodb-perf.inc.php.

HealthCheck ( cli = false)

Reimplemented in perf_mssql, and perf_mssqlnative.

Definition at line 822 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 813 of file adodb-perf.inc.php.

Here is the call graph for this function:

InvalidSQL ( numsql = 10)

Definition at line 423 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

MemInfo ( )

Definition at line 320 of file adodb-perf.inc.php.

Reorganise current database. Default implementation loops over all MetaTables() and optimize each using optmizeTable()

Author:
Markus Staab
Returns:
Returns true on success and false on error

Definition at line 1080 of file adodb-perf.inc.php.

OptimizeTable ( table,
mode = ADODB_OPT_LOW 
)

Reorganise the table-indices/statistics/.. depending on the given mode. Default Implementation throws an error.

Parameters:
stringtable name of the table to optimize
intmode optimization-mode ADODB_OPT_HIGH for full optimization ADODB_OPT_LOW for CPU-less optimization Default is LOW ADODB_OPT_LOW
Author:
Markus Staab
Returns:
Returns true on success and false on error

Definition at line 1066 of file adodb-perf.inc.php.

Definition at line 1035 of file adodb-perf.inc.php.

Poll ( secs = 5)

Definition at line 771 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 593 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

SplitSQL ( sql)

Definition at line 992 of file adodb-perf.inc.php.

Here is the caller graph for this function:

SuspiciousSQL ( numsql = 10)

Definition at line 508 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static table ( newtable = false) [static]

Definition at line 232 of file adodb-perf.inc.php.

Here is the caller graph for this function:

Tables ( orderby = '1')

Definition at line 891 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Tracer ( sql)

Definition at line 382 of file adodb-perf.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

UI ( pollsecs = 5)

Definition at line 673 of file adodb-perf.inc.php.

Here is the call graph for this function:

undomq ( m)

Definition at line 998 of file adodb-perf.inc.php.

Here is the caller graph for this function:

WarnCacheRatio ( val)

Definition at line 656 of file adodb-perf.inc.php.


Field Documentation

$_lastLoad

Definition at line 351 of file adodb-perf.inc.php.

$cliFormat = "%32s => %s \r\n"

Definition at line 224 of file adodb-perf.inc.php.

$color = '#F0F0F0'

Definition at line 219 of file adodb-perf.inc.php.

$conn

Definition at line 218 of file adodb-perf.inc.php.

$createTableSQL = false

Reimplemented in perf_postgres, perf_informix, perf_mssql, perf_mssqlnative, perf_db2, and perf_mysql.

Definition at line 228 of file adodb-perf.inc.php.

$explain = true

Definition at line 226 of file adodb-perf.inc.php.

$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.

$maxLength = 2000

Definition at line 229 of file adodb-perf.inc.php.

$sql1 = 'sql1'

Reimplemented in perf_mssql, and perf_mssqlnative.

Definition at line 225 of file adodb-perf.inc.php.

$table = '<table border=1 bgcolor=white>'

Definition at line 220 of file adodb-perf.inc.php.

$tablesSQL = false

Reimplemented in perf_informix, perf_postgres, and perf_mysql.

Definition at line 223 of file adodb-perf.inc.php.

$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.

$warnRatio = 90

Definition at line 222 of file adodb-perf.inc.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations