Příručka:Databázová tabulka transcache

This page is a translated version of the page Manual:Transcache table and the translation is 100% complete.
Manuál:Obsah MediaWiki schéma databáze Tabulka transcache
Verze MediaWiki:
1.8 – 1.31

Tabulka transcache se používá k ukládání obsahu, který byl převeden z jiných instalací MediaWiki, do mezipaměti. Podrobnosti o této funkci najdete v dokumentaci tabulky interwiki a $wgEnableScaryTranscluding konfigurační proměnné. (odstraněno od 1.32)

Pole

tc_url

Adresa URL obsahu uloženého v mezipaměti.

tc_contents

Obsah mezipaměti.

tc_time

Timestamp mezipaměti.

Přehled změn ve schématu tabulky

Verze 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    |       |
+-------------+----------------+------+-----+---------+-------+
Verze 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    |       |
+-------------+----------------+------+-----+---------+-------+
Verze 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    |       |
+-------------+--------------+------+-----+---------+-------+

Indexy

Verze 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      |         |               |
+------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+