Jump to content

Manual:linkscc table

From mediawiki.org
↑ Manual:Contents MediaWiki database layout linkscc table
MediaWiki version:
1.4

The linkscc table cached link data for rendering.

Schema summary

[edit]
MediaWiki versions:
1.3 – 1.4

DESCRIBE linkscc;

+--------------+------------------+------+-----+---------+-------+
| Field        | Type             | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+-------+
| lcc_pageid   | int(10) unsigned | NO   | PRI | NULL    |       |
| lcc_cacheobj | mediumblob       | NO   |     | NULL    |       |
+--------------+------------------+------+-----+---------+-------+
MediaWiki versions:
1.1 – 1.2

DESCRIBE linkscc;

+--------------+------------------+------+-----+---------+-------+
| Field        | Type             | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+-------+
| lcc_pageid   | int(10) unsigned | NO   | PRI | NULL    |       |
| lcc_title    | varchar(255)     | NO   | UNI | NULL    |       |
| lcc_cacheobj | mediumblob       | NO   |     | NULL    |       |
+--------------+------------------+------+-----+---------+-------+

Indexes

[edit]
MediaWiki versions:
1.3 – 1.4

SHOW INDEX IN linkscc;

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