Jump to content

手册:querycache_info表

From mediawiki.org
This page is a translated version of the page Manual:Querycache info table and the translation is 71% complete.
手册:索引 MediaWiki数据库布局 querycache_info表
MediaWiki版本:
1.7

The querycache_info table contains details of updates to cached special pages.

字段

qci_type

对应qc_type

qci_timestamp

上次更新的时间戳

架构摘要

MediaWiki版本:
1.10

DESCRIBE querycache_info;

+---------------+---------------+------+-----+----------------+-------+
| Field         | Type          | Null | Key | Default        | Extra |
+---------------+---------------+------+-----+----------------+-------+
| qci_type      | varbinary(32) | NO   | PRI |                |       |
| qci_timestamp | binary(14)    | NO   |     | 19700101000000 |       |
+---------------+---------------+------+-----+----------------+-------+
MediaWiki版本:
1.7 – 1.9

DESCRIBE querycache_info;

+---------------+-------------+------+-----+----------------+-------+
| Field         | Type        | Null | Key | Default        | Extra |
+---------------+-------------+------+-----+----------------+-------+
| qci_type      | varchar(32) | NO   | PRI | NULL           |       |
| qci_timestamp | char(14)    | NO   |     | 19700101000000 |       |
+---------------+-------------+------+-----+----------------+-------+

Indexes

MediaWiki版本:
1.30

SHOW INDEX IN querycache_info;

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