Jump to content

Erweiterung:CheckUser/cuci_user-Tabelle

From mediawiki.org
This page is a translated version of the page Extension:CheckUser/cuci user table and the translation is 31% complete.
MediaWiki Version:
1.43

Eine Tabelle für die Erweiterung CheckUser , die verwendet wird, um die Wikis zu finden, an denen ein gegebenes Konto bearbeitet hat.

This table is in a set of tables that begin with the cuci_ prefix which are used to index the CheckUser result tables on multiple wikis. For single wiki installs, these tables are unused but are still created as there is not an easy way to determine if a wiki is in a multi-wiki install.

Felder

ciu_central_id

The central ID associated with this row. Used in the composite primary key.

ciu_ciwm_id

The wiki ID associated with this row. The ID for a row in the cuci_wiki_map table. Used in the composite primary key.

ciu_timestamp

The most recent timestamp for actions associated with this central ID and IP.

Schema

DESCRIBE cuci_user;

+----------------+----------------------+------+-----+---------+-------+
| Field          | Type                 | Null | Key | Default | Extra |
+----------------+----------------------+------+-----+---------+-------+
| ciu_central_id | int(10) unsigned     | NO   | PRI | NULL    |       |
| ciu_ciwm_id    | smallint(5) unsigned | NO   | PRI | NULL    |       |
| ciu_timestamp  | binary(14)           | NO   | MUL | NULL    |       |
+----------------+----------------------+------+-----+---------+-------+

Indexes

SHOW INDEX IN cuci_user;

+-----------+------------+--------------------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| Table     | Non_unique | Key_name                 | Seq_in_index | Column_name    | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Ignored |
+-----------+------------+--------------------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| cuci_user |          0 | PRIMARY                  |            1 | ciu_central_id | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| cuci_user |          0 | PRIMARY                  |            2 | ciu_ciwm_id    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| cuci_user |          1 | ciu_timestamp            |            1 | ciu_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| cuci_user |          1 | ciu_central_id_timestamp |            1 | ciu_central_id | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| cuci_user |          1 | ciu_central_id_timestamp |            2 | ciu_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
+-----------+------------+--------------------------+--------------+----------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+