Jump to content

Manual:msg_resource テーブル

From mediawiki.org
This page is a translated version of the page Manual:Msg resource table and the translation is 64% complete.
Manual:コンテンツ MediaWiki のデータベース レイアウト msg_resource テーブル
MediaWiki バージョン:
1.17 – 1.26

The msg_resource table was a table used to cache JSON message blobs for the resource loader. Its content can be deleted and excluded from backups as it will be regenerated when needed. Manual:msg_resource_link テーブル も参照してください。

フィールド

mr_resource

リソース名です。

mr_lang

言語コードです。

mr_blob

JSON blob.

mr_timestamp

Timestamp of last update.

スキーマの要約

MediaWiki バージョン:
1.17 – 1.26

DESCRIBE msg_resource;

+--------------+----------------+------+-----+---------+-------+
| Field        | Type           | Null | Key | Default | Extra |
+--------------+----------------+------+-----+---------+-------+
| mr_resource  | varbinary(255) | NO   | PRI | NULL    |       |
| mr_lang      | varbinary(32)  | NO   | PRI | NULL    |       |
| mr_blob      | mediumblob     | NO   |     | NULL    |       |
| mr_timestamp | binary(14)     | NO   |     | NULL    |       |
+--------------+----------------+------+-----+---------+-------+

インデックス

MediaWiki バージョン:
1.17 – 1.26

SHOW INDEX IN msg_resource;

+--------------+------------+------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table        | Non_unique | Key_name         | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------------+------------+------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| msg_resource |          0 | mr_resource_lang |            1 | mr_resource | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| msg_resource |          0 | mr_resource_lang |            2 | mr_lang     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+--------------+------------+------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+