Jump to content

Manual:最近更改表

From mediawiki.org
This page is a translated version of the page Manual:Recentchanges table and the translation is 24% complete.
Outdated translations are marked like this.
手册:索引 MediaWiki数据库布局 recentchanges表
MediaWiki版本:
1.1

recentchanges表包含最近对此维基做出更改的信息(但在$wgRCMaxAge 之前的更改除外,见下文)。 此表的内容生成自page revision 两张表,并也可以使用维护脚本rebuildrecentchanges.php 重新生成。 最近更改表又会被用来生成最近更改页面相关更改页面监视列表以及新页面列表,同时这张表里还包含其他表中找不到的信息,例如编辑者的IP地址(取决于维基的配置)。 最近更改表和$revision表非常相似,而后者是用来生成页面历史用户贡献列表的。 不同之处包括:

  • 最近更改表中还含有页面上一个版本的信息
  • 最近更改表还会记录操作日志,例如页面移动和删除
  • 最近更改表中的项目会被定期清除,而revision表则会长期或永久保存。
  • 如上所述,导入一个页面的修订版本不止添加一个带有导入日期的项到revision表,还添加一份带有原始日期的版本。

当页面被移动时,它们的RC记录(特别是rc_namespace rc_title 不会随之改变。

字段

rc_id

MediaWiki版本:
1.5

这是此表的主键。 (在版本1.5引入)

rc_timestamp

记录更改的时间戳。 对应rev_timestamp (如果是日志操作,则对应log_timestamp )。

rc_cur_time

MediaWiki版本:
1.23

已被弃用,但是为了向后兼容而保留。 (在版本1.24wmf6移除)

rc_user

这等于进行此更改的用户的user_id 。 对于匿名编辑、初始化脚本和某些批量导入,此字段的值为0。 对应rev_user (如果是日志操作,则对应log_user )。

如果您使用rc_user = 0并选择匿名编辑,请记住还需要设置rc_type < 5! 仅在使用Wikibase 的wiki上有用。 在其他wiki上,机器人编辑或导入可能比您预期的更相关。

(在1.31版本中已弃用); 已弃用,被rc_actor替换。

rc_user_text

This field holds the text of the username for the user that made the change, or the IP address if the change was made by an unregistered user. Corresponds to rev_user_text (and log_user_text , in the case of log actions).

(在1.31版本中已弃用); 已弃用,被rc_actor替换。

rc_actor

MediaWiki版本:
1.31
Gerrit change 380669

This is a foreign key to actor_id in the actor table. Corresponds to revactor_actor (or log_actor in the case of log actions).

rc_namespace

The namespace number of the page that was subject to change. 如果是日志操作则对应log_namespace

If this row describes a logged action, this field has a value of -1 (NS_SPECIAL), as it records an entry for a Special:Log subpage.

rc_title

The name of the page that was subject to change, with the namespace stripped. This field stores information in text form. Corresponds to log_title, in the case of log actions.

rc_comment

MediaWiki版本:
1.32

This field holds a summary of the change (editor's comment on revision). This text is shown in the recent changes, related changes, watchlists, and, in the case of page creation, the list of new pages. (The revision table contains a copy (rev_comment) used for the history and user contributions pages. In the case of log actions, a copy is also in log_comment.) It is rendered in a subset of wiki markup.

(在1.30版本中已弃用); rc_comment_id and the comment table should be used instead!

rc_comment_id

MediaWiki版本:
1.30

This is a foreign key to comment_id in the comment table.

rc_minor

Records whether the user marked the change as 'minor'. If the value for this field is 1, then the change was declared as 'minor'; it is 0 otherwise. Many automated changes are marked as minor. Corresponds to rev_minor_edit.

rc_bot

Records whether the change was made by a 'bot account'. If the value for this field is 1, then the change was made by a 'bot' (i.e. a user with the 'bot' permission); it is 0 otherwise. It is possible for bots to avoid setting this flag on their change by including the parameter "bot=0" in the form submission. Also, users with the 'rollback' and 'markbotedits' permissions may retroactively mark their rollbacks and the edits being rolled back as bot edits by including the parameter "bot=1" in the rollback link.

rc_new

If the value for this field is 1, then this edit created a page; it is 0 otherwise.

rc_cur_id

This field links to the page_id key in the page table, which stores the metadata of the page. Corresponds to log_page, in the case of log actions.

rc_this_oldid

Links to the rev_id key of the new page revision (after the edit occurs) in the revision table.

rc_last_oldid

Links to rev_parent_id, i.e. the rev_id of the revision prior to this edit, which included the previous content of the page.

rc_type

MediaWiki版本:
1.2

This field stores the type of modification that was made to a page:

  • 0 (RC_EDIT) – edit of existing page
  • 1 (RC_NEW) – new page
  • 2 (RC_MOVE) – move (obsolete)
  • 3 (RC_LOG) – log action (added in MediaWiki 1.2)
  • 4 (RC_MOVE_OVER_REDIRECT) – move over redirect (obsolete)
  • 5 (RC_EXTERNAL) – An external recent change. Primarily used by Wikidata
  • 6 (RC_CATEGORIZE) – category membership change, see 手册:CategoryMembershipChanges (added in MediaWiki 1.27, Gerrit change 239060)

Extensions might use other types, e.g. StructuredDiscussions uses 142.

rc_source

MediaWiki版本:
1.23

The source of the change entry (replaces rc_type).

Allows specifying the type of change and for more flexibly specifying different types of RecentChange entries. For example, 'mw.edit', 'mw.log', 'mw.new' for core RecentChange types and 'wb' and 'flow' provided by extensions.

rc_moved_to_ns

MediaWiki版本:
1.2 – 1.20

This field stored the namespace of a page whenever it was moved. As of MediaWiki 1.8, it remained in the table for backwards compatibility only, and always has the value 0. It was removed entirely in MediaWiki 1.21.

rc_moved_to_title

MediaWiki版本:
1.2 – 1.20

This field stored the new page title of a page whenever it was moved. As of MediaWiki 1.8, it remained in the table for backwards compatibility only, and is always a null string. It was removed entirely in MediaWiki 1.21.

rc_patrolled

MediaWiki版本:
1.4

If the Recent Changes Patrol option ($wgUseRCPatrol ) is enabled, users may mark changes as having been reviewed to remove a warning flag on the RC list. A value of 0 indicates the change is unpatrolled, 1 indicates the change has been reviewed. (在版本1.4引入)

MediaWiki版本:
1.31

rc_patrolled now has three states: "0" for unpatrolled, "1" for manually patrolled, and "2" for autopatrolled actions.

rc_ip

MediaWiki版本:
1.3

This field stores the IP address of the user specified on rc_user if $wgPutIPinRC is enabled. If $wgPutIPinRC is false, then the field will contain an empty string.

In some old MediaWiki versions this field was used to generate CheckUser reports, but it is now considered obsolete as CheckUser stores data in a separate cu_changes table. When the extension is set up, data from this field may be copied over a single time.

自动封禁 use it to automatically block the more recent IP used by a user who is blocked.

rc_old_len

MediaWiki版本:
1.9

This field stores the size, in bytes, of previous revision's text. This field is used to generate the added and removed characters feature in recent changes, related changes and watchlists.

rc_new_len

MediaWiki版本:
1.9

This field stores the size, in bytes, of the current revision's text. This field is used to generate the added and removed characters feature in recent changes, related changes and watchlists. Corresponds to rev_len .

rc_deleted

MediaWiki版本:
1.10

This field stores a value for this particular revision's visibility within the wiki. It was created to accommodate upcoming revisions to the deletion system. The field is analogous to rev_deleted or log_deleted .

rc_logid

MediaWiki版本:
1.10

This field is a foreign key to the logging table, which links to log_id if this row corresponds to a log entry. (在版本1.10引入)

rc_log_type

MediaWiki版本:
1.10

If a log action is referenced in this row, this field stores the type of log action that was performed, and which is referenced in this row. Typical values are block, delete, import, makebot, move, newusers, protect, renameuser, rights, upload. This field is comparable to log_type .

rc_log_action

MediaWiki版本:
1.10

If a log action is referenced in this row, this field stores the type of log action that was performed, and which is referenced in this row. This field is comparable to log_action .

rc_params

MediaWiki版本:
1.10

This field will be a mirror of log_params , following the log_params text rewrite. (在版本1.10引入)

Schema summary

MediaWiki版本:
1.43

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | binary(14)          | NO   | MUL | NULL    |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | NULL    |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | NULL    |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.36 – 1.42

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(10) unsigned    | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | binary(14)          | NO   | MUL | NULL    |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | NULL    |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | NULL    |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.34 – 1.35

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | NULL    |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | NULL    |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.33

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_user       | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text  | varbinary(255)      | NO   | MUL |         |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | 0       |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | NULL    |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.32

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_user       | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text  | varbinary(255)      | NO   | MUL |         |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | 0       |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment    | varbinary(767)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | 0       |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.31

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_user       | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text  | varbinary(255)      | NO   | MUL |         |                |
| rc_actor      | bigint(20) unsigned | NO   | MUL | 0       |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment    | varbinary(767)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | 0       |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.30

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_user       | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text  | varbinary(255)      | NO   | MUL | NULL    |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment    | varbinary(767)      | NO   |     |         |                |
| rc_comment_id | bigint(20) unsigned | NO   |     | 0       |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.25 – 1.29

DESCRIBE recentchanges;

+---------------+---------------------+------+-----+---------+----------------+
| Field         | Type                | Null | Key | Default | Extra          |
+---------------+---------------------+------+-----+---------+----------------+
| rc_id         | int(11)             | NO   | PRI | NULL    | auto_increment |
| rc_timestamp  | varbinary(14)       | NO   | MUL |         |                |
| rc_user       | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text  | varbinary(255)      | NO   | MUL | NULL    |                |
| rc_namespace  | int(11)             | NO   | MUL | 0       |                |
| rc_title      | varbinary(255)      | NO   |     |         |                |
| rc_comment    | varbinary(767)      | NO   |     |         |                |
| rc_minor      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot        | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new        | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id     | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid | int(10) unsigned    | NO   |     | 0       |                |
| rc_type       | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source     | varbinary(16)       | NO   |     |         |                |
| rc_patrolled  | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip         | varbinary(40)       | NO   | MUL |         |                |
| rc_old_len    | int(11)             | YES  |     | NULL    |                |
| rc_new_len    | int(11)             | YES  |     | NULL    |                |
| rc_deleted    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_logid      | int(10) unsigned    | NO   |     | 0       |                |
| rc_log_type   | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action | varbinary(255)      | YES  |     | NULL    |                |
| rc_params     | blob                | YES  |     | NULL    |                |
+---------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.24

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varbinary(14)       | NO   | MUL | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source         | varchar(16) binary  | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | varbinary(40)       | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
| rc_deleted        | tinyint(3) unsigned | NO   |     | NULL    |                |
| rc_logid          | int(10) unsigned    | NO   |     | NULL    |                |
| rc_log_type       | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action     | varbinary(255)      | YES  |     | NULL    |                |
| rc_params         | blob                | YES  |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.23

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varbinary(14)       | NO   | MUL | NULL    |                |
| rc_cur_time       | varbinary(14)       | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_source         | varchar(16) binary  | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | varbinary(40)       | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
| rc_deleted        | tinyint(3) unsigned | NO   |     | NULL    |                |
| rc_logid          | int(10) unsigned    | NO   |     | NULL    |                |
| rc_log_type       | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action     | varbinary(255)      | YES  |     | NULL    |                |
| rc_params         | blob                | YES  |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.21 – 1.22

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varbinary(14)       | NO   | MUL | NULL    |                |
| rc_cur_time       | varbinary(14)       | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | varbinary(40)       | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
| rc_deleted        | tinyint(3) unsigned | NO   |     | NULL    |                |
| rc_logid          | int(10) unsigned    | NO   |     | NULL    |                |
| rc_log_type       | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action     | varbinary(255)      | YES  |     | NULL    |                |
| rc_params         | blob                | YES  |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.11 – 1.20

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varbinary(14)       | NO   | MUL | NULL    |                |
| rc_cur_time       | varbinary(14)       | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | varbinary(40)       | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
| rc_deleted        | tinyint(3) unsigned | NO   |     | NULL    |                |
| rc_logid          | int(10) unsigned    | NO   |     | NULL    |                |
| rc_log_type       | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action     | varbinary(255)      | YES  |     | NULL    |                |
| rc_params         | blob                | YES  |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.10

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varbinary(14)       | NO   | MUL | NULL    |                |
| rc_cur_time       | varbinary(14)       | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | varbinary(40)       | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
| rc_deleted        | tinyint(3) unsigned | NO   |     | NULL    |                |
| rc_logid          | int(10) unsigned    | NO   |     | NULL    |                |
| rc_log_type       | varbinary(255)      | YES  |     | NULL    |                |
| rc_log_action     | varbinary(255)      | YES  |     | NULL    |                |
| rc_params         | blob                | NO   |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.9

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |                |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | char(15)            | NO   | MUL | NULL    |                |
| rc_old_len        | int(10)             | YES  |     | NULL    |                |
| rc_new_len        | int(10)             | YES  |     | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.5 – 1.8

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |                |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | int(11)             | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |                |
| rc_patrolled      | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_ip             | char(15)            | NO   | MUL | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.4

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+----------------+
| Field             | Type                | Null | Key | Default | Extra          |
+-------------------+---------------------+------+-----+---------+----------------+
| rc_id             | int(8)              | NO   | PRI | NULL    | AUTO_INCREMENT |
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |                |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |                |
| rc_user           | int(10) unsigned    | NO   |     | 0       |                |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |                |
| rc_namespace      | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_title          | varchar(255) binary | NO   |     | NULL    |                |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |                |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |                |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |                |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |                |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |                |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |                |
| rc_ip             | char(15)            | NO   | MUL | NULL    |                |
+-------------------+---------------------+------+-----+---------+----------------+
MediaWiki版本:
1.3

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+-------+
| Field             | Type                | Null | Key | Default | Extra |
+-------------------+---------------------+------+-----+---------+-------+
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |       |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |       |
| rc_user           | int(10) unsigned    | NO   |     | 0       |       |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |       |
| rc_namespace      | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_title          | varchar(255) binary | NO   |     | NULL    |       |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |       |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |       |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |       |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |       |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |       |
| rc_ip             | char(15)            | NO   | MUL | NULL    |       |
+-------------------+---------------------+------+-----+---------+-------+
MediaWiki版本:
1.2

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+-------+
| Field             | Type                | Null | Key | Default | Extra |
+-------------------+---------------------+------+-----+---------+-------+
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |       |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |       |
| rc_user           | int(10) unsigned    | NO   |     | 0       |       |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |       |
| rc_namespace      | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_title          | varchar(255) binary | NO   |     | NULL    |       |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |       |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |       |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |       |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |       |
| rc_type           | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_moved_to_ns    | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_moved_to_title | varchar(255) binary | NO   |     | NULL    |       |
+-------------------+---------------------+------+-----+---------+-------+
MediaWiki版本:
1.1

DESCRIBE recentchanges;

+-------------------+---------------------+------+-----+---------+-------+
| Field             | Type                | Null | Key | Default | Extra |
+-------------------+---------------------+------+-----+---------+-------+
| rc_timestamp      | varchar(14) binary  | NO   | MUL | NULL    |       |
| rc_cur_time       | varchar(14) binary  | NO   |     | NULL    |       |
| rc_user           | int(10) unsigned    | NO   |     | 0       |       |
| rc_user_text      | varchar(255) binary | NO   |     | NULL    |       |
| rc_namespace      | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_title          | varchar(255) binary | NO   |     | NULL    |       |
| rc_comment        | varchar(255) binary | NO   |     | NULL    |       |
| rc_minor          | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_bot            | tinyint(3) unsigned | NO   |     | 0       |       |
| rc_new            | tinyint(3) unsigned | NO   | MUL | 0       |       |
| rc_cur_id         | int(10) unsigned    | NO   | MUL | 0       |       |
| rc_this_oldid     | int(10) unsigned    | NO   |     | 0       |       |
| rc_last_oldid     | int(10) unsigned    | NO   |     | 0       |       |
+-------------------+---------------------+------+-----+---------+-------+

Indexes

MediaWiki版本:
1.36

SHOW INDEX IN recentchanges;

+---------------+------------+----------------------------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table         | Non_unique | Key_name                         | Seq_in_index | Column_name   | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+---------------+------------+----------------------------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| recentchanges |          0 | PRIMARY                          |            1 | rc_id         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_timestamp                     |            1 | rc_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_namespace_title_timestamp     |            1 | rc_namespace  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_namespace_title_timestamp     |            2 | rc_title      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_namespace_title_timestamp     |            3 | rc_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_cur_id                        |            1 | rc_cur_id     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_new_name_timestamp            |            1 | rc_new        | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_new_name_timestamp            |            2 | rc_namespace  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_new_name_timestamp            |            3 | rc_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_ip                            |            1 | rc_ip         | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_ns_actor                      |            1 | rc_namespace  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_ns_actor                      |            2 | rc_actor      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_actor                         |            1 | rc_actor      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_actor                         |            2 | rc_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_name_type_patrolled_timestamp |            1 | rc_namespace  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_name_type_patrolled_timestamp |            2 | rc_type       | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_name_type_patrolled_timestamp |            3 | rc_patrolled  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_name_type_patrolled_timestamp |            4 | rc_timestamp  | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| recentchanges |          1 | rc_this_oldid                    |            1 | rc_this_oldid | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+---------------+------------+----------------------------------+--------------+---------------+-----------+-------------+----------+--------+------+------------+---------+---------------+

参见