Handbuch:user_autocreate_serial-Tabelle

This page is a translated version of the page Manual:User autocreate serial table and the translation is 56% complete.
Handbuch:Inhaltsübersicht MediaWiki-Datenbank-Layout user_autocreate_serial-Tabelle
MediaWiki Version:
1.39
Gerrit change 767617

The user_autocreate_serial tables is for sequential name generation for auto-created temporary users.

Felder

uas_shard

MediaWiki Version:
1.39

The segment of ID space, ID mod N, referred to by this row.

uas_value

MediaWiki Version:
1.39

Der maximal zugeteilte ID-Wert.

uas_year

MediaWiki Version:
1.42

The year to which this row belongs, if the temporary account format includes the year. For IDs that are not combined with a year, this is 0.

Schematische Übersicht

MediaWiki Version:
1.42

DESCRIBE user_autocreate_serial;

+-----------+----------------------+------+-----+---------+-------+
| Field     | Type                 | Null | Key | Default | Extra |
+-----------+----------------------+------+-----+---------+-------+
| uas_shard | int(10) unsigned     | NO   | PRI | NULL    |       |
| uas_value | int(10) unsigned     | NO   |     | NULL    |       |
| uas_year  | smallint(5) unsigned | NO   | PRI | NULL    |       |
+-----------+----------------------+------+-----+---------+-------+
MediaWiki Versions:
1.39 – 1.41

DESCRIBE user_autocreate_serial;

+-----------+------------------+------+-----+---------+-------+
| Field     | Type             | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+-------+
| uas_shard | int(10) unsigned | NO   | PRI | NULL    |       |
| uas_value | int(10) unsigned | NO   |     | NULL    |       |
+-----------+------------------+------+-----+---------+-------+

Indexe

MediaWiki Version:
1.42

SHOW INDEX IN user_autocreate_serial;

+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| Table                  | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Ignored |
+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| user_autocreate_serial |          0 | PRIMARY  |            1 | uas_shard   | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| user_autocreate_serial |          0 | PRIMARY  |            2 | uas_year    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+