Jump to content

Kézikönyv:querycachetwo táblázat

From mediawiki.org
This page is a translated version of the page Manual:Querycachetwo table and the translation is 94% complete.
Kézikönyv:Tartalom MediaWiki-adatbázis elrendezése querycachetwo táblázat
MediaWiki-verzió:
1.9

The querycachetwo table is a table used for caching expensive grouped queries that need two links (for example double-redirects).

Mezők

qcc_type

Kulcsnév, általában a speciális lap alapneve.

qcc_value

Valamilyen tárolt érték. Méretek, mennyiségek…

qcc_namespace

A cél névtere. A qcc_title változóval együtt használatos.

qcc_title

A cél címe. A qcc_namespace változóval együtt használatos.

qcc_namespacetwo

A cél névtere2. A qcc_titletwo változóval együtt használatos.

qcc_titletwo

A cél címe2. A qcc_namespacetwo változóval együtt használatos.

Séma összefoglalója

MediaWiki-verzió:
1.11

DESCRIBE querycachetwo;

+------------------+------------------+------+-----+---------+-------+
| Field            | Type             | Null | Key | Default | Extra |
+------------------+------------------+------+-----+---------+-------+
| qcc_type         | varbinary(32)    | NO   | MUL | NULL    |       |
| qcc_value        | int(10) unsigned | NO   |     | 0       |       |
| qcc_namespace    | int(11)          | NO   |     | 0       |       |
| qcc_title        | varbinary(255)   | NO   |     |         |       |
| qcc_namespacetwo | int(11)          | NO   |     | 0       |       |
| qcc_titletwo     | varbinary(255)   | NO   |     |         |       |
+------------------+------------------+------+-----+---------+-------+
MediaWiki-verzió:
1.10

DESCRIBE querycachetwo;

+------------------+------------------+------+-----+---------+-------+
| Field            | Type             | Null | Key | Default | Extra |
+------------------+------------------+------+-----+---------+-------+
| qcc_type         | varbinary(32)    | NO   | MUL | NULL    |       |
| qcc_value        | int(10) unsigned | NO   |     | 0       |       |
| qcc_namespace    | int(11)          | NO   |     | 0       |       |
| qcc_title        | char(255) binary | NO   |     | NULL    |       |
| qcc_namespacetwo | int(11)          | NO   |     | 0       |       |
| qcc_titletwo     | char(255) binary | NO   |     | NULL    |       |
+------------------+------------------+------+-----+---------+-------+
MediaWiki-verzió:
1.9

DESCRIBE querycachetwo;

+------------------+------------------+------+-----+---------+-------+
| Field            | Type             | Null | Key | Default | Extra |
+------------------+------------------+------+-----+---------+-------+
| qcc_type         | char(32)         | NO   | MUL | NULL    |       |
| qcc_value        | int(5) unsigned  | NO   |     | 0       |       |
| qcc_namespace    | int(11)          | NO   |     | 0       |       |
| qcc_title        | char(255) binary | NO   |     | NULL    |       |
| qcc_namespacetwo | int(11)          | NO   |     | 0       |       |
| qcc_titletwo     | char(255) binary | NO   |     | NULL    |       |
+------------------+------------------+------+-----+---------+-------+

Indexek

MediaWiki-verzió:
1.9

SHOW INDEX IN querycachetwo;

+---------------+------------+--------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table         | Non_unique | Key_name     | Seq_in_index | Column_name      | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+---------------+------------+--------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| querycachetwo |          1 | qcc_type     |            1 | qcc_type         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_type     |            2 | qcc_value        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_title    |            1 | qcc_type         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_title    |            2 | qcc_namespace    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_title    |            3 | qcc_title        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_titletwo |            1 | qcc_type         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_titletwo |            2 | qcc_namespacetwo | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| querycachetwo |          1 | qcc_titletwo |            3 | qcc_titletwo     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+---------------+------------+--------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+