Manual:profiling テーブル

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Profiling table and the translation is 73% complete.
Other languages:
English • ‎日本語
Manual:コンテンツ MediaWiki のデータベース レイアウト profiling table/ja


The profiling table is 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.

フィールド

pf_count

イベントの件数 (整数)。

pf_time

経過時間の合計 (ミリ秒)。

pf_memory

メモリの合計 (キロバイト)。

pf_name

メソッド名 (例: Title::getNamespace)。

pf_server

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

スキーマの要約

MediaWiki バージョン: 1.13

DESCRIBE profiling;

+-----------+--------------+------+-----+---------+-------+
| 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 バージョン: 1.7 – 1.12

DESCRIBE profiling;

+-----------+--------------+------+-----+---------+-------+
| 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 バージョン: 1.3 – 1.6

DESCRIBE profiling;

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

外部リンク