Manual:Msg resource table

Manual:Contents MediaWiki database layout msg_resource table
MediaWiki versions:
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. See also Manual:Msg resource links table .

Field

mr_resource

Resource name.

mr_lang

Language code.

mr_blob

JSON blob.

mr_timestamp

Timestamp of last update.

Schema summary

MediaWiki versions:
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    |       |
+--------------+----------------+------+-----+---------+-------+

Indexes

MediaWiki versions:
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      |         |               |
+--------------+------------+------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+