TYPO3 CMS  TYPO3_6-2
perf_mssqlnative Class Reference
Inheritance diagram for perf_mssqlnative:
adodb_perf

Public Member Functions

 perf_mssqlnative (&$conn)
 
 Explain ($sql, $partial=false)
 
 Tables ($orderby='1')
 
 sp_who ()
 
 HealthCheck ($cli=false)
 
- Public Member Functions inherited from adodb_perf
 _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 ()
 

Public Attributes

 $sql1 = 'cast(sql1 as text)'
 
 $createTableSQL
 
 $settings
 
- Public Attributes inherited from adodb_perf
 $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
 

Additional Inherited Members

- Static Public Member Functions inherited from adodb_perf
static table ($newtable=false)
 

Detailed Description

Definition at line 22 of file perf-mssqlnative.inc.php.

Member Function Documentation

◆ Explain()

perf_mssqlnative::Explain (   $sql,
  $partial = false 
)

Definition at line 77 of file perf-mssqlnative.inc.php.

References $rs, $sql, and adodb_perf\Tracer().

◆ HealthCheck()

perf_mssqlnative::HealthCheck (   $cli = false)

Definition at line 152 of file perf-mssqlnative.inc.php.

References adodb_perf\HealthCheck().

◆ perf_mssqlnative()

perf_mssqlnative::perf_mssqlnative ( $conn)

Definition at line 68 of file perf-mssqlnative.inc.php.

References adodb_perf\$conn.

◆ sp_who()

perf_mssqlnative::sp_who ( )

Definition at line 146 of file perf-mssqlnative.inc.php.

◆ Tables()

perf_mssqlnative::Tables (   $orderby = '1')

Definition at line 120 of file perf-mssqlnative.inc.php.

Member Data Documentation

◆ $createTableSQL

perf_mssqlnative::$createTableSQL
Initial value:
= "CREATE TABLE adodb_logsql (
created datetime NOT NULL,
sql0 varchar(250) NOT NULL,
sql1 varchar(4000) NOT NULL,
params varchar(3000) NOT NULL,
tracer varchar(500) NOT NULL,
timer decimal(16,6) NOT NULL
)"

Definition at line 24 of file perf-mssqlnative.inc.php.

◆ $settings

perf_mssqlnative::$settings

Definition at line 33 of file perf-mssqlnative.inc.php.

◆ $sql1

perf_mssqlnative::$sql1 = 'cast(sql1 as text)'

Definition at line 23 of file perf-mssqlnative.inc.php.