Documentation TYPO3 par Ameos

perf_db2 Class Reference

Inheritance diagram for perf_db2:
Collaboration diagram for perf_db2:
List of all members.

Public Member Functions

 perf_db2 (&$conn)
 Explain ($sql, $partial=false)
 Tables ()

Public Attributes


Detailed Description

Definition at line 21 of file

Member Data Documentation


Initial value:

 "CREATE TABLE adodb_logsql (
                  created TIMESTAMP 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

Reimplemented from adodb_perf.

Definition at line 22 of file


Initial value:

                'data cache hit ratio' => array('RATIO',
                                case when sum(POOL_DATA_L_READS+POOL_INDEX_L_READS)=0 then 0 
                                else 100*(1-sum(POOL_DATA_P_READS+POOL_INDEX_P_READS)/sum(POOL_DATA_L_READS+POOL_INDEX_L_READS)) end 
                                FROM TABLE(SNAPSHOT_APPL('',-2)) as t",
        'Data Cache',
                'data cache buffers' => array('DATAC',
                'select sum(npages) from SYSCAT.BUFFERPOOLS',
                        'See <a href=>tuning reference</a>.' ),
                'cache blocksize' => array('DATAC',
                'select avg(pagesize) from SYSCAT.BUFFERPOOLS',
                        '' ),
                'data cache size' => array('DATAC',
                'select sum(npages*pagesize) from SYSCAT.BUFFERPOOLS',
                        '' ),
                'current connections' => array('SESS',
                        "SELECT count(*) FROM TABLE(SNAPSHOT_APPL_INFO('',-2)) as t",


Definition at line 31 of file

The documentation for this class was generated from the following file:

Généré par Les experts TYPO3 avec  doxygen 1.4.6