Jump to content
MediaWiki

Manual:profiling table

From mediawiki.org

The profiling table was used to store profiling -related data. This table doesn't exist unless created, e.g. by setting $wgProfiler['output'] = 'db' in your StartProfiler.php and running maintenance/update.php.

MediaWiki version:
≤ 1.34

The table has been removed in MediaWiki 1.35 gerrit:545308.

Fields

[edit ]

pf_count

[edit ]

Event count (an integer).

pf_time

[edit ]

Time sum (milliseconds).

pf_memory

[edit ]

Memory sum (KB).

pf_name

[edit ]

Method name (e.g. Title::getNamespace).

pf_server

[edit ]

Host (e.g. lucy-HP-Compaq-Elite-8300-SF).

Schema summary

[edit ]
MediaWiki versions:
1.13 – 1.34

DESCRIBEprofiling;

+-----------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+-------+
| pf_count | int(11) | NO | | 0 | |
| pf_time | float | NO | | 0 | |
| pf_memory | float | NO | | 0 | |
| pf_name | varchar(255) | NO | PRI | | |
| pf_server | varchar(30) | NO | PRI | | |
+-----------+--------------+------+-----+---------+-------+
MediaWiki versions:
1.7 – 1.12

DESCRIBEprofiling;

+-----------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+-------+
| pf_count | int(11) | NO | | 0 | |
| pf_time | float | NO | | 0 | |
| pf_name | varchar(255) | NO | PRI | | |
| pf_server | varchar(30) | NO | PRI | | |
+-----------+--------------+------+-----+---------+-------+
MediaWiki versions:
1.3 – 1.6

DESCRIBEprofiling;

+----------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+--------------+------+-----+---------+-------+
| pf_count | int(11) | NO | | 0 | |
| pf_time | float | NO | | 0 | |
| pf_name | varchar(255) | NO | PRI | | |
+----------+--------------+------+-----+---------+-------+

Indexes

[edit ]
MediaWiki versions:
1.7 – 1.34

SHOWINDEXINprofiling;

+-----------+------------+----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-----------+------------+----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| profiling | 0 | pf_name_server | 1 | pf_name | NULL | NULL | NULL | NULL | | HASH | | |
| profiling | 0 | pf_name_server | 2 | pf_server | NULL | 0 | NULL | NULL | | HASH | | |
+-----------+------------+----------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
[edit ]
Engines
Current
Former
Technical documentation
Configuration
Development
Core tables
Current
Former

AltStyle によって変換されたページ (->オリジナル) /