Manuel:table tag_summary

This page is a translated version of the page Manual:Tag summary table and the translation is 100% complete.
Manuel:Contenu Schéma de base de données MédiaWiki table tag_summary
Versions de MediaWiki :
1.15 – 1.32

La table tag_summary est utilisée pour tirer une LISTe de balises simplement sans GROUP_CONCAT. Voir aussi la table change_tag . Pour le contexte, voir l'annonce Dépréciation de la table tag_summary

Champs

ts_id

Version de MediaWiki :
1.28

Clé primaire.

ts_rc_id

rc_id de la modification.

ts_log_id

log_id de la modification.

ts_rev_id

rev_id de la modification.

ts_tags

Liste de balises séparées par des virgules.

Résumé du schéma

Versions de MediaWiki :
1.30 – 1.32

DESCRIBE tag_summary;

+-----------+------------------+------+-----+---------+----------------+
| Field     | Type             | Null | Key | Default | Extra          |
+-----------+------------------+------+-----+---------+----------------+
| ts_id     | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
| ts_rc_id  | int(11)          | YES  | UNI | NULL    |                |
| ts_log_id | int(10) unsigned | YES  | UNI | NULL    |                |
| ts_rev_id | int(10) unsigned | YES  | UNI | NULL    |                |
| ts_tags   | blob             | NO   |     | NULL    |                |
+-----------+------------------+------+-----+---------+----------------+
Versions de MediaWiki :
1.28 – 1.29

DESCRIBE tag_summary;

+-----------+------------------+------+-----+---------+----------------+
| Field     | Type             | Null | Key | Default | Extra          |
+-----------+------------------+------+-----+---------+----------------+
| ts_id     | int(10) unsigned | NO   | PRI | NULL    | AUTO_INCREMENT |
| ts_rc_id  | int(11)          | YES  | UNI | NULL    |                |
| ts_log_id | int(11)          | YES  | UNI | NULL    |                |
| ts_rev_id | int(11)          | YES  | UNI | NULL    |                |
| ts_tags   | blob             | NO   |     | NULL    |                |
+-----------+------------------+------+-----+---------+----------------+
Versions de MediaWiki :
1.15 – 1.27

DESCRIBE tag_summary;

+-----------+---------+------+-----+---------+-------+
| Field     | Type    | Null | Key | Default | Extra |
+-----------+---------+------+-----+---------+-------+
| ts_rc_id  | int(11) | YES  | UNI | NULL    |       | 
| ts_log_id | int(11) | YES  | UNI | NULL    |       | 
| ts_rev_id | int(11) | YES  | UNI | NULL    |       | 
| ts_tags   | blob    | NO   |     | NULL    |       | 
+-----------+---------+------+-----+---------+-------+

Les index

Versions de MediaWiki :
1.28 – 1.32

SHOW INDEX IN tag_summary;

+-------------+------------+--------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table       | Non_unique | Key_name           | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-------------+------------+--------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| tag_summary |          0 | PRIMARY            |            1 | ts_id       | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| tag_summary |          0 | tag_summary_rc_id  |            1 | ts_rc_id    | A         |           0 |     NULL | NULL   | YES  | BTREE      |         |               |
| tag_summary |          0 | tag_summary_log_id |            1 | ts_log_id   | A         |           0 |     NULL | NULL   | YES  | BTREE      |         |               |
| tag_summary |          0 | tag_summary_rev_id |            1 | ts_rev_id   | A         |           0 |     NULL | NULL   | YES  | BTREE      |         |               |
+-------------+------------+--------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+