Manual:Revision comment temp table/en

The revision_comment_temp table is a temporary table creating a relation between each row of the revision table and a row of the comment table. It has been created to avoid blocking on an alter of the revision table. On large wikis like the English Wikipedia, altering the revision table is a months-long process. This table is being created to avoid such an alter, and will be merged back into the revision table in the future.

This table was introduced in. See also the table.

revcomment_rev
Key to

revcomment_comment_id
Key to

Schema summary
+---+-+--+-+-+---+ +---+-+--+-+-+---+ +---+-+--+-+-+---+
 * Field                | Type                | Null | Key | Default | Extra |
 * revcomment_rev       | int(10) unsigned    | NO   | PRI | NULL    |       |
 * revcomment_comment_id | bigint(20) unsigned | NO  | PRI | NULL    |       |