Jump to content

Manual:transcacheテーブル

From mediawiki.org
This page is a translated version of the page Manual:Transcache table and the translation is 56% complete.
Manual:コンテンツ MediaWiki のデータベース レイアウト transcache テーブル
MediaWiki バージョン:
1.8 – 1.31

The transcache table is used to cache content that has been transcluded from other MediaWiki installations. See the interwiki table docs and the $wgEnableScaryTranscluding configuration variable for details on the feature. (1.32 で除去)

フィールド

tc_url

URL of cached content.

tc_contents

Contents of cache.

tc_time

キャッシュの タイムスタンプ

スキーマの要約

MediaWiki バージョン:
1.16 – 1.31

DESCRIBE transcache;

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | text           | YES  |     | NULL    |       |
| tc_time     | binary(14)     | NO   |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+
MediaWiki バージョン:
1.10 – 1.15

DESCRIBE transcache;

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| tc_url      | varbinary(255) | NO   | PRI | NULL    |       |
| tc_contents | text           | YES  |     | NULL    |       |
| tc_time     | int(11)        | NO   |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+
MediaWiki バージョン:
1.5 – 1.9

DESCRIBE transcache;

+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| tc_url      | varchar(255) | NO   | PRI | NULL    |       |
| tc_contents | text         | YES  |     | NULL    |       |
| tc_time     | int(11)      | NO   |     | NULL    |       |
+-------------+--------------+------+-----+---------+-------+

インデックス

MediaWiki バージョン:
1.30 – 1.31

SHOW INDEX IN transcache;

+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table      | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| transcache |          0 | PRIMARY  |            1 | tc_url      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+